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-mcp

Or 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

AppConfig file
Claude Desktop (macOS)~/Library/Application Support/Claude/claude_desktop_config.json
Claude Desktop (Windows)%APPDATA%\Claude\claude_desktop_config.json
ChatGPT DesktopSettings → 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:

ToolWhat it does
search_filingsSearch filings by ticker, CIK, form type, or date range
get_entityLook up a company by ticker or CIK
get_filingFetch a single filing by ID or accession number
get_newsGet 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.

Ready to start building?

Get your free API key — 1,000 requests/month, no credit card required.

Get API Key →