Skip to main content
Glama
CodeDreamer06

MonkeyType MCP Server

get_stats

Retrieve typing statistics for a user from MonkeyType, including test data, accuracy metrics, and performance insights.

Instructions

Get user's typing statistics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler for the 'get_stats' tool. Calls the MonkeyType API endpoint '/users/stats' with GET method using the provided API key and returns the JSON response as text content.
    case "get_stats": { const result = await callMonkeyTypeApi('/users/stats', 'GET', apiKey); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }
  • Zod schema definition for 'get_stats' tool input, extending BaseApiSchema with no additional parameters (empty object).
    const GetStatsSchema = BaseApiSchema.extend({});
  • server.js:178-182 (registration)
    Registration of the 'get_stats' tool in the tools list provided to ListToolsRequest, including name, description, and input schema.
    { name: "get_stats", description: "Get user's typing statistics", inputSchema: zodToJsonSchema(GetStatsSchema), },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CodeDreamer06/MonkeytypeMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server