🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@raportagent/mcp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@raportagent/mcp

Model Context Protocol server for RaportAgent — generate sourced market & compliance research from any MCP client (Claude Desktop, Claude Code, Cursor).

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

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

ToolWhat it does
generate_reportStart a report (query, depth, optional template: compliance for a legal/regulatory brief). Returns a report_id; optionally polls with wait_seconds. Costs 1 credit.
get_report_statusqueued / running / completed / failed
get_reportThe finished report's full markdown + sections
get_report_auditProvenance: AI models, agents, source counts, SHA-256 of the exact content
list_reportsYour recent reports
get_accountRemaining 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, npx pulls 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 <this repo>
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

EnvDefaultNotes
RAPORTAGENT_API_KEYRequired. ra_live_… key.
RAPORTAGENT_BASE_URLhttps://raportagent.comOverride for self-hosted / staging.

Notes

  • Generation takes ~7–15 minutes. 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.
  • The API key is only ever sent to your configured RAPORTAGENT_BASE_URL.

Keywords

mcp

FAQs

Package last updated on 26 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts