# osu! MCP

> osu! MCP is an open-source MCP server. MCP server exposing the osu! API v2: player stats, scores, beatmap search, rankings. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/osyanne/osu-mcp
- **MCP Registry name:** io.github.Osyanne/osu-mcp
- **Listing updated:** 2026-11-13

## About

MCP server exposing the osu! API v2: player stats, scores, beatmap search, rankings.

## Install

### Claude Code (Terminal)

```sh
claude mcp add osu-mcp --env OSU_CLIENT_ID='<OSU_CLIENT_ID>' --env OSU_CLIENT_SECRET='<OSU_CLIENT_SECRET>' -- uvx osu-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "osu-mcp": {
      "command": "uvx",
      "args": [
        "osu-mcp"
      ],
      "env": {
        "OSU_CLIENT_ID": "<OSU_CLIENT_ID>",
        "OSU_CLIENT_SECRET": "<OSU_CLIENT_SECRET>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "osu-mcp": {
      "command": "uvx",
      "args": [
        "osu-mcp"
      ],
      "env": {
        "OSU_CLIENT_ID": "<OSU_CLIENT_ID>",
        "OSU_CLIENT_SECRET": "<OSU_CLIENT_SECRET>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "osu-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "osu-mcp"
      ],
      "env": {
        "OSU_CLIENT_ID": "<OSU_CLIENT_ID>",
        "OSU_CLIENT_SECRET": "<OSU_CLIENT_SECRET>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "osu-mcp": {
      "command": "uvx",
      "args": [
        "osu-mcp"
      ],
      "env": {
        "OSU_CLIENT_ID": "<OSU_CLIENT_ID>",
        "OSU_CLIENT_SECRET": "<OSU_CLIENT_SECRET>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "osu-mcp": {
      "command": "uvx",
      "args": [
        "osu-mcp"
      ],
      "env": {
        "OSU_CLIENT_ID": "<OSU_CLIENT_ID>",
        "OSU_CLIENT_SECRET": "<OSU_CLIENT_SECRET>"
      }
    }
  }
}
```

## FAQ

### Is osu! MCP free?

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

### How do I add osu! MCP to Claude Code?

Run this command in your terminal: claude mcp add osu-mcp --env OSU_CLIENT_ID='<OSU_CLIENT_ID>' --env OSU_CLIENT_SECRET='<OSU_CLIENT_SECRET>' -- uvx osu-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/osu-mcp
