Query SEC EDGAR filings, XBRL financials, and company data via MCP. STDIO or Streamable HTTP.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add secedgar --env EDGAR_USER_AGENT='<EDGAR_USER_AGENT>' -- npx -y @cyanheads/secedgar-mcp-server~/.codex/config.toml
[mcp_servers.secedgar]
command = "npx"
args = ["-y", "@cyanheads/secedgar-mcp-server"]
env = { EDGAR_USER_AGENT = "<EDGAR_USER_AGENT>" }
# codex mcp add secedgar --env EDGAR_USER_AGENT='<EDGAR_USER_AGENT>' -- npx -y @cyanheads/secedgar-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"secedgar": {
"command": "npx",
"args": [
"-y",
"@cyanheads/secedgar-mcp-server"
],
"env": {
"EDGAR_USER_AGENT": "<EDGAR_USER_AGENT>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"secedgar": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/secedgar-mcp-server"
],
"env": {
"EDGAR_USER_AGENT": "<EDGAR_USER_AGENT>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"secedgar": {
"command": "npx",
"args": [
"-y",
"@cyanheads/secedgar-mcp-server"
],
"env": {
"EDGAR_USER_AGENT": "<EDGAR_USER_AGENT>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"secedgar": {
"command": "npx",
"args": [
"-y",
"@cyanheads/secedgar-mcp-server"
],
"env": {
"EDGAR_USER_AGENT": "<EDGAR_USER_AGENT>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"secedgar": {
"command": "npx",
"args": [
"-y",
"@cyanheads/secedgar-mcp-server"
],
"env": {
"EDGAR_USER_AGENT": "<EDGAR_USER_AGENT>"
}
}
}
}Remote
claude mcp add --transport http secedgar https://secedgar.caseyjhand.com/mcp~/.codex/config.toml
[mcp_servers.secedgar]
url = "https://secedgar.caseyjhand.com/mcp"
# codex mcp add secedgar --url https://secedgar.caseyjhand.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"secedgar": {
"url": "https://secedgar.caseyjhand.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"secedgar": {
"type": "http",
"url": "https://secedgar.caseyjhand.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"secedgar": {
"httpUrl": "https://secedgar.caseyjhand.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"secedgar": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://secedgar.caseyjhand.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"secedgar": {
"url": "https://secedgar.caseyjhand.com/mcp"
}
}
}Environment variables
EDGAR_USER_AGENT
Replace the placeholders with your own credentials and keep them out of version control.