FinData
MCP server providing professional financial data access for LLMs through providers like Tushare, Wind, and DataYes.
README
<h1 align="center"> <img src="assets/logo.png" width="400" align=center/> </h1><br>
<div align="center">
</div>
<div class="toc" align="center"> <a href="#Overview">Overview</a> • <a href="#Demonstration">Demo</a> • <a href="#Quick-Start">Quick Start</a> • <a href="#Supported-Data-Providers">Supported Data Providers</a> • <a href="#Tools">Tools</a> </div>
Overview
FinData is an open-source Model Context Protocol(MCP) Server that provides professional financial data access capabilities for LLM. It supports various data providers such as Tushare, Wind, DataYes, etc. This enables AI applications to quickly retrieve financial data.
Fully supports both Stdio and SSE transports, offering flexibility for different environments.
Demonstration
https://github.com/user-attachments/assets/1a6d02af-22a3-44a0-ada7-a771a1c4818d
Quick Start
Prerequisites
Before getting started, please complete the following preparations:
- python => 3.11
- mcp[cli]>=1.6.0
- pandas>=2.2.3
- uv
Depending on your data provider, install optional packages such as:
- tushare>=1.4.21
Configuration
Stdio Transport
You will need to edit the MCP client configuration file to add finData:
{
"mcpServers": {
"finData": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/finData-mcp-server/src/findata",
"run",
"server.py"
],
"env": {
"DATA_API_TOKEN": "", // API Token for accessing data provider
"PROVIDER": "tushare" // Specified data provider
}
}
}
}
SSE Transport
Set the environment variables DATA_API_TOKEN and PROVIDER on the server hosting the MCP Server:
Windows
set DATA_API_TOKEN=<API Token for accessing data provider>
set PROVIDER=<Specified data provider>
Linux
export DATA_API_TOKEN=<API Token for accessing data provider>
export PROVIDER=<Specified data provider>
Then, start the MCP Server:
uv run server.py --transport sse
-
Optional Arguments:
--sse-hostHost to bind SSE server to (default: localhost)--sse-portPort for SSE server (default: 8000)
Once the MCP Server is running, update your MCP client's configuration with the following settings to connect to it.
{
"mcpServers": {
"finData": {
"name": "finData",
"type": "sse",
"baseUrl": "http://localhost:8000/sse"
}
}
}
Note: Variable names in configuration files may vary slightly between MCP clients. Refer to each client's documentation for proper configuration.
Supported Data Providers
Set the PROVIDER environment variable to specify your provider:
- tushare
Tools
Tushare
Market Data
dailyGet unadjusted daily stock market data.
Fundamental Data
stock_basicGet stock basic information including name, code, etc.stock_companyGet listed company basic information.bak_basicGet fundamental data for specific stocks within a given time range.
Financial Data
incomeGet company income statement data.balancesheetGet company balance sheet data.cashflowGet company cash flow statement data.
Macroeconomic Data
shibor_lprGet Loan Prime Rate (LPR) data.cn_gdpGet Gross Domestic Product (GDP) data.cn_cpiGet Consumer Price Index (CPI) data.cn_ppiGet Producer Price Index (PPI) data.cn_mGet Money Supply data.sf_monthGet Social Financing data.cn_pmiGet Purchasing Managers' Index (PMI) data.
DataCanvas

This project is open-sourced by DataCanvas
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.