Skip to main content
Glama
FighterAPI MCP server

FighterAPI MCP server

FighterAPI MCP server

FighterAPI MCP connector

MCP Registry

The fight data API. Results, judges' scorecards and the full stat sheet for nearly every UFC fight since 2000, round by round, plus PFL (2012 on) and Bellator (2009 to 2024) results, fighters and ratings with the same key. Fighter profiles, career rates, our own ratings and sportsbook moneylines (UFC from June 2020, PFL from April 2023, Bellator from January 2022 to 2024). REST API and MCP server. 500 free credits every month, no card.

Website: https://fighterapi.com?utm_source=github&utm_medium=readme&utm_campaign=fighterapi-mcp · Docs: https://fighterapi.com/docs?utm_source=github&utm_medium=readme&utm_campaign=fighterapi-mcp · Get a key: https://fighterapi.com/signup?utm_source=github&utm_medium=readme&utm_campaign=fighterapi-mcp

You:    "What is Islam Makhachev's significant strike accuracy by round across his UFC fights?"
Claude: [calls get_fighter_fights]

You:    "Show the opening and closing moneyline for every main event this year."
Claude: [calls get_odds]

Run it locally (stdio)

Most clients connect to https://mcp.fighterapi.com/mcp directly. For a client that launches a local process instead:

git clone https://github.com/sports-data-hq/fighterapi-mcp.git && cd fighterapi-mcp && npm install
FIGHTERAPI_API_KEY=your_key node index.js
{ "mcpServers": { "fighterapi": { "command": "node", "args": ["/path/to/fighterapi-mcp/index.js"], "env": { "FIGHTERAPI_API_KEY": "your_key" } } } }

It forwards to the hosted server with your key, so every tool and credit cost is the same.

Related MCP server: jktjj-mcp

Try it now, no key

  • A free season of UFC data: the last completed season as CSV (games, standings, player season totals and our ratings). Download the zip or browse what's in it.

  • Open it in Colab: Open in Colab loads the pack and answers three questions in a minute.

  • Ask Claude without a key: install the skills below; season-pack-offline answers from the pack until you connect.

With a free key it does far more: every earlier season, today's games, play-by-play, lineups, odds and player props with their history and movement, and every skill below running on live data. Get a free key: 500 credits a month, no card.

Skills

4 Claude skills for UFC ship in this repo, plus 13 analytics skills for models, backtests, calibration and comparing a model with the market. Every number in an answer comes from a live FighterAPI tool call, and odds are information only: no stakes, no picks.

Claude Code:

/plugin marketplace add sports-data-hq/fighterapi-mcp
/plugin install mma-data@fighterapi
/plugin install sports-analytics-core@fighterapi

Codex: codex plugin marketplace add sports-data-hq/fighterapi-mcp. Any agent that reads skills: npx skills add sports-data-hq/fighterapi-mcp.

Skill

What it does

ufc-card-preview

A whole card on one page: records, our Elo and the market's probability for every bout

ufc-elo-baseline

The Elo gap between two fighters as an expected win probability, beside the market as information

ufc-fight-preview

One-page fight preview: records by method, striking and grappling rates, Elo, opposition and the line

ufc-fighter-profile

A fighter's record by method, finish rates by method and round, career rates per 15 minutes, recent fights and ratings

The analytics skills: backtesting, data-pipeline, elo-engineering, feature-engineering, market-vs-model, model-building, odds-market-analysis, prediction-tracker, probability-calibration, season-pack-offline, sports-data-preflight, visualization, walk-forward-validation.

Real answers on live data, with the credits each used: example answers.

All nine sports' skills live in sports-data-hq/sportsdatahq-skills. The copies here are synced from there, so please open issues and pull requests there.

Useful pages

Python

The official Python client is on PyPI: fighterapi.

pip install fighterapi
export FIGHTERAPI_API_KEY=sk_live_...
from fighterapi import Client

client = Client()

events = client.list_events(status="final", limit=3)["events"]
for e in events:
    print(e["event_id"], e["event_date"], e["name"])

Typed errors for a bad key, no credits left, not found and rate limits, automatic retries, and to_dataframe for pandas.

Quick start

This is a hosted (remote) MCP server over Streamable HTTP. There is nothing to install.

Claude Code

claude mcp add --transport http fighterapi "https://mcp.fighterapi.com/mcp?key=YOUR_API_KEY"

Claude Desktop, Cursor and other clients

{
  "mcpServers": {
    "fighterapi": {
      "url": "https://mcp.fighterapi.com/mcp?key=YOUR_API_KEY"
    }
  }
}

The key can also be sent as an x-api-key header or Authorization: Bearer. Connecting and listing tools works without a key; calling a tool needs one.

REST

curl -X POST https://mcp.fighterapi.com/v1/list_events -H "x-api-key: YOUR_API_KEY"

Every tool is POST /v1/{tool} with a JSON body.

Examples

Runnable Python (standard library only) and Node 18+ (no dependencies) examples live in examples/:

export FIGHTERAPI_API_KEY=your_key
python3 examples/python/quickstart.py
node examples/node/quickstart.mjs

See examples/README.md for details. Get a free key (500 credits a month, no card) at https://fighterapi.com/signup?utm_source=github&utm_medium=readme&utm_campaign=fighterapi-mcp.

Use it in

Tools (11)

Tool

What it returns

list_events

Cards by year and status, with the main event

search_fighters

Find fighters by name or nickname

get_event

A card's fights with results, method, round, time and judges' scores

get_schedule

Upcoming fights with current moneylines where a book has posted one

get_ratings

Our fighter ratings (Elo from every UFC result since 2000)

get_fight

One fight: result, full stat sheets, round-by-round lines, ratings and odds

get_fighter

Profile, UFC record by method, career rates, rating and recent fights

get_fighter_fights

A fighter's full UFC history with stats, ratings and closing lines

get_leaders

Career leaderboards from every fight's stat sheet

get_odds

Opening, closing and current moneylines by sportsbook for a fight (5) or a card (10)

get_line_movement

Snapshots of each posted line before a fight

Leagues: mma (default, UFC), pfl, bellator (pass league to any tool).

Data

  • Every UFC card since 2000 with results, method, round, time and judges' scorecards; the full stat sheet, round by round, for nearly every card

  • PFL (2012 on) and Bellator (2009 to 2024) results, fighters and ratings; no stat sheets exist for those promotions in recent years

  • Fighter profiles with reach, stance and gym, career rates by method, and our Elo ratings from every UFC result since 2000

  • Moneylines and total rounds, no props: UFC opening and closing lines from June 2020 (a median of 5 to 7 books per fight; usually one book since mid-2024), PFL from April 2023 and Bellator from January 2022 to 2024 with fewer books; pre-fight snapshots: once a day from October 2026, and every hour in the two days before a fight

Coverage by season, read live from the database: https://fighterapi.com/docs?utm_source=github&utm_medium=readme&utm_campaign=fighterapi-mcp

Pricing

500 free credits every month, no card. Plans: Starter $19/mo (10,000 credits), Pro $49/mo (30,000), Scale $149/mo (125,000), Business $299/mo (300,000). Wallet top-ups from $5, never expire. https://fighterapi.com/pricing?utm_source=github&utm_medium=readme&utm_campaign=fighterapi-mcp

Attribution

Ratings are ours. Not affiliated with the UFC, PFL, Bellator or any promotion.

License

MIT for the contents of this repository. Data terms as above.

Use with Codex

The SportsDataHQ skills marketplace also works in Codex (it reads .agents/plugins/marketplace.json):

codex plugin marketplace add sports-data-hq/sportsdatahq-skills

Install mma-data, which bundles the MMA skills and the FighterAPI MCP server.

Use with Gemini CLI

export FIGHTERAPI_API_KEY=your_key
gemini extensions install https://github.com/sports-data-hq/fighterapi-mcp

The extension adds the FighterAPI MCP server (https://mcp.fighterapi.com/mcp) and sends the key in the x-api-key header. Get a free key (500 credits a month) at https://fighterapi.com/signup?utm_source=github&utm_medium=readme&utm_campaign=fighterapi-mcp.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    • Remote MCP server for live sports data. Ask for scores, standings, player stats and Elo ratings across 9 sports directly from Claude or any MCP client. Backed by the Big Balls Sports API, with one unified schema for every sport.

      https://mcp.bigballsdata.com/mcp
    • Free sports slate and matchup research for AI agents over MCP and REST. Research only; 21+.

      https://deepchampai.com/mcp
    • AgentReady Tools is a searchable catalog of more than 250 APIs, MCP servers and developer tools that AI agents can use, each with agent-readiness checks (docs, auth, OpenAPI, MCP support). Search by task, get tool details and related tools, and read or share field notes from other agents in the Agent Community. Remote MCP endpoint: https://agentready-tools.com/mcp

      https://agentready-tools.com/mcp
    • Independent statistical feature evaluation for machine learning and forecasting. ML Referee tests up to 1,000 candidate features in one run against a declared baseline, helping researchers and AI agents decide which inputs to pursue, which bounded feature repairs merit further testing, and where more evidence is needed—without a separate ablation run for every feature. Use the MCP tools to discover input schemas, check access and credits, preflight a dataset, obtain a quote, submit an authorized evaluation, and retrieve structured results and reports. Results are scoped to the submitted evidence and evaluation design; they do not guarantee future model performance. Invite-only beta with manual approval. Public tool discovery requires no authentication; account and evaluation tools require OAuth through approved client connections and available evaluation credits. Connect directly to https://api.mlreferee.com/mcp. Website: https://mlreferee.com Request beta access: https://mlreferee.com/beta Agent setup and documentation: https://mlreferee.com/agents

      https://api.mlreferee.com/mcp

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      MCP-compatible server that gives AI agents access to alternative sports data across 30+ leagues — odds, events, probabilities, settlement, and futures for prediction markets, DFS platforms, and sportsbooks.
      29
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for AI agent access to JKTJJ's structured BJJ data — gyms, coaches, events, and cities worldwide.
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP server for the FootballStack football data API. Gives LLM clients and AI agents (Claude, Cursor) access to real football data — fixtures, standings, lineups, live events, shot-level xG with pitch coordinates, and model-derived fair odds.
      12
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables an agent to query MMA data—fight schedules, results, per-round stats, rankings history, judges' scorecards, and consensus odds—across UFC and other promotions directly via Model Context Protocol.
      774 npm
      MIT