Skip to content
MCP server

Monkeytype

Monkeytype profiles, results, streaks and leaderboards as 22 MCP tools

Runs locally

Monkeytype is an open-source MCP server for games and play. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API
Runs
Locally
What it can do
Can change data (1 tool)
Version
2.0.1

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add monkeytype-mcp --env MONKEYTYPE_API_KEY='<MONKEYTYPE_API_KEY>' -- npx -y monkeytype-mcp-server

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "monkeytype-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "monkeytype-mcp-server"
      ],
      "env": {
        "MONKEYTYPE_API_KEY": "<MONKEYTYPE_API_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "monkeytype-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "monkeytype-mcp-server"
      ],
      "env": {
        "MONKEYTYPE_API_KEY": "<MONKEYTYPE_API_KEY>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "monkeytype-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "monkeytype-mcp-server"
      ],
      "env": {
        "MONKEYTYPE_API_KEY": "<MONKEYTYPE_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "monkeytype-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "monkeytype-mcp-server"
      ],
      "env": {
        "MONKEYTYPE_API_KEY": "<MONKEYTYPE_API_KEY>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add monkeytype-mcp --env MONKEYTYPE_API_KEY='<MONKEYTYPE_API_KEY>' -- npx -y monkeytype-mcp-server

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.monkeytype-mcp]
command = "npx"
args = ["-y", "monkeytype-mcp-server"]
env = { MONKEYTYPE_API_KEY = "<MONKEYTYPE_API_KEY>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "monkeytype-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "monkeytype-mcp-server"
      ],
      "env": {
        "MONKEYTYPE_API_KEY": "<MONKEYTYPE_API_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "monkeytype-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "monkeytype-mcp-server"
          ],
          "env": {
            "MONKEYTYPE_API_KEY": "<MONKEYTYPE_API_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e MONKEYTYPE_API_KEY='<MONKEYTYPE_API_KEY>' monkeytype-mcp npx -- -y monkeytype-mcp-server

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "monkeytype-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "monkeytype-mcp-server"
          ],
          "env": {
            "MONKEYTYPE_API_KEY": "<MONKEYTYPE_API_KEY>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "monkeytype-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "monkeytype-mcp-server"
          ],
          "env": {
            "MONKEYTYPE_API_KEY": "<MONKEYTYPE_API_KEY>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "monkeytype-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "monkeytype-mcp-server"
          ],
          "env": {
            "MONKEYTYPE_API_KEY": "<MONKEYTYPE_API_KEY>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "monkeytype-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "monkeytype-mcp-server"
          ],
          "env": {
            "MONKEYTYPE_API_KEY": "<MONKEYTYPE_API_KEY>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "monkeytype-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "monkeytype-mcp-server"
          ],
          "env": {
            "MONKEYTYPE_API_KEY": "<MONKEYTYPE_API_KEY>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "monkeytype-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "monkeytype-mcp-server"
          ],
          "env": {
            "MONKEYTYPE_API_KEY": "<MONKEYTYPE_API_KEY>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "monkeytype-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "monkeytype-mcp-server"
          ],
          "env": {
            "MONKEYTYPE_API_KEY": "<MONKEYTYPE_API_KEY>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MONKEYTYPE_API_KEYApeKey for authenticated tools. Public tools work without it.
  • MONKEYTYPE_USERNAMEDefault Monkeytype username or uid for profile tools.

About Monkeytype

Typing-test history is awkward to analyse by hand, so this server wraps the official Monkeytype API and adds two composite tools that return a lot in one call. One gives a profile with lifetime stats, streak and latest result; the other averages your recent results, shows a per-mode breakdown and says whether you are improving.

Public tools such as profiles, global typing stats and the speed histogram need no key. Tools that read your own results, personal bests, tags, streaks or leaderboard rank need an ApeKey generated in your Monkeytype account, with scopes like results:read, users:read and leaderboards:read. Error responses are turned into short messages that name the missing scope.

It runs over stdio or Streamable HTTP, retries with backoff, honours Retry-After and caches static endpoints. Timestamps come back as Unix milliseconds, and each tool returns pretty-printed JSON. It suits typists who want trend questions answered in chat.

Tools this server provides (22)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 22 tools changes data; 1 name doesn't say.

From the server's own tool labels and tool names; not verified by us.

check_usernameName suggests: reads
Check whether a username is available
get_profileName suggests: reads
Fetch a profile
get_user_overviewName suggests: reads
Profile, lifetime stats, streak and last result in one call
get_statsName suggests: reads
Completed tests, started tests and total typing time
get_personal_bestsName suggests: reads
Personal bests for a mode
get_tagsName suggests: reads
Your result tags
get_streakName suggests: reads
Current and longest streak
get_current_test_activityName suggests: reads
Daily test counts
send_forgot_password_emailName suggests: changes
Trigger the password reset email
get_resultsName suggests: reads
Up to 1000 saved results, newest first
get_result_by_idName suggests: reads
One result including chart data
get_last_resultName suggests: reads
Your most recent result
analyze_resultsName suggests: reads
Averages, best score, per-mode breakdown and trend
get_leaderboardName suggests: reads
All-time leaderboard for a language and mode
get_leaderboard_rankName suggests: reads
Your rank on a leaderboard
get_daily_leaderboardName suggests: reads
Daily leaderboard
get_weekly_xp_leaderboardName suggests: reads
Weekly XP leaderboard
get_configurationName suggests: reads
Server configuration and feature flags
get_psasName suggests: reads
Public service announcements
get_typing_statsName suggests: reads
Global tests started and completed and time typed
get_speed_histogramName suggests: reads
Personal bests grouped by WPM
is_submission_enabled
Whether quote submissions are open

What it does

Trend analysis
One tool averages recent results, breaks them down by mode and reports improvement.
Overview in one call
A single tool combines profile, lifetime stats, streak and last result.
Leaderboards
Reads all-time, daily and weekly XP leaderboards and your rank.
Public tools without a key
Profiles, global stats and the speed histogram work with no ApeKey.
Scoped errors
Auth failures name the ApeKey scope that is missing.
Stdio and HTTP
Runs locally over stdio or as a Streamable HTTP server.

Good for

  • Check whether your WPM is improving over the last 100 tests
  • Compare your 15-second speed with the global histogram
  • See how far you are from rank 1 on a leaderboard
  • Check if a Monkeytype username is free

Pricing

Open source

Free; ApeKey needed for personal data

Monkeytype FAQ

Do I need an API key?

Only for tools that read your own data; public tools work without one.

Where do I get a key?

In Monkeytype under Account, Ape Keys, then generate a new key with the scopes you need.

How many tools are there?

22.

How do I verify the setup?

Run the package with the --check flag and your key set.

Is Monkeytype free?

Yes. Monkeytype is open source, so you can use and self-host it for free.

How do I add Monkeytype to Claude Code?

Run this command in your terminal: claude mcp add monkeytype-mcp --env MONKEYTYPE_API_KEY='<MONKEYTYPE_API_KEY>' -- npx -y monkeytype-mcp-server

What are the best alternatives to Monkeytype?

The closest alternatives to Monkeytype are Agent-Native Analytics, dashboard-icons, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP and Pitot.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers