Skip to main content
Glama

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

  1. Get an API key (free) at https://www.secfinapi.com.

  2. 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

Install Server
A
license - permissive license
A
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/michalperni11-gif/secfinapi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server