recent_actions
Pack: codeforces · Endpoint: https://gateway.pipeworx.io/codeforces/mcp
Codeforces competitive-programming site — the global recent-actions feed, the newest blog entries and comments posted anywhere on Codeforces. Each action returns its timestamp plus the blog entry (title, author handle, rating) or comment text it refers to. Answers what the Codeforces community is posting and discussing right now.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
max_count | number | no | 1-100 (default 30) |
Example call
Arguments
{
"max_count": 30
}
curl
curl -X POST https://gateway.pipeworx.io/codeforces/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"recent_actions","arguments":{"max_count":30}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('recent_actions', {
"max_count": 30
});
Response shape
Always returns: status
| Field | Type | Description |
|---|---|---|
status | string | Response status (OK or FAILED) |
result | array | Array of recent action objects |
comment | string | Error comment (if status is FAILED) |
Full JSON Schema
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Response status (OK or FAILED)"
},
"result": {
"type": "array",
"description": "Array of recent action objects",
"items": {
"type": "object",
"properties": {
"contestId": {
"type": "number",
"description": "Contest ID"
},
"handle": {
"type": "string",
"description": "User handle"
},
"rating": {
"type": "number",
"description": "User rating"
},
"ratingUpdateTimeSeconds": {
"type": "number",
"description": "Unix timestamp of action"
},
"newsTitle": {
"type": "string",
"description": "News title or action description"
},
"text": {
"type": "string",
"description": "Action text"
},
"blogEntryId": {
"type": "number",
"description": "Blog entry ID (if applicable)"
}
}
}
},
"comment": {
"type": "string",
"description": "Error comment (if status is FAILED)"
}
},
"required": [
"status"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"codeforces": {
"url": "https://gateway.pipeworx.io/codeforces/mcp"
}
}
}
See Getting Started for client-specific install steps.