osu-mcp
Provides tools for interacting with the osu! API v2, enabling AI agents to query user profiles, compare players, search beatmaps, browse rankings, and retrieve score details and news from the osu! platform.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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-mcp2. Get osu! API credentials
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-secretOption 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.
Related MCP server: mcp-server
Available tools (12)
Tool | Description |
| Profile + stats; optionally embed recent/best/firsts scores |
| Side-by-side comparison of 2-5 users |
| List a user's best/recent/firsts scores |
| Full attributes of a specific score |
| Search beatmapsets with filters (mode, status, difficulty, length, BPM) |
| Full attributes of a beatmap (AR/OD/CS/HP, BPM, max combo) |
| Top scores on a beatmap, filterable by mods |
| Full beatmapset with all difficulties |
| pp/score/charts rankings, global or by country |
| Top N players of a country in pp ranking |
| Recent osu! news posts |
| 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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
MCP server for progressive tool usage at any scale (see https://klavis.ai)
An MCP server that integrates with Discord to provide AI-powered features.
Related MCP Servers
AlicenseBqualityNot gradedmaintenanceMCP Server for interacting with Old School RuneScape Wiki API and game data files, providing tools to search the OSRS Wiki and access game data definitions through the Model Context Protocol.1958 npm1-- FlicenseBqualityDmaintenanceMCP server that enables web search via Tavily API and chess player stats via Chess.com API.10-
- AlicenseNot gradedqualityNot gradedmaintenanceMCP server that exposes MyAnimeList v2 API with OAuth authentication, enabling anime and manga search, rankings, seasonal charts, and user list management through natural language.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceMCP server that exposes RuneScape 3 data from the RuneMetrics, Grand Exchange, and RuneScape Wiki APIs, enabling natural language queries for player profiles, XP gains, quests, item prices, and wiki content.MIT