SuperAPIAI Directory

datavidence-financials-mcp

github.com · AI finance

Datavidence Financials MCP Server is an open-source Model Context Protocol (MCP) server for the Datavidence Financials API, enabling LLM agents to retrieve normalized US GAAP financial statements from SEC EDGAR, including income statements, balance sheets, and cash flow statements. It supports returning data as reported at the time via as_of, attaching SEC accession, filing date, and EDGAR link to each value, and provides tools for batch queries, filing lists, data revisions, company search, and quota queries. The connector is MIT-licensed and the underlying API is a commercial service; it offers sample data without registration, while live data requires a RapidAPI key.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose: To provide LLM agents with normalized US GAAP financial statement data from SEC EDGAR, covering income statements, balance sheets, and cash flow statements, reducing the work of models hallucinating numbers due to inconsistent XBRL tags or developers building their own normalization layer. This connector is the open-source AI-native layer for the Datavidence Financials API; the connector is MIT-licensed and the underlying API is a commercial service.

Key capabilities:

  • get_financials: Retrieve the normalized three statements for a single company and fiscal year, supporting as_of (data as reported at that time, avoiding look-ahead bias), include_provenance (attaching SEC accession, filing date, and direct EDGAR link to each value), and include_ratios (margins, ROA/ROE, leverage).
  • get_financials_batch: Up to 25 companies at once, returned by ticker, counted as one quota unit, with a single erroneous ticker not affecting the whole batch.
  • list_filings: View recent SEC filings by form type (e.g., 10-K) to first confirm available fiscal years.
  • get_revisions: View changes in a fiscal year's data across filings, whether it was restated and by how much, with filing date, form, accession, and EDGAR link attached.
  • search_companies: Look up ticker and CIK by stock symbol or company name.
  • get_usage: View the key's monthly quota (plan, used, remaining, reset); free to call and does not consume quota. Errors return the API's recovery_action hint, making it easy for agents to self-correct.

Usage: Can run as a stdio MCP server, or clients supporting remote MCP (streamable HTTP) can connect directly https://mcp.financials.datavidence.ai/mcp;样例数据无需安装和请求头。资料提到可用 Run in a temporary uv environment, install persistently with pipx, or configure in Claude Desktop's claude_desktop_config.json or Codex's ~/.codex/config.toml and restart the client; however, the material does not fully show the specific installation commands and all configuration snippets. The demo key sandbox_demo_key returns sample data without registration; live SEC data requires a RapidAPI key and configuring environment variables such as FL_API_KEY. For the remote URL method, DATAVIDENCE_API_KEY can be set. The default API address is https://api.financials.datavidence.ai,可通过 FL_API_BASE_URL points to the RapidAPI gateway.

RapidAPI plans: Free (1,500 calls/mo), Pro ($29 / 50k), Business ($99 / 300k); all plans have identical features, differing only in monthly call volume. claude.ai can https://mcp.financials.datavidence.ai/mcp Added as a custom connector without login, but most accounts cannot currently send an API key, so sample data is obtained.

Applicable scenarios: building investment research, financial statement analysis, screening, backtesting, and citation-based question-answering agents that need SEC financial data; scenarios that need to restore "as reported at the time" figures by historical point in time to avoid look-ahead bias; compliance or research scenarios that need every value to be traceable to an SEC filing.

Limitations and notes: only US GAAP is supported; IFRS filings return an explicit unsupported signal rather than incorrect figures; historical coverage is the XBRL era (approximately 2009 to present). If a company reorganizes into a new holding entity, SEC's ticker mapping points only to the successor CIK, while earlier years remain under the predecessor CIK, so cik must be passed directly. The connector runs locally, with no telemetry and no data storage; when tools are called, tool parameters and the API key header are sent to the API, and it does not read local files or the rest of the conversation. The API records endpoint, HTTP status, response time, timestamp, and IP, and associates them with the API key hash; usage logs are retained for 12 months, are not sold, and are shared only with the subscribed market gateway and hosting infrastructure providers. The materials also mention that the project is an individual early-stage project, and its 29 tests require no network or API key.

Project and documentation:https://github.com/datavidence/datavidence-financials-mcp ; site:https://financials.datavidence.ai ; MCP quick start:https://financials.datavidence.ai/mcp ;PyPI:https://pypi.org/project/datavidence-financials/ ;RapidAPI:https://rapidapi.com/datavidence-ykNLbvGmT/api/datavidence-financials-api ; privacy policy:https://financials.datavidence.ai/privacy 。

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools