Repository avatar
Other Tools
v2.0.0
active

sec-formd-mcp

io.github.Drax3041-tech/sec-formd-mcp

SEC EDGAR Form D operating-startup funding & Crypto-ETF filings over Streamable HTTP MCP.

Documentation

SEC Form D & Crypto-ETF Intelligence API + Remote MCP Server

Real-time SEC EDGAR Form D / D/A operating-startup funding intelligence and Spot/Futures Crypto-ETF & Digital-Asset Treasury SEC filings served over REST and Remote Streamable HTTP MCP on Cloudflare Workers.

What It Does

Most raw SEC EDGAR Form D feeds are ~76% noise from Pooled Investment Funds, hedge funds, private equity vehicles, and SPVs. This service parses SEC primary_doc.xml filings directly and delivers clean, structured deal intelligence:

  1. Operating-Startup Isolation: Automatically strips Pooled Investment Funds, LPs, and SPVs (excludeFunds=true by default) to surface verified operating-company private raises.
  2. Chronological Raise Deltas by CIK: Tracks initial D and amendment D/A chains per company CIK and computes incremental capital raised across amendments.
  3. Crypto-ETF & Digital-Asset Treasury Feed: Filters and deduplicates live SEC S-1, 19b-4, 8-K, 424B3, and N-1A filings across BTC, ETH, SOL, XRP, multi-crypto trusts, and digital-asset treasury issuers.
  4. Zero-Signup Access: Free daily preview endpoints + permissionless settlement via x402 v2, direct Solana Mainnet tx-proof, or instant prepaid Solana Pay API Key Packs.

Instant Zero-Signup Usage

1. Try the Free REST Previews (curl)

No account, API key, or credit card required (20 requests/day/IP):

# Latest 3 verified operating-company Form D raises (funds & SPVs stripped)
curl -s "https://sec-formd-intel.nguyenthanhnam-pye.workers.dev/v1/preview?limit=3" | jq .

# Latest 3 Spot/Futures Crypto-ETF & Digital-Asset Treasury SEC filings
curl -s "https://sec-formd-intel.nguyenthanhnam-pye.workers.dev/v1/crypto-etf/preview?limit=3" | jq .

2. Connect the Live Remote MCP Server

Connect directly over Streamable HTTP (https://sec-formd-intel.nguyenthanhnam-pye.workers.dev/mcp). The preview_operating_startups tool works immediately with zero auth.

Claude Code

claude mcp add --transport http sec-formd-mcp https://sec-formd-intel.nguyenthanhnam-pye.workers.dev/mcp

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "sec-formd-mcp": {
      "url": "https://sec-formd-intel.nguyenthanhnam-pye.workers.dev/mcp"
    }
  }
}

Codex (~/.codex/config.toml)

[mcp_servers.sec_formd_mcp]
url = "https://sec-formd-intel.nguyenthanhnam-pye.workers.dev/mcp"

VS Code (.vscode/mcp.json)

{
  "servers": {
    "sec-formd-mcp": {
      "type": "http",
      "url": "https://sec-formd-intel.nguyenthanhnam-pye.workers.dev/mcp"
    }
  }
}

Using an API key with MCP: Pass "headers": { "X-API-Key": "YOUR_API_KEY" } in your MCP client config (or send x402 v2 _meta["x402/payment"] / PAYMENT-SIGNATURE / X-Solana-Tx per call).


MCP Tools & REST Endpoints

MCP Tools (/mcp, JSON-RPC 2.0 Streamable HTTP)

ToolPriceDescription
preview_operating_startupsFree (20/day/IP)Up to 5 recent cleaned operating-company Form D filings (state, limit)
search_formd_filings$0.05Filterable Form D / D/A search (startDate, endDate, state, minAmountSold, maxAmountSold, industry, q, excludeFunds, includeSpvs, formType, limit)
get_formd_filing$0.05Parse a single Form D / D/A filing by SEC accession number
get_company_formd_history$0.05Normalized Form D / D/A history + chronological raise deltas for a CIK
get_crypto_etf_filings$0.15Recent Spot/Futures Crypto-ETF & Digital-Asset Treasury SEC filings (asset, forms, startDate, endDate, q, limit)

REST Endpoints

EndpointMethodTier / PriceDescription
/v1/previewGETFree (20/day/IP)Up to 5 cleaned operating-company Form D filings
/v1/crypto-etf/previewGETFree (20/day/IP)Up to 5 recent Crypto-ETF & treasury SEC filings
/v1/filings & /v1/startupsGET$0.05Filterable Form D / D/A search (JSON, JSONL, CSV)
/v1/filings/:accessionGET$0.05Single parsed Form D / D/A filing by accession number
/v1/company/:cikGET$0.05Normalized Form D history + chronological raise deltas
/v1/crypto-etfGET$0.15Crypto-ETF & Digital-Asset Treasury SEC filings
/v1/packs/operating-startups-90dGET$0.1590-day cleaned Operating-Startup Snapshot Pack (JSON, JSONL, CSV)
/v1/keys/redeemPOST$2 – $25 packsRedeem a confirmed Solana tx signature for an instant X-API-Key

Transparent Pricing & Self-Serve Solana Settlement

No KYC, no subscription lock-in. Choose the settlement rail that fits your workflow:

  1. Free Preview Tier: 20 calls/day/IP on /v1/preview, /v1/crypto-etf/preview, and MCP preview_operating_startups.
  2. Pay-Per-Call x402 v2 ($0.05 / $0.15):
    • Paid endpoints return HTTP 402 Payment Required with a base64 PAYMENT-REQUIRED header (Solana Mainnet via PayAI facilitator https://facilitator.payai.network with Dexter fallback).
    • Send payment via PAYMENT-SIGNATURE (v2), X-PAYMENT (v1), or MCP _meta["x402/payment"].
    • Alternatively, pay directly on Solana Mainnet and pass X-Solana-Tx: <tx_signature>.
  3. Instant Prepaid API Key Packs (Solana Pay / Direct Transfer):

Send SOL, USDC, or USDT on Solana Mainnet to the public settlement wallet:

CU3jGXaBX3TLR24iY9SPcoFWbg5vKpyFKQMjuk9DFckt
Tier IDPackPriceEntitlements
starterStarter Pack$2.0050 paid API / MCP calls
builderBuilder Pack$10.00500 paid API / MCP calls + JSONL/CSV exports
snapshot_90d90-Day Snapshot Pack$15.00100 paid calls + exports + 90-day Operating-Startup Snapshot Pack
pro_30d30-Day Pro Pass$25.005,000 paid calls over 30 days + exports + 90-day Snapshot Pack

Solana Pay Checkout & Instant Key Redemption

Open the live landing page at https://sec-formd-intel.nguyenthanhnam-pye.workers.dev/ for one-click Solana Pay checkout links (Phantom, Solflare, Backpack) for USDC, USDT, and SOL, or send directly using a Solana Pay URI:

  • Starter Pack ($2 USDC): solana:CU3jGXaBX3TLR24iY9SPcoFWbg5vKpyFKQMjuk9DFckt?amount=2.00&spl-token=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&label=Octopus%20SEC%20FormD%20Intel&message=starter
  • Builder Pack ($10 USDT): solana:CU3jGXaBX3TLR24iY9SPcoFWbg5vKpyFKQMjuk9DFckt?amount=10.00&spl-token=Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB&label=Octopus%20SEC%20FormD%20Intel&message=builder

Once confirmed on Solana Mainnet, redeem your transaction signature immediately for a durable KV-backed X-API-Key:

curl -sS -X POST "https://sec-formd-intel.nguyenthanhnam-pye.workers.dev/v1/keys/redeem" \
  -H "Content-Type: application/json" \
  -d '{"signature":"<YOUR_SOLANA_TX_SIGNATURE>","tier":"starter"}' | jq .

Use the returned key via X-API-Key: <key> or Authorization: Bearer <key> on any REST endpoint or /mcp.


Discovery & Machine-Readable Metadata

  • OpenAPI 3.1 Specification: https://sec-formd-intel.nguyenthanhnam-pye.workers.dev/openapi.json
  • MCP Server Card: https://sec-formd-intel.nguyenthanhnam-pye.workers.dev/.well-known/mcp/server-card.json
  • x402 v2 Manifest: https://sec-formd-intel.nguyenthanhnam-pye.workers.dev/.well-known/x402.json
  • Service Health: https://sec-formd-intel.nguyenthanhnam-pye.workers.dev/health

Self-Hosting & Development

Zero runtime npm dependencies (pure Cloudflare Workers + Web Standards + Node 20+ test runner).

# Run unit & integration test suite
npm test

# Configure your own Cloudflare Worker + KV namespaces
cp wrangler.example.toml wrangler.toml
# Replace REPLACE_WITH_YOUR_KV_ID and wallet slots in wrangler.toml

# Dry-run bundle check or deploy
npm run dry-run
npx wrangler deploy

License

MIT — see LICENSE.