recent

Pack: codestats · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/recent for the schema, then POST the same URL with its arguments for the data.

Code::Stats (codestats.net) — the XP one Code::Stats user has earned in roughly the last 12 hours, broken out by programming language and by machine, alongside their lifetime profile totals. Answers how much a Code::Stats user has coded today and in which languages.

Parameters

NameTypeRequiredDescription
usernamestringyes

Example call

Arguments

{
  "username": "Nicd"
}

curl

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":{"username":"Nicd"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('recent', {
  "username": "Nicd"
});

Response shape

FieldTypeDescription
userobject
recent_activityarrayRecent 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 — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the codestats pack
{
  "mcpServers": {
    "codestats": {
      "url": "https://gateway.pipeworx.io/codestats/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026