Codeforces

live ProgrammingCompetitive

Competitive-programming users, contests, problems, submissions. Keyless.

8 tools
0ms auth
free tier 50 calls/day

Tools

user required: handles

User profile(s).

Parameters
Name Type Description
handles req array
Try it
user_rating required: handle

Rating history.

Parameters
Name Type Description
handle req string
Try it
user_status required: handle

Recent submissions.

Parameters
Name Type Description
handle req string
from opt number
count opt number
Try it
contest_list

All contests (regular or gym).

Parameters
Name Type Description
gym opt boolean
Try it
contest_standings required: contest_id

Standings + problems for one contest.

Parameters
Name Type Description
contest_id req number
handles opt array
from opt number
count opt number
Try it
problemset

Problemset by tag.

Parameters
Name Type Description
tags opt array
problemset_name opt string
Try it
recent_actions

Global recent-actions feed.

Parameters
Name Type Description
max_count opt number
Try it
blog_entry_view required: blog_id

Full blog entry by id.

Parameters
Name Type Description
blog_id req number
Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/codeforces/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/codeforces/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"user","arguments":{"handles": "example"}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("user", {"handles":"example"});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("competitive-programming users, contests, problems, submissions");