get_balance_sheet
Standardized balance sheet (assets, liabilities, equity) for a US public company, parsed from SEC EDGAR XBRL filings.
Standardized SEC EDGAR financials for US public companies: income statement, balance sheet, cash flow and ratios.
LABSCO SUMMARY
The work being done is normalisation: XBRL filings are consistent within a company and messy across companies, and these statements come back on the same line items either way. Filing dates travel with the income statement, so you can tell how fresh a number is.
A local MCP server over SECfinAPI, a thin wrapper on its REST API. It returns standardized financial statements and ratios for US public companies, parsed from SEC EDGAR XBRL filings.
A free SECfinAPI key in SECFINAPI_KEY from secfinapi.com. Runs locally with npx -y secfinapi-mcp; there is no server to host.
One command plus a key — npx -y secfinapi-mcp, then supply credentials
USE CASES
Pull both income statements and the ratio set built on them.
Read the statement with its filing dates, then the growth figures.
Read assets, liabilities and equity next to the cash flow.
Set operating cash flow against reported net income.
Search the covered companies, then read the metadata with its EDGAR link.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
get_balance_sheetStandardized balance sheet (assets, liabilities, equity) for a US public company, parsed from SEC EDGAR XBRL filings.
get_cash_flowStandardized cash flow statement (operating, investing, financing cash flows) for a US public company, parsed from SEC EDGAR XBRL.
get_company_infoCompany metadata for a US public company: legal name, SIC/industry, exchange, fiscal year end, S&P 500 membership, and a link to its original filings on SEC EDGAR.
get_income_statementStandardized income statement (revenue, cost of revenue, operating income, net income, EPS) for a US public company, parsed from SEC EDGAR XBRL filings. Each period includes its filing date.
get_metrics50+ financial ratios and metrics for a US public company: ROE, ROIC, gross/operating/net margin, FCF margin, debt/equity, current ratio, and year-over-year growth rates.
list_companiesList or search the US public companies available in SECfinAPI. Optionally filter by a name/ticker search term.
BEFORE YOU INSTALL
6 tools when we connected.
All 4 documented setups run the server on your machine.
CONTEXT COST
Rated by the size of the 6 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
git clone https://github.com/michalperni11-gif/secfinapi-mcp
cd secfinapi-mcpRun from source
npm install
npm run build
SECFINAPI_KEY=<YOUR_SECFINAPI_KEY> node dist/index.jsnpx -y secfinapi-mcp{
"mcpServers": {
"secfinapi": {
"command": "npx",
"args": [
"-y",
"secfinapi-mcp"
],
"env": {
"SECFINAPI_KEY": "<YOUR_SECFINAPI_KEY>"
}
}
}
}{
"servers": {
"secfinapi": {
"command": "npx",
"args": [
"-y",
"secfinapi-mcp"
],
"env": {
"SECFINAPI_KEY": "<YOUR_SECFINAPI_KEY>"
}
}
}
}{
"mcpServers": {
"secfinapi": {
"command": "node",
"args": [
"<YOUR_PATH_TO_SEC_FINANCIAL_MCP>/dist/index.js"
],
"env": {
"SECFINAPI_KEY": "<YOUR_SECFINAPI_KEY>"
}
}
}
}