by financial-datasets
Provides access to income statements, balance sheets, cash flow statements, stock prices, market news, and cryptocurrency data through MCP tools for AI assistants.
A Model Context Protocol (MCP) server that exposes Financial Datasets' stock market and cryptocurrency APIs, allowing AI assistants to retrieve company financials, price data, and news directly via defined tools.
uv add "mcp[cli]" httpx
..env
file from .env.example
and set FINANCIAL_DATASETS_API_KEY
.uv run server.py
.Q: Which Python version is required? A: Python 3.10 or newer.
Q: Do I need an API key?
A: Yes, obtain one from Financial Datasets and set FINANCIAL_DATASETS_API_KEY
in the .env
file.
Q: Can I run the server on Windows?
A: Absolutely – the same uv run server.py
command works after activating the virtual environment.
Q: How does Claude Desktop connect?
A: Add an entry under mcpServers
in claude_desktop_config.json
that points to the uv
command and the project directory (see the README for exact JSON).
This is a Model Context Protocol (MCP) server that provides access to stock market data from Financial Datasets.
It allows Claude and other AI assistants to retrieve income statements, balance sheets, cash flow statements, stock prices, and market news directly through the MCP interface.
This MCP server provides the following tools:
Clone this repository:
git clone https://github.com/financial-datasets/mcp-server
cd mcp-server
If you don't have uv installed, install it:
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
curl -LsSf https://astral.sh/uv/install.ps1 | powershell
Install dependencies:
# Create virtual env and activate it
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
uv add "mcp[cli]" httpx # On Windows: uv add mcp[cli] httpx
Set up environment variables:
# Create .env file for your API keys
cp .env.example .env
# Set API key in .env
FINANCIAL_DATASETS_API_KEY=your-financial-datasets-api-key
Run the server:
uv run server.py
Install Claude Desktop if you haven't already
Create or edit the Claude Desktop configuration file:
# macOS
mkdir -p ~/Library/Application\ Support/Claude/
nano ~/Library/Application\ Support/Claude/claude_desktop_config.json
Add the following configuration:
{
"mcpServers": {
"financial-datasets": {
"command": "/path/to/uv",
"args": [
"--directory",
"/absolute/path/to/financial-datasets-mcp",
"run",
"server.py"
]
}
}
}
Replace /path/to/uv
with the result of which uv
and /absolute/path/to/financial-datasets-mcp
with the absolute path to this project.
Restart Claude Desktop
You should now see the financial tools available in Claude Desktop's tools menu (hammer icon)
Try asking Claude questions like:
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "financial-datasets": { "command": "uv", "args": [ "run", "server.py" ], "env": { "FINANCIAL_DATASETS_API_KEY": "<YOUR_API_KEY>" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by goat-sdk
Enables AI agents to send and receive payments, purchase goods and services, execute investment strategies, tokenize assets, and obtain financial insights by leveraging blockchains, stablecoins, and wallets.
by alpacahq
Enables large language models to trade stocks and options, retrieve real‑time and historical market data, and manage portfolios using plain English commands through a local or remote MCP server.
by XeroAPI
Provides a bridge between the Model Context Protocol and Xero's API, enabling standardized access to Xero accounting and business features.
by stefanoamorelli
Provides an MCP server that connects AI models to SEC EDGAR filings, enabling real‑time retrieval of company filings, financial statements, and insider‑trading data with exact XBRL precision and verifiable filing references.
by ariadng
Enables AI LLMs to execute trades on the MetaTrader 5 platform through the Model Context Protocol.
by calvernaz
Provides access to Alpha Vantage stock market data via an MCP server, supporting stdio and HTTP streaming modes with optional OAuth 2.1 authentication.
by kukapay
Integrates the Freqtrade cryptocurrency trading bot with MCP, exposing its REST API as tools for AI agents to perform automated trading operations.
by kukapay
Provides a comprehensive set of cryptocurrency technical analysis indicators and ready‑to‑use trading strategies through an MCP interface, enabling AI agents and applications to generate buy, hold, or sell signals.
by OctagonAI
Provides AI-powered financial research and analysis by integrating with the Octagon Market Intelligence API, enabling extraction of insights from public filings, earnings call transcripts, financial metrics, stock market data, and private market transactions within Claude Desktop and other popular MCP clients.