Documentation Index
Fetch the complete documentation index at: https://docs.secapi.ai/llms.txt
Use this file to discover all available pages before exploring further.
MCP Server Installation
SEC API provides a hosted MCP server for AI agents. Connect once to expose the SEC API tool set in an MCP-aware client.Claude Desktop
Add to yourclaude_desktop_config.json:
~/Library/Application Support/Claude/claude_desktop_config.json.
Claude Code
Cursor
Add to your.cursor/mcp.json:
Get Your API Key
- Get an API key at secapi.ai
- Create or copy an API key from your account
- Set it as
SECAPI_API_KEYin your environment
Available Tools
Once connected, your agent has access to:| Tool | Description |
|---|---|
entities.resolve | Resolve company by ticker, CIK, FIGI, ISIN, CUSIP |
filings.search | Search SEC filings with 20+ filters |
filings.latest | Get latest filing for a company |
sections.search | Search filing sections (full-text + semantic) |
statements.get | Get financial statements (income, balance, cash flow) |
facts.get | Get XBRL facts by concept |
owners.13f | Get institutional holdings |
insiders.list | List insider trades |
compensation.get | Get executive compensation |
enforcement.list | Search enforcement actions |
intelligence.company | One-call company briefing |
intelligence.security | One-call security analysis |
Verify Connection
Ask your agent:“Use SEC API to look up Apple’s latest 10-K filing”The agent should call
filings.latest with ticker: AAPL, form: 10-K.