Finance MCP Server
An MCP server for retrieving financial data using the financialdatasets API.
Building a Finance agent with MCP
See Full Video:
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.
-
MCP Server (Finance):
- This server is created using
financialdatasets apifetch financial information of companies - Standardizes interactions with external financial data sources using MCP.
- This server is created using
-
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
- Clone the repository:
git clone https://github.com/Ihtishammehmood/Finance_MCP-Server.git
- 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"
- Install UV package Manager
pip install uv
- Create Virtual Environment
uv venv
- Activate virtual Environment:
.venv\Scripts\activate
- Install dependencies
uv add -r requirements.txt
- Start Agno and Smol Agent integrations:
uv run agno_agent.py
Initialize MCP Inspector
- Run
mcp dev server.pyin 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.
相关服务器
Gyazo
Integrate and search for images from your Gyazo account.
Remote MCP Server (Authless)
A remote MCP server deployable on Cloudflare Workers without authentication.
Maestro MCP Server
Interact with the Bitcoin blockchain using the Maestro API to explore blocks, transactions, and addresses.
Alpaca MCP Server
Interact with Alpaca's Trading API for stock trading, portfolio management, and real-time market data.
Remote MCP Server Authless Rickroll
A remote MCP server on Cloudflare Workers that generates podcast URLs and rickrolls without authentication, using Cloudflare AI and D1.
EnergyAtIt Grid MCP Server
EnergyAtIt is the first MCP server for physical grid infrastructure. 45 tools that let AI agents interact with power grid assets — translating 8 grid protocols (IEC 61850, DNP3, Modbus, OpenADR, OCPP, IEEE 2030.5) into MCP tool calls.
CData SAP Ariba Source
An MCP server for SAP Ariba Source, powered by CData. Requires the external CData JDBC Driver for SAP Ariba Source.
AWS SES
Send emails using AWS Simple Email Service (SES). Supports plain text, HTML, CC, BCC, reply-to, and email scheduling.
Remote MCP Server (Authless)
An authentication-free, remote MCP server designed for deployment on Cloudflare Workers.
Arc MCP Server
Simplifies framework deployments on various hosting environments, with a focus on shared hosting.