Form4Lens MCP Server
SEC Form 4 insider trades with 10b5-1 attribution, cluster-buy detection, and 8-K events.
Form4Lens scores 63 (Good), licensed MIT and written in Python. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Finance. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
63 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
60/100 for listing completeness. Lost points: short README, no listed tools, short summary.
How quality is graded
Where the 63 comes from
22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mjpozz-form4lens": { "url": "https://mcp.form4lens.com/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Form4Lens
Form 4 insider trades with per-row 10b5-1 evidence, insider cluster-buy signals and 8-K item events, all point-in-time, from official SEC EDGAR data. REST API (FastAPI) + MCP server + static site with programmatic pages.
Live: form4lens.com (site), api.form4lens.com (API), and mcp.form4lens.com/mcp (MCP, API key required). Version 0.1.0. Not investment advice.
A keyless, 48-hour-delayed sample for a short ticker list is at GET /v1/sample/insider-clusters and GET /v1/sample/company/{ticker}.
Run it locally
cd /workspace/hustle/sec-api
source .venv/bin/activate
# 1. Data (EDGAR, <=8 req/s, User-Agent from F4L_USER_AGENT; raw responses cached in data/raw)
python -m form4lens.ingest tickers # ticker <-> CIK map
python -m form4lens.ingest daily --days 30 # Form 4, 4/A, 8-K, 8-K/A from daily indexes
python -m form4lens.ingest company NVDA PLTR --days 365 # one company's history via submissions JSON
python -m form4lens.ingest reparse # re-parse everything from cache (no network)
# 2. REST API -> http://127.0.0.1:8765/docs
uvicorn form4lens.api:app --port 8765
curl -sS http://127.0.0.1:8765/health
curl -sS http://127.0.0.1:8765/v1/sample/company/NVDA
# 3. MCP server (stdio for Claude Desktop/Cursor, or --http for :8766/mcp)
python -m form4lens.mcp_server
python tests/mcp_client_check.py # spawns it and calls every tool
# 4. Static site -> site/
# --all builds a page for every Form 4 issuer in the DB, plus daily cluster pages and sitemap.xml
python -m form4lens.site --all && python -m http.server -d site 8080
# 5. Tests
python -m pytest tests -q
Local/dev only: if F4L_SEED_DEMO_KEYS is unset or not 0, the API seeds demo-free-key (10/min, 250/day, 50 rows, no as_of) and demo-pro-key. Production sets F4L_SEED_DEMO_KEYS=0 and removes those keys. Request a production key at keys@form4lens.com.
Layout
| Path | What |
|---|---|
form4lens/edgar.py | Rate-limited, caching EDGAR client and daily-index parser |
form4lens/parse_form4.py | Form 4 XML parser: 10b5-1 checkbox, footnote attribution, adoption date, sell-to-cover, roles |
form4lens/parse_8k.py | 8-K header items |
form4lens/db.py | SQLite schema, upserts, 4/A amendment chains |
form4lens/queries.py | Point-in-time queries, clusters, company summary |
form4lens/api.py | FastAPI app, API keys, plan limits, usage counters |
form4lens/mcp_server.py | MCP tools over the same queries |
form4lens/site.py + templates/ | Landing, docs, legal pages, comparison and /insider-buys/{TICKER} pages |
tests/ | Unit tests on real filings in tests/fixtures/ |
Before any EDGAR fetch, set F4L_USER_AGENT to a real name and contact email (SEC fair-access rule).
Production deploy: see deploy/DEPLOY.md and deploy/PRICING.md.
License
MIT. See LICENSE.
Frequently asked questions
What is Form4Lens MCP Server?
SEC Form 4 insider trades with 10b5-1 attribution, cluster-buy detection, and 8-K events.
How do I install Form4Lens MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Form4Lens MCP Server connects to the remote endpoint https://mcp.form4lens.com/mcp, so there is nothing to install locally.
Is Form4Lens MCP Server free and open source?
Yes. Form4Lens MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Form4Lens MCP Server support remote (HTTP) connections?
Yes. Form4Lens MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Form4Lens MCP Server's trust score calculated?
Form4Lens MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.