horseracingapi.co.uk
MCP server

UK racing, asked in plain English

Add one address to Claude, ChatGPT, Cursor or Claude Code and ask what runs at Cheltenham today, who won yesterday's big handicap or how a yard is going at Musselburgh. The assistant calls the API with your own key and answers from the facts.

https://horseracingapi.co.uk/mcp
An assistant using the MCP serverexample
Set it up

Two minutes in the assistant you already use

Claude and ChatGPT sign you in once and ask you to allow it. Cursor and Claude Code take your key in a header. Either way it uses your key and your plan.

  1. In Claude, open Settings, then Connectors, and choose Add custom connector.
  2. Name it Horse Racing API UK and paste the address.
  3. Connect, sign in with Google and press Allow.
https://horseracingapi.co.uk/mcp
The tools

Fourteen tools, one for each question people ask

Each tool calls one endpoint with your key, so your plan's days and limits apply. A tool your plan does not reach says which plan has it. Pagination is handled for you.

ToolWhat it doesInputsPlans
list_coursesEvery British and Northern Irish course, with where it is and which way round it runs.noneEvery plan
course_detailsOne course in full: what is raced there and over which distances.course_idEvery plan
todays_racecardsToday's UK cards, every meeting and race in the order they are due off.courseLive, Archive, Complete
racecards_for_dateThe full UK card for one day, with results where the races are settled.date, courseEvery plan
results_for_dateEvery settled UK race on a day: finishing order, starting prices and the rest.dateEvery plan
race_detailsOne race: its conditions, the market and every runner.race_idEvery plan
race_marketA race's market: the book, every price and what moved.race_idLive, Archive, Complete
search_racesFind UK races by date, course, type, going, class and field size.date_from, date_to, course_id, run_type, class, going, surface, handicap, min_runners, max_runners, result_available, limitLive, Archive, Complete
search_racingLook up a horse, trainer, jockey or course by name and get its id.q, type, limitLive, Archive, Complete
horse_formA horse's UK runs, newest first.horse_id, limitLive, Archive, Complete
trainer_statsA trainer's strike rate, A/E and level stakes, split any way.trainer_id, by, min_runsComplete
jockey_statsA jockey's strike rate, A/E and level stakes, split any way.jockey_id, by, min_runsComplete
race_reportThe written account of one race, with a line for every runner.race_idComplete
days_upsetsThe day's UK shocks, each scored 0 to 100 with the reasons.dateEvery plan
How it works

Your key, your plan, and you can stop it any time

1
Add the address

One address for every assistant, no install.

2
Sign in and allow

On Claude and ChatGPT you sign in with Google and allow it once.

3
Ask

The assistant picks the tool and the API answers with your plan's data.

4
Stop any time

Remove the connection on your account page, or rotate your key.

Teach an agent the whole API

The agent skill is one file that tells any agent how to use the API well. Save it as ~/.claude/skills/horseracingapi-uk/SKILL.md, or upload it as a skill in Claude.

Download skill.md
Every tool in the documentation

The MCP guide and the tools page sit with the rest of the docs, beside the endpoint each tool calls.

MCP tools page