user
Pack: codestats · Endpoint: https://gateway.pipeworx.io/codestats/mcp
Public profile — total XP, per-language XP, per-machine XP.
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":"user","arguments":{}}}'
Response shape
| Field | Type | Description |
|---|---|---|
user | object | |
languages | array | XP breakdown by programming language |
machines | array | XP breakdown by machine |
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"
}
}
},
"languages": {
"type": "array",
"description": "XP breakdown by programming language",
"items": {
"type": "object",
"properties": {
"language": {
"type": "string",
"description": "Programming language name"
},
"xp": {
"type": "integer",
"description": "XP earned in this language"
}
}
}
},
"machines": {
"type": "array",
"description": "XP breakdown by machine",
"items": {
"type": "object",
"properties": {
"machine_name": {
"type": "string",
"description": "Name of the machine"
},
"xp": {
"type": "integer",
"description": "XP earned on this machine"
}
}
}
}
}
}
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.