finance
LLM-powered MCP server for building financial deep-research agents, integrating web search, Crawl4AI scraping, and entity extraction into composable analysis flows.
claude mcp add --transport stdio flowllm-ai-finance-mcp uvx finance-mcp config=default,ths mcp.transport=stdio llm.default.model_name=qwen3-30b-a3b-thinking-2507 disabled_flows='["tavily_search","mock_search","react_agent"]' \ --env TAVILY_API_KEY="xxx" \ --env FLOW_LLM_API_KEY="xxx" \ --env DASHSCOPE_API_KEY="xxx" \ --env FLOW_LLM_BASE_URL="https://dashscope.aliyuncs.com/compatible-mode/v1" \ --env TUSHARE_API_TOKEN="xxx" \ --env BAILIAN_MCP_API_KEY="xxx"
How to use
Finance MCP is an intelligent agent toolkit and MCP server designed for financial research workflows. Built on the FlowLLM framework, it exposes a suite of pre-configured tools tailored for financial data retrieval, analysis, and synthesis, including web searches through DashScope and Tavily, stock data access via Tushare, and live code execution within configurable flows. The server can operate in Stdio mode for local MCP clients or in HTTP/SSE service mode for remote access, allowing you to integrate it into larger research pipelines or dashboards. Users can enable or disable individual flows to tailor the system to their research goals, and the platform supports multi-tool coordination (e.g., DashScope searches combined with historical data analysis) through modular YAML configurations. Typical workflows include price-volume analysis, entity extraction from text, and executable code evaluation within secure sandboxes.
To use the Stdio mode, run the provided configuration with uvx, which communicates over standard input/output. For remote access via HTTP/SSE, start the server with the appropriate environment variables filled (API keys and tokens) and connect via the SSE endpoint or the FastMCP client to programmatically call tools such as dashscope_search, tavily_search, or extract_entities_code. The Quick Start examples in the README illustrate both modes and show how to pass initial model parameters and disable specific flows to match your research scope.
How to install
Prerequisites:
- Python 3.10 or newer
- pip (Python package manager)
Install Finance MCP from PyPI:
pip install finance-mcp
(Alternative) Install via uv wrapper for stdio mode if you are using the Stdio workflow:
uv pip install finance-mcp
(Optional) If you plan to run in service mode, prepare environment variables as described in the README (API keys for DashScope, Tavily, Tushare, etc.).
Verify installation by listing installed packages or running a quick help:
python -m finance_mcp --help
Then configure and run as demonstrated in the Quick Start section of the README.
Additional notes
Tips and notes:
- Ensure you provide valid API keys for FLOW_LLM_API_KEY, DASHSCOPE_API_KEY, TUSHARE_API_TOKEN, TAVILY_API_KEY, and BAILIAN_MCP_API_KEY when using service mode.
- In Stdio mode, the model name (llm.default.model_name) and disabled flows can be adjusted to balance cost and capabilities.
- The Finance MCP supports enabling/disabling flows via YAML or the provided config strings; use this to tailor performance and cost.
- When running in service mode, you can connect using the FastMCP Python client for convenient tool discovery and invocation.
- If you encounter rate limits or IP blocking with crawl services, monitor usage and consider enabling higher-level caching as described in the documentation.
Related MCP Servers
PPTAgent
An Agentic Framework for Reflective PowerPoint Generation
AgentChat
AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
TradingAgents mode
TradingAgents-MCPmode 是一个创新的多智能体交易分析系统,集成了 Model Context Protocol (MCP) 工具,实现了智能化的股票分析和交易决策流程。系统通过多个专业化智能体的协作,提供全面的市场分析、投资建议和风险管理。
phone
A phone control plugin for MCP that allows you to control your Android phone through ADB commands to connect any human
python -client
支持查询主流agent框架技术文档的MCP server(支持stdio和sse两种传输协议), 支持 langchain、llama-index、autogen、agno、openai-agents-sdk、mcp-doc、camel-ai 和 crew-ai
yfinance
MCP server from narumiruna/yfinance-mcp