npm @raportagent/mcpstdioMITupdated 1mo ago
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.
What can you do with raportagent mcp?
RaportAgent MCP server
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.
Tools
| 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 |
Setup
- Get an API key: RaportAgent → My account → API keys (an
ra_live_…key). - Register it with your MCP client — no clone, no build,
npxpulls the published package.
Claude Desktop
Add to claude_desktop_config.json
(macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):
{
"mcpServers": {
"raportagent": {
"command": "npx",
"args": ["-y", "@raportagent/mcp"],
"env": {
"RAPORTAGENT_API_KEY": "ra_live_xxx"
}
}
}
}
Claude Code
claude mcp add raportagent -e RAPORTAGENT_API_KEY=ra_live_xxx -- npx -y @raportagent/mcp
Cursor
Same command/args/env shape as Claude Desktop above, under Cursor's MCP settings.
Running from source (contributing / debugging only)
git clone https://github.com/raportagent/raportagent-mcp.git
cd mcp-server
npm install
npm run build
Then point command/args at node / dist/index.js with an absolute path instead of npx.
Config
| Env | Default | Notes |
|---|---|---|
RAPORTAGENT_API_KEY |
— | Required. ra_live_… key. |
RAPORTAGENT_BASE_URL |
https://raportagent.com |
Override for self-hosted / staging. |
Notes
- Generation typically takes ~15 minutes.
generate_reportreturns immediately with areport_id; the assistant should pollget_report_status(or passwait_seconds) beforeget_report. stdoutis the MCP transport — the server logs only tostderr.- The API key is only ever sent to your configured
RAPORTAGENT_BASE_URL.
Install
Add raportagent mcp to your client. Pick the one you use.
claude mcp add mcp -- npx -y @raportagent/mcpcodex mcp add mcp -- npx -y @raportagent/mcpamp mcp add mcp -- npx -y @raportagent/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@raportagent/mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@raportagent/mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp","command":"npx","args":["-y","@raportagent/mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@raportagent/mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@raportagent/mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@raportagent/mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@raportagent/mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@raportagent/mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @raportagent/mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
8 tools
raportagent mcp exposes 8 tools to a connected agent.
- 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
Score
69 / 100
Good
- Documentation22/25
- Maintenance16/25
- Trust13/20
- Capability6/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 36 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 8 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 0.1.2Latest | Jul 26, 2026 |
| 0.1.1 | Jul 26, 2026 |