Skip to main content
Glama
UFC & MMA MCP Server (Live Fights, Cards, Stats & Rankings)

UFC & MMA MCP Server (Live Fights, Cards, Stats & Rankings)

by Cito-GG
README.md
# UFC & MMA MCP Server (Live Fights, Fight Cards, Fighter Stats & Rankings)

Open-source [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server for **UFC and MMA** data powered by [Cito API](https://citoapi.com).

Provides **12 curated, read-only UFC & MMA tools** for AI agents: live Octagon round and clock tracking, numbered PPV and Fight Night cards (main card, prelims, early prelims), complete fighter profiles with pro record, UFC record (`ufcRecord`), and pre-UFC regional record (`outsideUfcRecord`), round-by-round significant strikes and takedowns, tale-of-the-tape previews, and official UFC pound-for-pound and weight-division rankings.

- **Hosted Streamable HTTP MCP:** `https://api.citoapi.com/mcp`
- **API Documentation:** [citoapi.com/docs](https://citoapi.com/docs)
- **Get a Free API Key:** [citoapi.com/dashboard](https://citoapi.com/dashboard)

---

## UFC & MMA MCP Tools (12)

| Tool | Title | Description |
| --- | --- | --- |
| `ufc_live_fights` | UFC Live Fights & Octagon Scoreboard | Live UFC PPV and Fight Night bouts in progress with active round, clock, fighter corners, weight class, and card results |
| `ufc_upcoming_events` | UFC Upcoming Events & Fight Schedule | Upcoming UFC numbered PPVs and Fight Night cards with dates, venues, and scheduled bouts |
| `ufc_fight_card` | UFC Event Fight Card (Main Card & Prelims) | Full UFC event fight card with bout order, `scheduledRounds` (3 or 5), `ufcRecord` + `outsideUfcRecord`, fighter headshots, divisional ranks, and methods/results |
| `ufc_fighter_profile` | UFC Fighter Profile, Stats & Pre-UFC Record | Fighter bio, pro record, UFC vs pre-UFC record split, height, reach, stance, SLpM, takedown accuracy, submission avg, photos, and fight log |
| `ufc_bout_stats` | UFC Bout Summary & Round-by-Round Strikes/Takedowns | Detailed bout breakdown: winner, method (KO/TKO, Submission, Decision), round, time, knockdowns, significant strikes by target/position, takedowns, submissions, and control time |
| `ufc_rankings` | UFC Official Pound-for-Pound & Weight-Class Rankings | Official UFC men's and women's pound-for-pound and divisional rankings with champion and rank movement |
| `head_to_head` | Head-to-Head Matchup History | Past meetings and rivalry history between two UFC fighters |
| `match_preview` | Pre-Fight Tale of the Tape & Preview | Side-by-side UFC fighter comparison with recent form and H2H context |
| `resolve_entity` | Resolve Entity | Resolve UFC fighter or event names (e.g. "Islam Makhachev", "Alex Pereira", "UFC 300") to canonical slugs/IDs |
| `search_entities` | Search Entities | Paginated search across UFC fighters and events |
| `list_capabilities` | List Capabilities | Offline-ready catalog of UFC tools and workflows |
| `api_health` | API Health | Verify API key validity, plan tier, and rate limits |

---

## Quick Start

### Option 1: Hosted Streamable HTTP (Zero Install)

Connect Claude, Cursor, Windsurf, or any Streamable HTTP MCP client to:
- **URL:** `https://api.citoapi.com/mcp`
- **Header:** `x-api-key: cito_your_key_here`

### Option 2: Run from Source / Docker

```bash
git clone https://github.com/Cito-GG/ufc-mcp.git
cd ufc-mcp
npm install && npm run build
```

Add to `claude_desktop_config.json` or `.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "ufc": {
      "command": "node",
      "args": ["/absolute/path/to/ufc-mcp/dist/index.js"],
      "env": {
        "CITO_API_KEY": "cito_your_key_here"
      }
    }
  }
}
```

---

## Environment Variables

| Variable | Required at Startup | Default | Description |
| --- | --- | --- | --- |
| `CITO_API_KEY` | Optional at startup (required for live API queries) | `""` | Cito API key from [citoapi.com/dashboard](https://citoapi.com/dashboard). When unset, the server starts cleanly, completes MCP `initialize`, lists all 12 tools, and serves `list_capabilities` offline. |
| `CITO_API_BASE` | Optional | `https://api.citoapi.com/api/v1` | API base URL. |

---

## License

MIT License. See [LICENSE](LICENSE).