recent
Pack: codestats · Endpoint: https://gateway.pipeworx.io/codestats/mcp
Recent coding activity (~last 12 hours) for a user.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
username | string | yes |
Example call
curl -X POST https://gateway.pipeworx.io/codestats/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"recent","arguments":{}}}'
Response shape
| Field | Type | Description |
|---|---|---|
user | object | |
recent_activity | array | Recent coding activity from last ~12 hours |
Full JSON Schema
{
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"username": {
"type": "string",
"description": "Username of the Code::Stats user"
},
"total_xp": {
"type": "integer",
"description": "Total XP earned across all languages"
}
}
},
"recent_activity": {
"type": "array",
"description": "Recent coding activity from last ~12 hours",
"items": {
"type": "object",
"properties": {
"language": {
"type": "string",
"description": "Programming language used"
},
"xp": {
"type": "integer",
"description": "XP earned in this activity"
},
"timestamp": {
"type": "string",
"description": "ISO timestamp of the activity"
}
}
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"codestats": {
"url": "https://gateway.pipeworx.io/codestats/mcp"
}
}
}
See Getting Started for client-specific install steps.