Skip to main content
Glama
Ihtishammehmood

Finance MCP Server

Building a Finance agent with MCP

See Full Video:

Watch the video

Related MCP server: Financial Modeling Prep MCP Server

Overview

This project demonstrates the use of a Model Context Protocol (MCP) server for retrieving financial data. The MCP server is integrated with Agno and Smol Agent to showcase its versatility in handling multiple agentic frameworks in standardized way.

  1. MCP Server (Finance):

    • This server is created using financialdatasets api fetch financial information of companies

    • Standardizes interactions with external financial data sources using MCP.

  2. Agentic Framework Integration

    • Integrated mcp server with Agno and Smol Agent.

    • MCP creates a universal standard for all agentic workflows.

Features

  • MCP enables AI applications to access diverse data sources and tools using a consistent protocol, streamlining the development process.

  • AI applications (clients) communicate with MCP servers that expose specific capabilities, such as data access or function execution

  • MCP allows AI models to retrieve up-to-date information and perform actions based on real-time data, enhancing their responsiveness and accuracy .

Getting Started

  1. Clone the repository:

    git clone https://github.com/Ihtishammehmood/Finance_MCP-Server.git
  1. Add Groq and Financial Datasets APi to .env:

GROQ_API_KEY = "Place your GROQ API key here"
FINANCIAL_DATASETS_API_KEY = "Place your Financial Datasets API key here"
  1. Install UV package Manager

pip install uv
  1. Create Virtual Environment

uv venv
  1. Activate virtual Environment:

.venv\Scripts\activate
  1. Install dependencies

uv add -r requirements.txt
  1. Start Agno and Smol Agent integrations:

uv run agno_agent.py

Initialize MCP Inspector

  • Run mcp dev server.py in Terminal

Add MCP server in IDE

{
    "mcpServers": {
      "stockTools": {
        "command": "uv",
        "args": [
          "--directory",
          "Absolute path to server.py file directory",
          "run",
          "server.py"
        ]
      }
    }
  }

License

This project is licensed under the MIT License - see the LICENSE file for details.

Related MCP Connectors

  • Financial data MCP server for Claude, ChatGPT, Cursor and Codex. Real-time stock quotes, financial statements, options flow, SEC filings, insider trades, 13F holdings, macro data and market news from gloom.sh, the open-source Bloomberg Terminal alternative.

  • A Model Context Protocol server exposing real-time and historical Colombo Stock Exchange (CSE) data to AI agents and LLM applications. Provides quotes and OHLCV price history, full financial statements (income, balance sheet, cash flow), pre-computed technicals (moving averages, RS ratings, volume signals), macroeconomic indicators, corporate actions, and rule-based screening across CSE stocks and sector indices, everything needed to build CSE-aware trading assistants, research tools, and market-analysis agents. This is the official MCP server of www.ceyloncharts.com

  • Stock market data for AI agents: real-time quotes, financials, options, SEC filings and news.

  • The Octagon MCP server provides specialized AI-powered financial research and analysis by integrating with the Octagon Market Intelligence API. It enables users to analyze public market data (SEC filings, earnings transcripts, financial metrics, and stock data for 8000+ companies), private market data (3M+ companies, 500k+ funding rounds, 2M+ M&A/IPO transactions), and conduct deep research including web scraping capabilities. The server also features autonomous research agents that search hundreds of sources and return fully cited reports in approximately one minute.

Related MCP Servers

  • A
    license
    B
    quality
    F
    maintenance
    A Model Context Protocol (MCP) server that provides real-time access to financial market data through the free Alpha Vantage API. This server implements a standardized interface for retrieving stock quotes and company information.
    12
    104
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    A Model Context Protocol server that enables AI assistants like Claude to programmatically access financial data from Financial Modeling Prep API, including company profiles, financial statements, metrics, SEC filings, and market data.
    5
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    A Model Context Protocol server that enables LLMs to access comprehensive financial data from Alpha Vantage API, including stock prices, fundamentals, forex, crypto, and economic indicators.
    94
    5 npm
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    A Model Context Protocol server providing comprehensive access to Yahoo Finance data through the yahooquery library, enabling AI assistants to retrieve stock prices, financial statements, market data, and company analytics.
    14
    MIT