{"_id":"edgar-mcp","_rev":"5-65d7fcaec3f9c1953b3b726ec7879145","name":"edgar-mcp","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"edgar-mcp","version":"1.0.0","keywords":["mcp","model-context-protocol","sec","edgar","sec-edgar","filings","10-k","xbrl","financials","stocks","claude","ai","llm"],"author":{"name":"Daniel Shashko"},"license":"MIT","_id":"edgar-mcp@1.0.0","maintainers":[{"name":"danielshashko","email":"daniel@organikpi.com"}],"homepage":"https://github.com/danishashko/edgar-mcp#readme","bugs":{"url":"https://github.com/danishashko/edgar-mcp/issues"},"bin":{"edgar-mcp":"bin/cli.js"},"dist":{"shasum":"6774eda1f3ed9823033e40ee88a1928ab1ce5217","tarball":"https://registry.npmjs.org/edgar-mcp/-/edgar-mcp-1.0.0.tgz","fileCount":7,"integrity":"sha512-kvOt6Qf2Ewd4U60Y+dfiRGWxIquoqgeS8zjY2qyu65NYE+Jk9z0UaSnR1C3Ukc2/nYn1pRiJ3ta3689daZPCLw==","signatures":[{"sig":"MEQCIHIiktAhWRiXe/KGq2qjWOULL1hRwmnj4b0LBWSFRzV1AiAn6c2DwW6Ri/LqiveehZeg/p7GoSPMaRkRVdMTRO+iew==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43975},"main":"bin/cli.js","engines":{"node":">=16","python":">=3.10"},"gitHead":"fdd2956eabf558fd66d8169943a7c688e9e0fa9c","scripts":{"test":"python test_installation.py"},"_npmUser":{"name":"danielshashko","email":"daniel@organikpi.com"},"repository":{"url":"git+https://github.com/danishashko/edgar-mcp.git","type":"git"},"_npmVersion":"10.9.2","description":"SEC EDGAR MCP Server - U.S. company filings (10-K, 10-Q, 8-K), XBRL financials, and full-text filing search via Model Context Protocol. No API key required.","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/edgar-mcp_1.0.0_1780416187613_0.7179109936119406","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"edgar-mcp","version":"1.0.1","keywords":["mcp","model-context-protocol","sec","edgar","sec-edgar","filings","10-k","xbrl","financials","stocks","claude","ai","llm"],"author":{"name":"Daniel Shashko"},"license":"MIT","_id":"edgar-mcp@1.0.1","maintainers":[{"name":"danielshashko","email":"daniel@organikpi.com"}],"homepage":"https://github.com/danishashko/edgar-mcp#readme","bugs":{"url":"https://github.com/danishashko/edgar-mcp/issues"},"bin":{"edgar-mcp":"bin/cli.js"},"dist":{"shasum":"eceda5e11a78464bce2d00248066f3f98a4218c8","tarball":"https://registry.npmjs.org/edgar-mcp/-/edgar-mcp-1.0.1.tgz","fileCount":8,"integrity":"sha512-ciE0xqHY2Xp4w0ZBMxOyXWAGxVhcmIScDqMzAK9R2homxzD3cT2sClv3T8We49AyqDiYYiPjmvW0ZJpJllv3/g==","signatures":[{"sig":"MEUCIQDtKiSDpvhvw0T4XhhlVw4Azj5OhdCvvfvMb33pBiJSHwIgQuLpk3Nv/FQIHy4bngaxG9VUY5UgINCj8mMjUi5Ikd0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45182},"main":"bin/cli.js","engines":{"node":">=16","python":">=3.10"},"gitHead":"a50fe92b1da6e7dd7333aad70cb842123d3ed3fb","mcpName":"io.github.danishashko/edgar-mcp","scripts":{"test":"python test_installation.py"},"_npmUser":{"name":"danielshashko","email":"daniel@organikpi.com"},"repository":{"url":"git+https://github.com/danishashko/edgar-mcp.git","type":"git"},"_npmVersion":"10.9.2","description":"SEC EDGAR MCP Server - U.S. company filings (10-K, 10-Q, 8-K), XBRL financials, and full-text filing search via Model Context Protocol. No API key required.","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/edgar-mcp_1.0.1_1780430076793_0.8726654747618505","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"edgar-mcp","version":"1.0.2","keywords":["mcp","model-context-protocol","sec","edgar","sec-edgar","filings","10-k","xbrl","financials","stocks","claude","ai","llm"],"author":{"name":"Daniel Shashko"},"license":"MIT","_id":"edgar-mcp@1.0.2","maintainers":[{"name":"danielshashko","email":"daniel@organikpi.com"}],"homepage":"https://github.com/danishashko/edgar-mcp#readme","bugs":{"url":"https://github.com/danishashko/edgar-mcp/issues"},"bin":{"edgar-mcp":"bin/cli.js"},"dist":{"shasum":"fd214b0273b89d789b96e5332b0474d84d70e753","tarball":"https://registry.npmjs.org/edgar-mcp/-/edgar-mcp-1.0.2.tgz","fileCount":8,"integrity":"sha512-4WyFlQCQuzmEHgwfCRvwLvJMDr+Wg9kOq92N9Rc2zjcS4D64HIVbVw0XoDa/cfjdVFSAE26Ach6wO9SBFH+iAA==","signatures":[{"sig":"MEYCIQCNm+19NqtsYVpMYz172rpWmc8Y4mI29al8WQ8zkvgUMQIhAIBkWFikHmy9aZOJmUJLjqePvBbGXsBJ9AiZbw+5cWz1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45779},"main":"bin/cli.js","engines":{"node":">=16","python":">=3.10"},"gitHead":"eafc48f85b62c1bc91bc00f3baf4e2652beaa1b2","mcpName":"io.github.danishashko/edgar-mcp","scripts":{"test":"python test_installation.py"},"_npmUser":{"name":"danielshashko","email":"daniel@organikpi.com"},"repository":{"url":"git+https://github.com/danishashko/edgar-mcp.git","type":"git"},"_npmVersion":"10.9.2","description":"SEC EDGAR MCP Server - U.S. company filings (10-K, 10-Q, 8-K), XBRL financials, and full-text filing search via Model Context Protocol. No API key required.","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/edgar-mcp_1.0.2_1780578536169_0.6222124773979922","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"edgar-mcp","version":"1.0.3","keywords":["mcp","model-context-protocol","sec","edgar","sec-edgar","filings","10-k","xbrl","financials","stocks","claude","ai","llm"],"author":{"name":"Daniel Shashko"},"license":"MIT","_id":"edgar-mcp@1.0.3","maintainers":[{"name":"danielshashko","email":"daniel@organikpi.com"}],"homepage":"https://github.com/danishashko/edgar-mcp#readme","bugs":{"url":"https://github.com/danishashko/edgar-mcp/issues"},"bin":{"edgar-mcp":"bin/cli.js"},"dist":{"shasum":"c5820e9f32bb2dbb3fd05db411cca680b9cae2cb","tarball":"https://registry.npmjs.org/edgar-mcp/-/edgar-mcp-1.0.3.tgz","fileCount":8,"integrity":"sha512-wTE0qNH1rATnjNr+0crc1OFjkdthGkcuCAphyykbe2rT/aBuPP9Oj5gDoOavFzG3L10Nkz1oFrBmGOyLOfEfZQ==","signatures":[{"sig":"MEUCIF1DkYMcgXbu7iYkk8Bo3dSkRgHfejUixOL4yVlv0wQfAiEAjc/KJxmyHOLl3Yl8EcCAn1YFkPpfKYc1qd9bQUaCjik=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47596},"main":"bin/cli.js","engines":{"node":">=16","python":">=3.10"},"gitHead":"673279631716904f0e1496e7c4e0eb35cdcf589a","mcpName":"io.github.danishashko/edgar-mcp","scripts":{"test":"python test_installation.py"},"_npmUser":{"name":"danielshashko","email":"daniel@organikpi.com"},"repository":{"url":"git+https://github.com/danishashko/edgar-mcp.git","type":"git"},"_npmVersion":"10.9.2","description":"SEC EDGAR MCP Server - U.S. company filings (10-K, 10-Q, 8-K), XBRL financials, and full-text filing search via Model Context Protocol. No API key required.","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/edgar-mcp_1.0.3_1786109859235_0.5686251599716123","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"_id":"edgar-mcp@1.1.0","bin":{"edgar-mcp":"bin/cli.js"},"bugs":{"url":"https://github.com/danishashko/edgar-mcp/issues"},"dist":{"shasum":"0da8a6b017e8ef6f2715f11266ff98dfeee6b18e","tarball":"https://registry.npmjs.org/edgar-mcp/-/edgar-mcp-1.1.0.tgz","fileCount":8,"integrity":"sha512-OlyTAA4/AqKefUwIMnTy2eC+Lyu+BtzHGqAc91VKOs9Smn77g4h3wOFIdKj4VESRauYMZPJcFwHTPW2p1KxJWQ==","signatures":[{"sig":"MEUCIHTjz1k6Ah7mAuf/WFTy9sLXOZqp7/0flSS3w+Q2y119AiEAny3klisAqKBodXFmWcJV0G9cvMIAwlmZAD9Hw71bgj8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFtSGV4qJnYS1M7qe4OjLS4WwLqH8VAkKFpE80KLhLNNAiEA+vi5uufJuHqS1Fgh4RIqS7KhtbdFj5avzD83Dn5/1cU="}],"unpackedSize":54919},"main":"bin/cli.js","name":"edgar-mcp","author":{"name":"Daniel Shashko"},"engines":{"node":">=16","python":">=3.10"},"gitHead":"673279631716904f0e1496e7c4e0eb35cdcf589a","license":"MIT","mcpName":"io.github.danishashko/edgar-mcp","scripts":{"test":"python test_installation.py"},"version":"1.1.0","_npmUser":{"name":"danielshashko","email":"daniel@organikpi.com"},"homepage":"https://github.com/danishashko/edgar-mcp#readme","keywords":["mcp","model-context-protocol","sec","edgar","sec-edgar","filings","10-k","xbrl","financials","stocks","claude","ai","llm"],"repository":{"url":"git+https://github.com/danishashko/edgar-mcp.git","type":"git"},"_npmVersion":"10.9.2","description":"SEC EDGAR MCP Server - U.S. company filings (10-K, 10-Q, 8-K), XBRL financials, and full-text filing search via Model Context Protocol. No API key required.","directories":{},"maintainers":[{"name":"danielshashko","email":"daniel@organikpi.com"}],"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/edgar-mcp_1.1.0_1788880284877_0.8874007088596385"}}},"time":{"created":"2026-06-02T16:03:07.567Z","modified":"2026-09-08T15:11:25.293Z","1.0.0":"2026-06-02T16:03:07.783Z","1.0.1":"2026-06-02T19:54:36.982Z","1.0.2":"2026-06-04T13:08:56.333Z","1.0.3":"2026-08-07T13:37:39.389Z","1.1.0":"2026-09-08T15:11:24.975Z"},"bugs":{"url":"https://github.com/danishashko/edgar-mcp/issues"},"author":{"name":"Daniel Shashko"},"license":"MIT","homepage":"https://github.com/danishashko/edgar-mcp#readme","keywords":["mcp","model-context-protocol","sec","edgar","sec-edgar","filings","10-k","xbrl","financials","stocks","claude","ai","llm"],"repository":{"url":"git+https://github.com/danishashko/edgar-mcp.git","type":"git"},"description":"SEC EDGAR MCP Server - U.S. company filings (10-K, 10-Q, 8-K), XBRL financials, and full-text filing search via Model Context Protocol. No API key required.","maintainers":[{"name":"danielshashko","email":"daniel@organikpi.com"}],"readme":"# SEC EDGAR MCP Server 🏛️\n\n[![npm version](https://img.shields.io/npm/v/edgar-mcp.svg)](https://www.npmjs.com/package/edgar-mcp)\n[![npm downloads](https://img.shields.io/npm/dm/edgar-mcp.svg)](https://www.npmjs.com/package/edgar-mcp)\n[![Python](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://www.python.org/downloads/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nU.S. SEC filings and financial data for Claude Desktop and any MCP-compatible client, powered by [SEC EDGAR](https://www.sec.gov/edgar). Search companies, pull filings (10-K, 10-Q, 8-K, Form 4, ...), read XBRL financials, and full-text search across all filings — all from natural language. **No API key required.**\n\n> **npm package:** [`edgar-mcp`](https://www.npmjs.com/package/edgar-mcp) &nbsp;·&nbsp; **GitHub repo:** [`danishashko/edgar-mcp`](https://github.com/danishashko/edgar-mcp).\n\n## 🎯 What You Get\n\n- 🔎 **Company lookup** by name or ticker → CIK\n- 🗂️ **Recent filings** (any form type) with direct document links\n- 📄 **Latest filing** of a type (newest 10-K / 10-Q / 8-K) in one call\n- 💰 **Financial highlights** (revenue, net income, assets, equity, EPS) from XBRL\n- 📈 **Concept history** — any GAAP line item over time\n- 🔬 **Full-text search** across the last ~10 years of filings\n\nEvery tool returns human-readable **markdown** by default, or structured **JSON** on request (`response_format: \"json\"`). Lightweight (Python standard library + `mcp` only), no API key, retries on rate limits.\n\n## 🚀 Quick Start\n\nAdd this to your Claude Desktop config and restart Claude:\n\n- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows:** `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"edgar\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"edgar-mcp\"],\n      \"env\": {\n        \"SEC_USER_AGENT\": \"your-app-name your@email.com\"\n      }\n    }\n  }\n}\n```\n\nThe SEC asks every API client to send a descriptive `User-Agent` with contact info. Set `SEC_USER_AGENT` to your own name/email (a default is provided so it works out of the box). On first launch the npx wrapper creates an isolated Python environment and installs the dependency (one-time, ~a minute). You need **Python 3.10+** and **Node.js 16+**.\n\n### Prefer a global install?\n\n```bash\nnpm install -g edgar-mcp\n```\n\n```json\n{\n  \"mcpServers\": {\n    \"edgar\": {\n      \"command\": \"edgar-mcp\",\n      \"env\": { \"SEC_USER_AGENT\": \"your-app-name your@email.com\" }\n    }\n  }\n}\n```\n\n## 🌐 HTTP mode (n8n, remote agents, anything that connects to a URL)\n\nSome clients spawn an MCP server as a child process and talk to it over stdio;\nothers only take a URL. n8n's **MCP Client Tool** node is the second kind - it\noffers HTTP Streamable and SSE and no way to launch a command - so stdio alone\nputs the server out of reach.\n\n`--http` serves the same 6 tools over Streamable HTTP at `/mcp`:\n\n```bash\nnpx -y edgar-mcp --http\n# -> http://127.0.0.1:8000/mcp\n```\n\n| Flag | Default | What it does |\n|---|---|---|\n| `--http` | off | Serve Streamable HTTP at `/mcp` instead of stdio |\n| `--host` | `127.0.0.1` | Interface to bind |\n| `--port` | `8000` | Port to bind |\n| `--allowed-host` | see below | Host header to accept, repeatable |\n| `--stateful` | off | Keep a session per client instead of stateless |\n\nNo authentication is added, so keep it on an interface you trust.\n\n### Reaching it from a container\n\nn8n in Docker is not on your loopback interface, so bind wider and use the\nhost alias:\n\n```bash\nnpx -y edgar-mcp --http --host 0.0.0.0 --port 8931\n```\n\nThen point the client at `http://host.docker.internal:8931/mcp` with\nauthentication set to **None**. A plain HTTP Request node works too: POST\nJSON-RPC to that URL with `Accept: application/json, text/event-stream` - both\nmedia types are required, and the reply comes back as an SSE frame.\n\nDNS-rebinding protection stays on when you bind wider. `localhost`,\n`127.0.0.1` and `host.docker.internal` on the bound port are accepted by\ndefault; any other name needs `--allowed-host name:port`, and a request\narriving under an unlisted name gets `421 Misdirected Request`.\n\n## 🔧 Available Tools\n\n| Tool | What it returns | Parameters |\n|------|-----------------|------------|\n| `search_company` | Companies matching a name/ticker, with their CIK | `query`, `limit` |\n| `get_recent_filings` | Recent filings (form, dates, link), optional form filter | `identifier`, `form_type`, `limit` |\n| `get_latest_filing` | The newest filing of a given type, with a document link | `identifier`, `form_type` |\n| `get_company_facts` | Headline financials (revenue, net income, assets, equity, cash, EPS) | `identifier` |\n| `get_concept` | One XBRL concept's reported history over time | `identifier`, `concept`, `limit` |\n| `full_text_search` | Filings matching a keyword/phrase across all companies | `query`, `forms`, `limit` |\n\nEvery tool also accepts `response_format` (`\"markdown\"`, the default, or `\"json\"`). `identifier` accepts a ticker, CIK, or company name.\n\n**Common XBRL concepts for `get_concept`:** `Revenues` / `RevenueFromContractWithCustomerExcludingAssessedTax`, `NetIncomeLoss`, `Assets`, `Liabilities`, `StockholdersEquity`, `EarningsPerShareDiluted`.\n\n## 💬 Example Prompts\n\nOnce the server is connected, just ask Claude:\n\n- \"What's Apple's latest 10-K?\"\n- \"Show me Tesla's recent 8-K filings.\"\n- \"What are Microsoft's headline financials?\"\n- \"Show me NVIDIA's net income over the last few years.\"\n- \"Which companies mention 'quantum computing' in their 10-Ks?\"\n- \"Find the CIK for Berkshire Hathaway.\"\n\n## 🐛 Troubleshooting\n\n**\"SEC EDGAR is rate-limiting requests\"**\nEDGAR allows ~10 requests/second. The server retries automatically; wait a moment if it persists.\n\n**\"Not found\"**\nUse `search_company` to confirm the exact ticker/CIK first.\n\n**\"Command not found\" / \"Python not found\"**\nEnsure Python 3.10+ and Node.js 16+ are installed and on your PATH. On macOS/Linux, try `python3`.\n\n**Tools not showing up in Claude**\n1. Confirm the config file is valid JSON (no trailing commas).\n2. Fully quit and reopen Claude Desktop.\n\n**Using a different model or provider (LiteLLM, OpenRouter, NVIDIA NIM, a local model)**\nThis server never talks to a model. Your client starts it as a local process and\nspeaks JSON-RPC over stdin/stdout, so changing `ANTHROPIC_BASE_URL` or swapping the\nmodel behind your client has no effect on it. If tools stop firing after a switch\nlike that, check two things: the model has to support function calling, and a proxy\nconfigured to drop unsupported parameters can silently strip your tool definitions,\nwhich produces no error at all. Run `/mcp` in your client (or `claude mcp list`) to\nconfirm the server is connected before suspecting the server.\n\n## 🛠️ Manual Installation (Alternative)\n\nIf you would rather run the Python file directly instead of via npx:\n\n**1. Download the server and install the dependency**\n\n```bash\npip install mcp\n```\n\n(or `pip3` on macOS/Linux)\n\n**2. Point Claude Desktop at it**\n\n```json\n{\n  \"mcpServers\": {\n    \"edgar\": {\n      \"command\": \"python3\",\n      \"args\": [\"/absolute/path/to/edgar_mcp.py\"],\n      \"env\": { \"SEC_USER_AGENT\": \"your-app-name your@email.com\" }\n    }\n  }\n}\n```\n\nOn Windows use `\"command\": \"python\"` and a path like `\"C:\\\\path\\\\to\\\\edgar_mcp.py\"`.\n\n**3. Restart Claude Desktop.**\n\n## 🔒 Privacy & Rate Limits\n\n- Uses the official [SEC EDGAR APIs](https://www.sec.gov/search-filings/edgar-application-programming-interfaces) — public, no key.\n- Requests go straight from your machine to the SEC. Nothing is stored or proxied.\n- The SEC requires a descriptive `User-Agent` with contact info and limits ~10 requests/second.\n- Intended for personal, educational, and research use.\n\n## 📝 Notes\n\n- `identifier` is flexible: ticker (`AAPL`), CIK (`320193`), or name (`Apple`).\n- Financial data comes from XBRL, first required by the SEC in 2009, so history goes back that far for most filers.\n- `get_company_facts` returns highlights; use `get_concept` for the full series of any one metric.\n\n## 📋 Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md) for the full version history.\n\n## 📚 Resources\n\n- [Model Context Protocol](https://modelcontextprotocol.io/)\n- [SEC EDGAR API documentation](https://www.sec.gov/search-filings/edgar-application-programming-interfaces)\n- [EDGAR full-text search](https://efts.sec.gov/LATEST/search-index?q=example)\n\n## ⚖️ Legal Disclaimer\n\nThis tool uses the public SEC EDGAR APIs but is not affiliated with or endorsed by the U.S. Securities and Exchange Commission. Use is subject to the SEC's [website policies](https://www.sec.gov/privacy.htm). Data is provided as-is for personal, educational, and research purposes; verify against the original filings before relying on it.\n\n## 👤 Author\n\n**Daniel Shashko**\n- GitHub: [@danishashko](https://github.com/danishashko)\n- LinkedIn: [daniel-shashko](https://linkedin.com/in/daniel-shashko)\n- npm: [danielshashko](https://www.npmjs.com/~danielshashko)\n\n## 📄 License\n\nMIT © Daniel Shashko\n","readmeFilename":"README.md"}