osu! MCP Server
MCP server exposing the osu! API v2: player stats, scores, beatmap search, rankings.
osu! MCP scores 51 (Fair), licensed MIT and written in Python. It installs as a local process. It declares 12 tools. Filed under AI and memory. GitHub shows 0 stars. Package registries report about 26 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
51 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
82/100 for listing completeness. Lost points: short README, 2 of 12 tools barely described, short summary.
How quality is graded
Where the 51 comes from
22 + 5 + 0 + 10 + 4 + 10 = 51. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "osyanne-osu-mcp": { "command": "uvx", "args": [ "osu-mcp" ], "env": { "OSU_CLIENT_ID": "", "OSU_CLIENT_SECRET": "YOUR_OSU_CLIENT_SECRET" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
OSU_CLIENT_ID | Required | Numeric Client ID from your osu! OAuth application (https://osu.ppy.sh/home/account/edit). |
OSU_CLIENT_SECRETSecret | Required | Client Secret from the same osu! OAuth application. |
Tools12Tool docs quality grade D
All capabilitiescompare_userstoolSide-by-side comparison of 2-5 users
Full attributes of a beatmap (AR/OD/CS/HP, BPM, max combo)
Top scores on a beatmap, filterable by mods
get_beatmapsettoolFull beatmapset with all difficulties
get_country_toptoolTop N players of a country in pp ranking
get_news_poststoolRecent osu! news posts
get_rankingstoolpp/score/charts rankings, global or by country
Full attributes of a specific score
Active seasonal backgrounds
get_user_scorestoolList a user's best/recent/firsts scores
get_user_summarytoolProfile + stats; optionally embed recent/best/firsts scores
search_beatmapstoolSearch beatmapsets with filters (mode, status, difficulty, length, BPM)
About
osu-mcp
osu-mcp is a Model Context Protocol (MCP) server that exposes the osu! API v2 as tools for Claude Desktop and other MCP clients. Ask Claude about your osu! profile, compare players, search beatmaps, browse rankings — all in natural language.
Quickstart
1. Install
uv tool install osu-mcp
# or
pip install osu-mcp
2. Get osu! API credentials
- Go to https://osu.ppy.sh/home/account/edit
- Scroll to OAuth, click New OAuth Application
- Name: anything (e.g., "Claude Desktop"); Callback URL: leave blank.
- Copy the Client ID and Client Secret.
3. Configure credentials
Option A — environment variables (recommended):
export OSU_CLIENT_ID=12345
export OSU_CLIENT_SECRET=your-client-secret
Option B — config file at ~/.config/osu-mcp/config.toml (Linux/Mac) or %APPDATA%\osu-mcp\config.toml (Windows):
client_id = 12345
client_secret = "your-client-secret"
4. Wire up Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"osu": {
"command": "uvx",
"args": ["osu-mcp"],
"env": {
"OSU_CLIENT_ID": "12345",
"OSU_CLIENT_SECRET": "your-client-secret"
}
}
}
}
Restart Claude Desktop. You should see "osu" in the MCP servers list.
Available tools (12)
| Tool | Description |
|---|---|
get_user_summary | Profile + stats; optionally embed recent/best/firsts scores |
compare_users | Side-by-side comparison of 2-5 users |
get_user_scores | List a user's best/recent/firsts scores |
get_score_details | Full attributes of a specific score |
search_beatmaps | Search beatmapsets with filters (mode, status, difficulty, length, BPM) |
get_beatmap_details | Full attributes of a beatmap (AR/OD/CS/HP, BPM, max combo) |
get_beatmap_scores | Top scores on a beatmap, filterable by mods |
get_beatmapset | Full beatmapset with all difficulties |
get_rankings | pp/score/charts rankings, global or by country |
get_country_top | Top N players of a country in pp ranking |
get_news_posts | Recent osu! news posts |
get_seasonal_backgrounds | Active seasonal backgrounds |
Full reference: docs/tools.md.
Examples
In Claude Desktop, try:
"Show me peppy's osu! stats"
"Compare Cookiezi and WhiteCat on accuracy and pp"
"What are the top 10 osu! players from Ecuador?"
"Find me some 200 BPM streamy ranked maps"
Development
git clone https://github.com/Osyanne/osu-mcp.git
cd osu-mcp
uv sync
uv run pytest # unit + smoke
uv run pytest -m integration # integration (needs real creds)
uv run ruff check .
uv run mypy --strict src/
License
MIT — see LICENSE.
Frequently asked questions
What is osu! MCP Server?
MCP server exposing the osu! API v2: player stats, scores, beatmap search, rankings.
How do I install osu! MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. osu! MCP Server runs locally from the PyPI package osu-mcp with the command uvx osu-mcp.
Is osu! MCP Server free and open source?
Yes. osu! MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does osu! MCP Server support remote (HTTP) connections?
No remote endpoint is listed for osu! MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does osu! MCP Server provide?
osu! MCP Server provides 12 tools, including compare_users, get_beatmap_details, get_beatmap_scores, and get_beatmapset. See the full tool list for descriptions and parameters.
How is osu! MCP Server's trust score calculated?
osu! MCP Server scores 51 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.