user

Pack: codestats · Endpoint: https://gateway.pipeworx.io/codestats/mcp

Public profile — total XP, per-language XP, per-machine XP.

Parameters

NameTypeRequiredDescription
usernamestringyes

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

FieldTypeDescription
userobject
languagesarrayXP breakdown by programming language
machinesarrayXP 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.

Regenerated from source · build May 21, 2026