FinResearch MCP

FinResearch MCP

Enables SEC EDGAR financial research, analysis, valuation, and chart data generation through natural language.

Category
访问服务器

README

FinResearch MCP

FinResearch MCP is a production-oriented Model Context Protocol server for SEC EDGAR Company Facts research, financial analysis, valuation, and plot-ready data. It is designed as a transparent foundation for AI-assisted equity research—not as investment advice.

Highlights

  • Reusable, rate-limited SEC client with timeouts, transient retries, response validation, and a five-minute in-memory Company Facts cache.
  • Normalized annual financial histories for income statement, cash-flow, and balance-sheet metrics.
  • Profitability, liquidity, leverage, efficiency, and cash-conversion ratios.
  • Assumption-driven CAPM, WACC, DCF, enterprise value, equity value, intrinsic value, and sensitivity analysis tools.
  • High-level company analysis, peer comparison, and structured chart data.
  • Provider-neutral RAG contracts for future 10-K/10-Q, MD&A, and risk-factor retrieval.

Installation and usage

Requirements: Python 3.12+, uv, and a contact email address for SEC requests.

uv sync
uv run mcp dev main.py

mcp dev main.py launches MCP Inspector. The exported main:mcp object also works with stdio-based MCP clients. Set FINRESEARCH_LOG_LEVEL=DEBUG for diagnostic logs; logs use stderr so MCP stdio remains clean.

Tools

Area Tools
Existing tools calculate_cagr, get_sec_company_facts, get_financial_fact
Financial data get_company_financials, get_financial_ratios
Analysis analyze_company, get_company_chart_data, compare_companies
Valuation calculate_capm_cost_of_equity, calculate_wacc_rate, calculate_dcf_valuation, calculate_enterprise_value, calculate_equity_value_from_enterprise_value, calculate_intrinsic_value_per_share, run_dcf_sensitivity_analysis
Version 2 platform ai_analyze_company, index_sec_filing, search_sec_filing_rag, analyze_portfolio, get_market_snapshot, get_market_price_history, get_dashboard_data, export_company_report_markdown, export_company_report_pdf

get_company_financials covers revenue, revenue history, net income, operating income/EBIT, gross profit, EBITDA when depreciation data is reported, EPS, diluted EPS, operating cash flow, free cash flow, CapEx, cash, debt, current assets/liabilities, total assets/liabilities, equity, and book value. Market capitalization and market-derived enterprise value are explicitly null because SEC Company Facts is not a market-data service.

Data and calculation notes

  • Annual duration facts are 10-K records between 330 and 380 days; when a period has multiple filings, the most recently filed observation is used.
  • Instant balance-sheet facts use their latest 10-K period end.
  • Unreported or non-standard company concepts return null; the server does not fabricate estimates.
  • Ratio calculations use reported latest values. ROIC assumes a 21% tax rate where tax expense is not consistently available.
  • DCF tools require explicit assumptions and return structured intermediate projections for auditability.

Development

.venv/bin/python -m compileall -q main.py clients models rag tools utils tests
.venv/bin/python -m unittest discover -s tests -v

The tests use mocked HTTP transports and never call SEC EDGAR. See architecture documentation, RAG preparation, and example prompts. See Version 2 platform documentation for filing RAG, market-data limitations, dashboard payloads, portfolios, and report exports.

Folder structure

clients/   SEC API integration
models/    typed financial domain models
tools/     MCP tool groups
utils/     extraction, ratios, valuation, logging, constants
rag/       future filing-retrieval interfaces
tests/     offline unit tests
docs/      architecture and RAG design
examples/  prompts for MCP clients

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选