secfinapi-mcp
MCP server for SEC Financial API providing access to financial data from the U.S. Securities and Exchange Commission.
README
secfinapi-mcp
MCP server for SECfinAPI β standardized SEC EDGAR financial data (income statements, balance sheets, cash flow, 50+ ratios) as tools for Claude, Cursor, and other AI assistants.
Ask your AI assistant things like "What's Apple's revenue trend?" or "Compare MSFT and GOOGL operating margins" β it fetches the data live through SECfinAPI.
It runs locally on your machine and is a thin wrapper over the SECfinAPI REST API. No server to host, no extra cost.
Setup
- Get an API key (free) at https://www.secfinapi.com.
- Add the server to your AI assistant's MCP config.
Claude Desktop
Open Settings β Developer β Edit Config and add:
Once published to npm:
{
"mcpServers": {
"secfinapi": {
"command": "npx",
"args": ["-y", "secfinapi-mcp"],
"env": { "SECFINAPI_KEY": "your-api-key-here" }
}
}
}
Running from source (before publishing):
{
"mcpServers": {
"secfinapi": {
"command": "node",
"args": ["C:/path/to/sec-financial-mcp/dist/index.js"],
"env": { "SECFINAPI_KEY": "your-api-key-here" }
}
}
}
Restart Claude Desktop. The 6 tools below appear under the tools (π) menu.
Cursor / VS Code
Same config shape in the editor's MCP settings β command, args, and the
SECFINAPI_KEY env var.
Tools
| Tool | Returns |
|---|---|
get_company_info |
Company metadata + a link to its filings on SEC EDGAR |
get_income_statement |
Standardized income statement (with filing dates) |
get_balance_sheet |
Standardized balance sheet |
get_cash_flow |
Standardized cash flow statement |
get_metrics |
50+ financial ratios (ROE, ROIC, margins, growthβ¦) |
list_companies |
List / search the available US public companies |
Environment variables
| Variable | Required | Default |
|---|---|---|
SECFINAPI_KEY |
yes | β |
SECFINAPI_BASE_URL |
no | the SECfinAPI production API |
Run from source
npm install
npm run build
SECFINAPI_KEY=your-key node dist/index.js
Publishing (maintainer)
npm run build
npm publish
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.