About vigia-edgar
vigia-edgar is an always-on SEC EDGAR watcher for investors and agents that need alerts about insider Form 4 filings and company 8-Ks. It tracks configured tickers and returns newly detected filings through two MCP tools.
Key features
- 01Watch selected US tickers
- 02Detect Form 4 and 8-K filings
- 03Deduplicate filings by accession number
- 04Deliver new alerts with filing details
Use cases
- 01Monitor insider filings for a watchlist
- 02Track company material-event filings
MCP support
The MCP server exposes tools to register tickers and retrieve new filing alerts. A continuously polling engine watches EDGAR and maintains per-user alert cursors.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://vigia-edgar.mcpize.run/mcpclaude mcp add --transport http filingtape-vigia-edgar https://vigia-edgar.mcpize.run/mcp{"mcpServers":{"filingtape-vigia-edgar":{"type":"http","url":"https://vigia-edgar.mcpize.run/mcp"}}}Open in Cursor{"servers":{"filingtape-vigia-edgar":{"type":"http","url":"https://vigia-edgar.mcpize.run/mcp"}}}Open in VS Code{"mcpServers":{"filingtape-vigia-edgar":{"type":"http","url":"https://vigia-edgar.mcpize.run/mcp"}}}{"mcpServers":{"filingtape-vigia-edgar":{"serverUrl":"https://vigia-edgar.mcpize.run/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMEvigía EDGAR — Always-on SEC EDGAR watcher (Form 4 / 8-K alerts)
Public copy & quickstart live in
mcp/README.md. This root README is the developer/architecture doc for the two-layer system (engine + skin).
An always-on engine that watches US SEC EDGAR for you and queues an alert about ~45 seconds (median, under ~2 min worst case — fast polling, not instant/real-time) after the SEC accepts an insider Form 4 or a company's 8-K. Set a ticker watchlist (AAPL, TSLA, NVDA…) and your AI agent gets insider-trading and material-event alerts on Claude, Cursor, or any MCP client — no setup on your side. Free: 1 ticker. Pro ($29): unlimited tickers.
Latency, stated honestly: about 45 seconds median from when the SEC accepts a filing, under ~2 minutes worst case (measured on the EDGAR
getcurrentfeed). The engine polls fast and never sleeps.
Why this needs an MCP server (the moat)
An LLM agent on its own cannot watch EDGAR 24/7. The value here is infrastructure that never sleeps: a cron-driven engine continuously polls the SEC, dedupes every filing, and keeps a per-user cursor so your agent only ever sees what's new. The agent just asks; the engine has already been watching.
Tools
watch_insider(tickers: string[])
Register US tickers to monitor (Form 4 + 8-K). Resolves each ticker to its SEC CIK and starts watching. Returns the resolved list and any tickers it couldn't find.
get_alerts()
Return new filings detected for your watched tickers since your last call (a per-user cursor
advances automatically, so you never get duplicates). Each alert includes: ticker, company,
formType, category (insider | material_event), accession, acceptanceTime,
detectedTime, latencySeconds, and a direct filingUrl.
Architecture
Two layers:
- Engine (Cloudflare Worker + D1): a cron trigger polls EDGAR's
getcurrentatom feed every minute (two polls ~30s apart per tick → ~30s effective cadence). It dedupes accession numbers, matches filings to watched companies by CIK (robust to name changes), and stores matches in D1. State:seen(dedupe),watches(per-user CIKs),alerts,cursors(per-user delivery),ticker_map(refreshed daily fromcompany_tickers.json). - Skin (this MCP server, hosted on MCPize): exposes the two tools and reads/writes the engine
over an authenticated HTTP API (
/watch,/alerts). MCPize handles auth and billing.
Per-user isolation: set WATCH_NAMESPACE (your own key) in the MCP server config to keep your
watchlist and cursor private. Defaults to default.
SEC compliance
All requests to the SEC use the required identifiable User-Agent and stay well under the 10 req/s
limit (the EDGAR feed is polled once per cron cycle).
Configuration (env / secrets)
WORKER_URL— base URL of the Cloudflare engine.VIGIA_KEY— shared secret the skin uses to call the engine.WATCH_NAMESPACE— per-user watchlist namespace (optional; defaults todefault).
Funnel instrumentation
The engine counts four product numbers in the D1 funnel table (one aggregate row
per namespace, idempotent upserts — negligible cost):
- installs — namespace connected the MCP (first
/watch) - activations — actually used it (resolved a ticker, or pulled
/alerts) - wall_hits — bounced off the Free 1-ticker cap (hunger for Pro)
- conversions — paid → Pro active (Stripe-verified)
Read them (admin, needs X-Vigia-Key):
GET /admin/funnel -> { funnel: { installs, activations, wall_hits, total_wall_hits, conversions } }
GET /admin/funnel?detail=1 -> also returns per-namespace rows
Or straight from D1:
SELECT COUNT(installed_utc) installs,
COUNT(activated_utc) activations,
COUNT(first_wall_utc) wall_hits,
COUNT(converted_utc) conversions
FROM funnel;
Repo layout
worker/ Cloudflare Worker engine (cron + D1) — npx wrangler deploy
mcp/ MCPize MCP server (the 2 tools) — npx mcpize deploy
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.