Skip to main content
Glama
Finance News RSS MCP Server

Finance News RSS MCP Server

Finance News RSS MCP Server

A Model Context Protocol (MCP) server that provides real-time finance news from major RSS feeds. Built with FastMCP to demonstrate MCP basics.

What This MCP Does

This MCP server gives Claude access to finance news from major sources including:

  • Bloomberg

  • Wall Street Journal (WSJ)

  • CNBC

  • Seeking Alpha

  • MarketWatch

  • Financial Times

The server provides two tools:

  1. get_latest_finance_news - Fetch the latest news from all sources or a specific source

  2. search_finance_news - Search across all feeds for articles matching a keyword

Related MCP server: MCP News Server

Installation

Install dependencies using uv:

uv sync

How to Run

Start the MCP server:

uv run python main.py

Or configure it in your Claude Desktop app by adding to your MCP settings:

{
  "mcpServers": {
    "finance-news": {
      "command": "uv",
      "args": ["--directory", "/path/to/example", "run", "python", "main.py"]
    }
  }
}

Important Notes:

  • Replace /path/to/example with the actual path to your project directory

  • If you get a "spawn uv ENOENT" error, use the full path to uv:

    • Find it with: which uv

    • Common locations: ~/.local/bin/uv or ~/.cargo/bin/uv

    • Update command to the full path, e.g., "/Users/yourname/.local/bin/uv"

Example Questions to Ask Claude

Once connected, you can ask Claude questions like:

  • "What are the latest finance news headlines?"

  • "Get me the top 5 news articles from Bloomberg"

  • "Search for news about 'inflation' in finance feeds"

  • "What's the latest news from CNBC?"

  • "Find articles about 'Federal Reserve' or 'interest rates'"

  • "Show me recent Yahoo Finance headlines"

Available Tools

get_latest_finance_news

Fetch the latest finance news articles.

Parameters:

  • limit (int, default=10): Maximum number of articles to return

  • source (str, default="all"): News source to fetch from

    • Options: "all", "bloomberg", "wsj", "cnbc", "seekingalpha", "marketwatch", "ft"

Example:

get_latest_finance_news(limit=5, source="wsj")

search_finance_news

Search for articles matching a keyword across all feeds.

Parameters:

  • query (str, required): Search keyword to find in titles or descriptions

  • limit (int, default=10): Maximum number of matching articles to return

Example:

search_finance_news(query="bitcoin", limit=5)

Implementation Details

  • No caching: Fetches RSS feeds on-demand for real-time updates

  • Error handling: Gracefully skips feeds that fail to load

  • Simple & clean: Single-file implementation, perfect portfolio piece

  • Dependencies: fastmcp, feedparser, httpx

Project Structure

example/
├── main.py             # MCP server implementation
├── pyproject.toml      # Project dependencies
├── uv.lock             # Dependency lock file
└── README.md           # This file

How It Works

The server uses:

  • FastMCP to create the MCP server and register tools

  • httpx to fetch RSS feed URLs

  • feedparser to parse RSS/Atom feeds into structured data

Each tool fetches feeds in real-time, parses them, and returns structured article data including title, link, published date, description, and source name.

License

MIT

Available Tools

2 tools
get_latest_finance_newsA

Get the latest finance news from RSS feeds.

Args: limit: Maximum number of articles to return (default: 10) source: News source to fetch from. Options: "all", "bloomberg", "wsj", "cnbc", "seekingalpha", "marketwatch", "ft" (default: "all")

Returns: List of articles with title, link, published_date, description, and source_name

Inputs: limit, source. Returns: result

search_finance_newsA

Search finance news across all RSS feeds by keyword.

Args: query: Search keyword to find in article titles or descriptions limit: Maximum number of matching articles to return (default: 10)

Returns: List of matching articles with title, link, published_date, description, and source_name

Inputs: query (required), limit. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one fetches the latest articles (optionally filtered by source), while the other searches by keyword. There is no overlap in functionality that would cause confusion.

    Naming Consistency5/5

    Both tools follow the same verb_noun pattern: get_latest_finance_news and search_finance_news. The names are descriptive and consistent.

    Tool Count4/5

    With only two tools, the server feels minimal but well-scoped for its purpose of fetching and searching finance news. It is slightly thin, but each tool serves a distinct and necessary function.

    Completeness4/5

    The server covers the core operations for a news RSS reader: retrieving latest news (with source filtering) and searching. Minor gaps exist, such as lack of pagination or category filtering, but agents can accomplish typical tasks without dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides comprehensive financial market data and news through the Finnhub API. Enables real-time stock quotes, company profiles, financial metrics, analyst recommendations, and market news access.
      1
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Fetches news from trusted global sources using NewsAPI and RSS feeds, enabling search, headline retrieval, and source listing.
      -
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI assistants to search and retrieve real-time financial news from Finnhub via natural language queries.
      8 npm
      6
      Apache 2.0