Secfinapi MCP logo

Secfinapi MCP

by michalperni11-gif

Queries standardized SEC EDGAR company data, statements, and 40+ financial ratios through MCP.

Install Secfinapi MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "michalperni11-gif-secfinapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "secfinapi-mcp"
      ],
      "env": {
        "SECFINAPI_KEY": "YOUR_VALUE_HERE",
        "SECFINAPI_BASE_URL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env SECFINAPI_KEY=YOUR_VALUE_HERE --env SECFINAPI_BASE_URL=YOUR_VALUE_HERE --transport stdio michalperni11-gif-secfinapi-mcp -- npx -y secfinapi-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y secfinapi-mcp

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The michalperni11-gif/secfinapi-mcp MCP server exposes standardized SEC EDGAR financial data through six MCP tools. It runs locally and forwards requests to the SECfinAPI REST API using an API key. Use it to retrieve company metadata, financial statements, ratios, or a searchable list of US public companies. It fits assistants such as Claude Desktop, Cursor, and other MCP-compatible clients.

Use cases

  • Retrieve standardized income statements for US public companies
  • Compare operating margins and other financial ratios
  • Look up company metadata and SEC EDGAR filing links
  • Search the available public-company dataset

Key features

  • Standardized SEC EDGAR financial data
  • Income statements, balance sheets, and cash flow statements
  • More than 40 financial ratios
  • Company search and metadata lookup
  • Local MCP wrapper for the SECfinAPI REST API

Tools6

What Secfinapi MCP lets your agent do. Expand a tool for its parameters.

Verified live~698 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

27/28 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · secfinapi-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads51Package downloads in the last 30 days.
Last commit6mo agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed6Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Secfinapi MCP works

What michalperni11-gif/secfinapi-mcp does

The michalperni11-gif/secfinapi-mcp MCP server makes SECfinAPI financial data available as tools for AI assistants. It covers US public companies and returns normalized information derived from SEC EDGAR filings rather than exposing raw XBRL directly.

Available data includes company metadata, links to SEC filings, income statements, balance sheets, cash flow statements, and more than 40 financial ratios. The ratios include measures such as return on equity, return on invested capital, margins, and growth. A company listing and search tool helps identify available companies before requesting financial data.

Typical requests include checking a company’s revenue trend or comparing operating margins for multiple companies. The server is intended for assistants that need structured public-company financial information without manually interpreting EDGAR filings.

How it works

The michalperni11-gif/secfinapi-mcp MCP server runs as a local process on the user’s machine. It acts as a thin MCP wrapper around the SECfinAPI REST API, so the local process does not require a separately hosted server. Requests are sent to SECfinAPI, which supplies the financial results to the assistant through MCP.

The standard npm configuration starts the package with npx -y secfinapi-mcp. The MCP client passes SECFINAPI_KEY to the process through its environment. A second variable, SECFINAPI_BASE_URL, can optionally specify the API base URL instead of using the SECfinAPI production API.

Setup and configuration

Add the server to the MCP configuration for the client you use. Claude Desktop uses a configuration with command, args, and an env object. Cursor and VS Code use the same general configuration shape in their MCP settings.

A published-package configuration uses npx with -y followed by secfinapi-mcp, and sets SECFINAPI_KEY in the environment. After saving the configuration, restart the client so the tools become available. The repository also documents running from source with npm install, npm run build, and node dist/index.js, with the API key set in the shell environment.

Tools and capabilities

The michalperni11-gif/secfinapi-mcp MCP server provides these six tools:

  • get_company_info returns company metadata and a link to the company’s SEC EDGAR filings.
  • get_income_statement returns a standardized income statement with filing dates.
  • get_balance_sheet returns a standardized balance sheet.
  • get_cash_flow returns a standardized cash flow statement.
  • get_metrics returns more than 40 financial ratios, including profitability, margin, and growth measures.
  • list_companies lists or searches the available US public companies.

Together, these tools support company lookup, statement retrieval, ratio analysis, and comparisons that an assistant can perform from natural-language requests.

Limitations and notes

The server depends on access to SECfinAPI and requires the SECFINAPI_KEY environment variable.

The server itself runs locally, but the financial data is fetched through the SECfinAPI REST API. The project is licensed under MIT.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Secfinapi MCP

Use `npx -y secfinapi-mcp` in the MCP client configuration and set the `SECFINAPI_KEY` environment variable.

Yes. The README provides a Claude Desktop MCP configuration using `npx`, `secfinapi-mcp`, and `SECFINAPI_KEY`.

It provides company metadata, SEC filing links, standardized income statements, balance sheets, cash flow statements, and more than 40 financial ratios.

It requires a `SECFINAPI_KEY` obtained from SECfinAPI.

Yes. Set the optional `SECFINAPI_BASE_URL` environment variable to override the default SECfinAPI production API.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSecfinapi MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/michalperni11-gif-secfinapi-mcp?style=directory)](https://allmcps.com/mcp/michalperni11-gif-secfinapi-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/michalperni11-gif-secfinapi-mcp"><img src="https://allmcps.com/api/badge/michalperni11-gif-secfinapi-mcp?style=directory" alt="Secfinapi MCP on AllMCPs" /></a>