FinData MCP Server
Open-source MCP server for LLM access to professional financial data.
Key Features
Use Cases
README
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
Star History
Repository Owner
User
Repository Details
Programming Languages
Tags
Join Our Newsletter
Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.
Related MCPs
Discover similar Model Context Protocol servers
Macrocosmos MCP
Official Model Context Protocol server for real-time social and video data integration.
Macrocosmos MCP is the official server implementation of the Model Context Protocol (MCP). It connects AI clients with real-time data from platforms like X, Reddit, and YouTube, powered by Data Universe (SN13) on Bittensor. The server enables MCP-compatible clients to fetch social media and video transcript data for enhanced contextual understanding. It supports integration with tools such as Claude Desktop, Cursor, Windsurf, and OpenAI Agents.
- ⭐ 24
- MCP
- macrocosm-os/macrocosmos-mcp
Aviationstack MCP Server
MCP server offering comprehensive endpoints for aviation and flight data.
Aviationstack MCP Server provides an MCP-compliant API that exposes tools to access real-time and scheduled flight data, aircraft details, random aircraft types, countries, and city information from the AviationStack API. It offers ready-to-use endpoints for airline-specific flight queries, airport schedules, and in-depth vehicle, country, and city data. The solution applies the Model Context Protocol by defining MCP tools as Python functions with standardized interfaces, designed for seamless integration into MCP-compatible environments. The server is built using Python, incorporates the FastMCP library, and is intended for easy deployment and use in application development.
- ⭐ 11
- MCP
- Pradumnasaraf/aviationstack-mcp
amazon-ads-mcp-server
Stream Amazon Advertising data into MCP-compatible AI clients.
amazon-ads-mcp-server enables seamless integration of Amazon Advertising data—including campaigns, keywords, reports, and more—into any Model Context Protocol (MCP) compatible client. It provides both local and HTTP-based MCP server implementations for usage across desktops and platforms such as Claude Desktop and LibreChat. With support for plain English querying of reports and enhanced features like recommendations and experiments (with subscription), the tool facilitates streamlined access and interaction with Amazon Ads data for model-based workflows.
- ⭐ 18
- MCP
- MarketplaceAdPros/amazon-ads-mcp-server
Weather MCP Server
A Model Context Protocol server delivering weather and air quality data via multiple transport modes.
Weather MCP Server is a Model Context Protocol (MCP) implementation that provides comprehensive weather and air quality information using the Open-Meteo API. It supports various transport modes including standard stdio for desktop clients, HTTP Server-Sent Events (SSE), and Streamable HTTP for modern web integration. The server offers both real-time and historical weather metrics, as well as timezone and time conversion functionalities. Installation and integration options are available for both MCP desktop clients and web applications.
- ⭐ 26
- MCP
- isdaniel/mcp_weather_server
ws-mcp
WebSocket bridge for MCP stdio servers.
ws-mcp wraps Model Context Protocol (MCP) stdio servers with a WebSocket interface, enabling seamless integration with web-based clients and tools. It allows users to configure and launch multiple MCP servers via a flexible configuration file or command-line arguments. The tool is designed to be compatible with services such as wcgw, fetch, and other MCP-compliant servers, providing standardized access to system operations, HTTP requests, and more. Integration with tools like Kibitz enables broader applications in model interaction workflows.
- ⭐ 19
- MCP
- nick1udwig/ws-mcp
Fantasy Premier League MCP Server
Enables rich access to Fantasy Premier League data via the Model Context Protocol.
Fantasy Premier League MCP Server is a Model Context Protocol (MCP) server that provides streamlined access to Fantasy Premier League (FPL) data, including player statistics, team information, and gameweek details. It allows users to interact with and compare FPL player data, search teams and players, and integrate seamlessly with Claude Desktop and other MCP-compatible clients. Designed for both quick CLI usage and deep AI integration, it ensures comprehensive coverage for FPL enthusiasts and AI-powered desktop tools.
- ⭐ 65
- MCP
- rishijatia/fantasy-pl-mcp
Didn't find tool you were looking for?