Overview
MCP server to get content from thoroughbreddailynews.com's RSS feed
Requirements
uv
. Installation instructions at https://docs.astral.sh/uv/getting-started/installation/
Getting Started
Part 1: Running MCP Server
- Clone this repository
cd horseracingnews
- Run
uv run horse_racing_news_mcp_server.py
and keep running.
Part 2: Update Claude Desktop Configuration (assuming macOS)
- Run
cd ~/Library/Application\ Support/Claude
- Use your favorite editor and open up
claude_desktop_config.json
(e.g.,vim claude_desktop_config.json
) - Assuming you never added an MCP server to the configuration file before, add:
{
"mcpServers": {
"horseracing": {
"command": "uv",
"args": [
"--directory",
"/path/to/horseracingnews",
"run",
"horse_racing_news_mcp_server.py"
]
}
}
}
Make sure to restart Claude Desktop
Source
Prompts Used
I was informed of Thoroughbred Daily News yesterday. They provide an RSS feed at https://www.thoroughbreddailynews.com/feed/. Can you write a Python program that:
Loads the feed
Parse the XML
For each story, show the title, content, and link
Excellent, thanks so much! Now, can you turn it into an MCP server using FastMCP? Expose one method for @mcp.tool() named get_horse_racing_news.