formdpulse-mcp
by kkk221221
README.md
# formdpulse-mcp
Zero-dependency **Model Context Protocol (MCP) server & CLI** for real-time U.S. SEC EDGAR Form D startup funding filings and corporate domain telemetry.
## Features
- **Zero external runtime dependencies** — pure Node.js (`>=20`) built-in `fetch` and `readline`.
- **Two MCP tools**:
1. `search_sec_edgar_form_d_raw` — **100% free, zero API key required**. Fetches and parses the live U.S. SEC EDGAR Form D Atom feed directly from `sec.gov` (strictly filtering `D` and `D/A` filings, returning CIK, accession number, filing index URL, and `primary_doc.xml` URL).
2. `get_enriched_startup_filings` — Fetches enriched startup filings from FormDPulse (`/api/v1/filings`), including verified corporate domain, MX email provider, ATS/careers hiring signals, momentum `signalScore`, `totalAmountSold`, and full dossier links. Uses `FORMDPULSE_API_KEY` when set, or falls back to free `?preview=1` mode (top 5 records).
- **CLI mode** — Inspect live Form D filings directly from your terminal with `--latest` or `--enriched`.
## Quick Start (MCP Client)
Add to your Claude Desktop, Cursor, or Windsurf MCP configuration:
```json
{
"mcpServers": {
"formdpulse": {
"command": "npx",
"args": ["-y", "github:kkk221221/formdpulse-mcp"],
"env": {
"FORMDPULSE_API_KEY": ""
}
}
}
}
```
Leave `FORMDPULSE_API_KEY` empty to use `search_sec_edgar_form_d_raw` (unlimited live SEC EDGAR feed) and `get_enriched_startup_filings` in free preview mode (top 5 enriched filings). To unlock full filtered API queries, get an API key at [FormDPulse](https://formdpulse.formdpulse.workers.dev/pricing).
## CLI Usage
```bash
# Show help and MCP config snippet
npx github:kkk221221/formdpulse-mcp --help
# Fetch the latest live SEC EDGAR Form D filings (free, no key needed)
npx github:kkk221221/formdpulse-mcp --latest 15
# Output raw JSON
npx github:kkk221221/formdpulse-mcp --latest 10 --json
# Query enriched FormDPulse startup filings (preview or with FORMDPULSE_API_KEY)
npx github:kkk221221/formdpulse-mcp --enriched 5
```
## Tool Reference
### `search_sec_edgar_form_d_raw`
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `count` | `integer` (1–100) | `25` | Number of recent EDGAR entries to fetch |
| `query` | `string` | — | Case-insensitive substring filter on entity name, CIK, or summary |
| `includeAmendments` | `boolean` | `true` | Include Form `D/A` amendments alongside initial `D` filings |
### `get_enriched_startup_filings`
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `q` | `string` | — | Search query matching issuer name, domain, or keyword |
| `state` | `string` | — | Two-letter U.S. state code (e.g., `CA`, `NY`, `TX`) |
| `industry` | `string` | — | Industry filter (e.g., `technology`, `health`) |
| `exclude_funds` | `boolean` | `true` | Exclude pooled investment / VC funds |
| `min_sold` | `number` | — | Minimum total amount sold in USD |
| `limit` | `integer` (1–100) | `10` | Max results (capped at 5 without `FORMDPULSE_API_KEY`) |
## Environment Variables
- `FORMDPULSE_API_KEY` — Optional Bearer token (`fdp_live_...`) for full `/api/v1/filings` access.
- `FORMDPULSE_BASE_URL` — Optional API base URL override (defaults to `https://formdpulse.formdpulse.workers.dev`).
## Development
```bash
npm run typecheck
npm run build
```
## License
MIT — see [LICENSE](./LICENSE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues