Use with AI (MCP)
The sec-daily-mcp package exposes SEC Daily as a Model Context Protocol server. Once connected, Claude, ChatGPT, Cursor, or Windsurf can search filings, look up companies, and pull news — all in plain English, no code required.
1. Install
Install the MCP server from npm:
npm install -g sec-daily-mcpOr skip the install entirely — the config in the next step uses npx, which downloads and runs it on demand automatically.
2. Add to your AI app config
Add the block below to your AI app's MCP config file, then restart the app.
{
"mcpServers": {
"sec-daily": {
"command": "npx",
"args": ["-y", "sec-daily-mcp"],
"env": {
"SEC_DAILY_API_KEY": "your_key_here"
}
}
}
}Config file locations
| App | Config file |
|---|---|
| Claude Desktop (macOS) | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Claude Desktop (Windows) | %APPDATA%\Claude\claude_desktop_config.json |
| ChatGPT Desktop | Settings → Integrations → MCP Servers |
| Cursor | ~/.cursor/mcp.json |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
3. Ask your AI
Once connected, try these prompts:
- “Show me Apple's latest 10-K and 10-Q filings.”
- “What 8-K filings did Tesla submit last month?”
- “Find all S-1 filings from this week.”
- “Look up the CIK for Microsoft.”
- “Get the latest SEC press releases.”
Available tools
The MCP server exposes four tools your AI can call:
| Tool | What it does |
|---|---|
search_filings | Search filings by ticker, CIK, form type, or date range |
get_entity | Look up a company by ticker or CIK |
get_filing | Fetch a single filing by ID or accession number |
get_news | Get SEC press releases and news items |
Using in code with the OpenAI Agents SDK
You can also connect the MCP server programmatically using the OpenAI Agents SDK:
import { MCPServerStdio } from "@openai/agents";
const secDaily = new MCPServerStdio({
name: "sec-daily",
fullCommand: "npx -y sec-daily-mcp",
env: { SEC_DAILY_API_KEY: process.env.SEC_DAILY_API_KEY },
});
// The agent can now call search_filings, get_entity, etc.