Financial Datasets logo

Financial Datasets

Free

专为 AI 代理设计的股票市场 API。

FreeFree tier
Type
Open Source
Company
Financial Datasets

About Financial Datasets

Financial Datasets MCP Server is an open-source Model Context Protocol (MCP) server that provides AI assistants like Claude with access to stock market and cryptocurrency data from the Financial Datasets API. It offers tools to retrieve income statements, balance sheets, cash flow statements, current and historical stock prices, company news, and cryptocurrency prices. The server is easy to set up locally using Python and the uv package manager, and it integrates directly with Claude Desktop for seamless financial data queries.

Key Features

Retrieve income statements, balance sheets, and cash flow statements for companies
Get current and historical stock prices
Fetch company news
Access cryptocurrency prices and historical data
Easy integration with Claude Desktop via MCP protocol
Open-source and self-hosted

Pros & Cons

Pros
  • Open-source and free to use (server itself)
  • Provides a wide range of financial data through a single MCP interface
  • Simple setup with Python and uv
  • Works directly with Claude Desktop for natural language queries
  • Supports both stocks and cryptocurrencies
Cons
  • Requires a Financial Datasets API key (not included)
  • Dependency on the Financial Datasets API availability and pricing
  • No built-in data caching; repeated calls incur API costs
  • Setup requires technical knowledge (Python, virtual environment)

Best For

AI-powered financial analysis and stock researchAutomated portfolio tracking with AI assistantsFetching real-time market data for trading botsIntegrating financial data into chat-based AI workflows

FAQ

What is the Financial Datasets MCP Server?
It is an open-source Model Context Protocol (MCP) server that allows AI assistants like Claude to access stock market and cryptocurrency data from the Financial Datasets API.
How do I set up the server?
Clone the repository, install uv, create a virtual environment, add dependencies, set your FINANCIAL_DATASETS_API_KEY in a .env file, and run the server with 'uv run server.py'.
What data can I retrieve?
Income statements, balance sheets, cash flow statements, current and historical stock prices, company news, and cryptocurrency prices and historical data.
Do I need an API key?
Yes, you need a Financial Datasets API key. The server reads it from the FINANCIAL_DATASETS_API_KEY environment variable.
Can I use this with other AI assistants besides Claude?
The server implements the MCP protocol, so it can be used with any client that supports MCP, though Claude Desktop is the primary example.