The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Raportagent MCP listing page.
A Model Context Protocol server that puts RaportAgent inside any MCP client — Claude Desktop, Claude Code, Cursor. Ask your assistant to research a market or map a regulatory landscape, and it generates a sourced RaportAgent report, then pulls the finished markdown and its audit trail.
Thin wrapper over the RaportAgent REST API (/v1), so it inherits per-key rate limits, the
credit model, and the audit trail unchanged.
| Tool | What it does |
|---|---|
generate_report | Start a report (query, optional template: compliance/pitch/saas/ecommerce/realestate/local/battlecard/duediligence/fintech). Returns a report_id; optionally polls with wait_seconds. Costs 1 credit (2 for battlecard). |
get_report_status | queued / running / completed / failed |
get_report | The finished report's full markdown + sections |
get_report_audit | Provenance: AI models, agents, source counts, SHA-256 of the exact content |
get_report_sources | Every cited source with link-health counts (working / uncertain / dead) |
cancel_report | Cancel a queued/in-progress report and refund its credit |
list_reports | Your recent reports |
get_account | Remaining credits and plan |
ra_live_… key).npx pulls the published package.Add to claude_desktop_config.json
(macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):
Same command/args/env shape as Claude Desktop above, under Cursor's MCP settings.
Then point command/args at node / dist/index.js with an absolute path instead of npx.
| Env | Default | Notes |
|---|---|---|
RAPORTAGENT_API_KEY | — | Required. ra_live_… key. |
RAPORTAGENT_BASE_URL | https://raportagent.com | Override for self-hosted / staging. |
generate_report returns immediately with a report_id;
the assistant should poll get_report_status (or pass wait_seconds) before get_report.stdout is the MCP transport — the server logs only to stderr.RAPORTAGENT_BASE_URL.