by financial-datasets
Provides AI assistants with tools to retrieve income statements, balance sheets, cash flow statements, stock prices, market news, and crypto information via the Model Context Protocol.
The server exposes a collection of MCP tools that let Claude and other AI models query financial statements, real‑time and historical stock prices, company news, as well as crypto tickers and pricing data.
uv
package manager.uv venv
.uv add "mcp[cli]" httpx
..env.example
to .env
and set FINANCIAL_DATASETS_API_KEY
.uv run server.py
.claude_desktop_config.json
that points to the uv
executable and the project directory.Q: Which programming languages are supported? A: The server itself runs on Python, but any MCP‑compatible client (Claude, custom AI pipelines, etc.) can call its tools.
Q: Do I need a paid API key?
A: Yes, a valid FINANCIAL_DATASETS_API_KEY
is required; obtain it from the Financial Datasets website.
Q: Can I run the server on Windows?
A: Absolutely – the instructions work on Windows using PowerShell for the uv
installation and activation (.venv\Scripts\activate
).
Q: How do I add new tools?
A: Extend server.py
by defining additional MCP functions following the existing pattern and expose them in the tool list.
Q: Is rate limiting enforced? A: The underlying Financial Datasets API enforces its own limits; handle HTTP 429 responses in client code if needed.
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>" } } } }
Discover more MCP servers with similar functionality and use cases
by stripe
Enables popular agent frameworks to integrate with Stripe APIs via function calling, providing tools for MCP, Python, and TypeScript.
by goat-sdk
GOAT is the largest agentic finance toolkit for AI agents, enabling them to become economic actors by leveraging blockchains, cryptocurrencies, and wallets.
by razorpay
Enables seamless interaction with Razorpay APIs via Model Context Protocol, allowing developers and AI agents to capture payments, manage orders, process refunds, handle settlements, and more through a unified MCP interface.
by armorwallet
Armor Crypto MCP provides a unified interface for AI agents to interact with the crypto ecosystem, including wallet management, swaps, staking, and multi-chain operations.
by alpacahq
Alpaca’s MCP server lets you trade stocks and options, analyze market data, and build strategies through Alpaca's Trading API.
by XeroAPI
Provides a bridge between the Model Context Protocol and Xero's API, enabling standardized access to Xero accounting and business features.
by kukapay
Integrates the Freqtrade cryptocurrency trading bot with an MCP server, exposing the bot's REST API as tools that AI agents can call for fully automated trading operations.
by kukapay
Offers over 50 cryptocurrency technical analysis indicators and corresponding trading strategies, enabling AI agents and developers to assess market trends and generate buy, hold, or sell signals.
by stefanoamorelli
SEC EDGAR MCP is an open-source MCP server that connects AI models to the rich dataset of SEC EDGAR filings. It makes the trove of public company data accessible to AI assistants (LLMs) for financial research, investment insights, and corporate transparency use cases.