home / mcp / financemcp mcp server
Provides real-time financial data, indicators, and market analyses via MCP protocols across global markets.
Configuration
View docs{
"mcpServers": {
"guangxiangdebizi-financemcp": {
"url": "https://finvestai.top/mcp",
"headers": {
"TUSHARE_TOKEN": "YOUR_TUSHARE_TOKEN",
"X-Tushare-Token": "YOUR_TUSHARE_TOKEN_HERE"
}
}
}
}You can run FinanceMCP, a professional financial data MCP server, to access real-time market data, indicators, and financial analysis through MCP-compatible clients. It supports public cloud HTTP access and local SSE/stdio deployments, enabling you to plug powerful financial data into AI assistants or custom tooling with minimal setup.
Connect to FinanceMCP using an MCP client in either HTTP (remote) mode or local stdio mode. In HTTP mode, your client will reach the server at the defined URL and pass tokens via headers or tokens as configured. In stdio mode, your local client launches the MCP server as a standalone process and communicates through standard I/O, enabling fast, offline-capable operation. Once connected, you can request stock data, indicators, macro data, market news, and company analyses across multiple markets.
Prerequisites you need before installing FinanceMCP include Node.js version 18 or newer and a Tushare API token if you plan to access paid data sources.
# Step 1: Install the runtime client (stdio mode) or run via npx
# If you plan to use the stdio mode with a local installation:
npm install -g finance-mcp
# Step 2: Prepare your Tushare token (if required by your setup)
# Obtain your token from tushare.pro and keep it handy
export TUSHARE_TOKEN=YOUR_TUSHARE_TOKEN
# Step 3: Start the stdio server (example using CLI after global install)
finance-mcpFinanceMCP can be connected via two explicit methods shown in the setup examples. Use the HTTP method for remote cloud deployment and the stdio method for local, zero-config operation. Both methods support the same MCP endpoints and tools.
{
"mcpServers": {
"finance-mcp": {
"type": "stdio",
"command": "finance-mcp",
"args": [],
"env": {
"TUSHARE_TOKEN": "YOUR_TUSHARE_TOKEN"
}
},
"finance-data-server": {
"type": "http",
"url": "https://finvestai.top/mcp",
"args": [],
"headers": {
"X-Tushare-Token": "YOUR_TUSHARE_TOKEN"
}
}
}
}For local, zero-setup usage, run the stdio-based server and configure your MCP client to connect via the provided runtime command. For remote access, point your client at the HTTP endpoint and include the token in the headers as shown.
Return the current timestamp in UTC+8 with multiple output formats.
Search financial news with keyword queries.
Retrieve stock or crypto data across markets and compute technical indicators.
Provide index data for major markets.
Summarize CSI index constituents, weights, and valuation metrics.
Deliver macroeconomic indicators such as GDP, CPI, PPI, PMI.
Analyze A-share company finances, management, and fundamentals.
Analyze Hong Kong-listed company finances.
Analyze US-listed company finances.
Fund data including net value, holdings, and distributions.
Query fund managers and their portfolios.
Provide information on convertible bonds.
Access large block trade data.
Analyze capital flow across stocks, markets, and sectors.
Access financing and margin-related data.
Fetch龙虎榜 institutional details for specific dates.
7x24 hot news with deduplication and cross-source similarity handling.