Riveter

السجل الرسمي البحث والويب

MCP server for Riveter's enrichment, scraping, and monitoring API

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http riveter 'https://mcp.riveterhq.com/mcp' --header 'Authorization: <Optional. Omit to sign in with OAuth. Or pass `Bearer <your Riveter API key>` (get one at https://app.riveterhq.com/settings/api)>'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "riveter": {
            "type": "http",
            "url": "https://mcp.riveterhq.com/mcp",
            "headers": {
                "Authorization": "<Optional. Omit to sign in with OAuth. Or pass `Bearer <your Riveter API key>` (get one at https://app.riveterhq.com/settings/api)>"
            }
        }
    }
}
NPM package riveter-mcp-server
Claude Code
claude mcp add riveter -e 'RIVETER_API_KEY=<your riveter_api_key>' -- npx -y riveter-mcp-server@0.3.5
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "riveter": {
            "command": "npx",
            "args": [
                "-y",
                "riveter-mcp-server@0.3.5"
            ],
            "env": {
                "RIVETER_API_KEY": "<your riveter_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • RIVETER_API_KEY إلزامي سري Your Riveter API key (get one at https://app.riveterhq.com/settings/api)

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Riveter MCP Server
  2. Setup
  3. Environment variables
  4. How it works
  5. Development
  6. Support
  7. License

Riveter MCP Server

An MCP (Model Context Protocol) server that connects AI assistants like Claude and Cursor to the Riveter API. Run enrichments, build datasets, scrape webpages, manage monitors, and more — directly from your assistant.

Tools are generated dynamically from Riveter's OpenAPI spec, so they stay up to date automatically.

Two ways to connect:

  • Hosted — https://mcp.riveterhq.com/mcp. Nothing to install. Works from claude.ai, Claude Desktop, Cowork, Claude mobile, ChatGPT, Claude Code, and Cursor.
  • Local (npx) — this npm package, run on your machine over stdio. Use it when your client cannot reach remote servers.

Setup

1a. Hosted server (no API key needed up front)

Add https://mcp.riveterhq.com/mcp as a custom connector and click Connect. A browser window opens on Riveter: sign in and click Allow. Riveter creates an API key for that connection; it is listed in Settings → API keys, and revoking it disconnects the client.

Claude Code:

claude mcp add --transport http riveter https://mcp.riveterhq.com/mcp

Then run /mcp and choose Authenticate.

Cursor:

{
  "mcpServers": {
    "riveter": {
      "url": "https://mcp.riveterhq.com/mcp"
    }
  }
}

If the client cannot open a browser, pass a key as a header instead: Authorization: Bearer sk_riv_your_key_here (Claude Code --header "Authorization: Bearer sk_riv_...", Cursor "headers": { "Authorization": "Bearer sk_riv_..." }).

1b. Local server (npx)

Get a Riveter API key at app.riveterhq.com/settings/api.

Claude Desktop — open the config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the Riveter server:

{
  "mcpServers": {
    "riveter": {
      "command": "npx",
      "args": ["-y", "--prefer-online", "riveter-mcp-server@latest"],
      "env": {
        "RIVETER_API_KEY": "sk_riv_your_key_here"
      }
    }
  }
}

Cursor / Windsurf — add the same riveter entry to your MCP config (e.g. ~/.cursor/mcp.json).

Claude Code:

claude mcp add riveter --env RIVETER_API_KEY=sk_riv_your_key_here -- npx -y riveter-mcp-server

Codex:

codex mcp add riveter --env RIVETER_API_KEY=sk_riv_your_key_here -- npx -y riveter-mcp-server

Keeping the tools current: the local server loads the API definition once, when your client starts it, and keeps that process running. After Riveter ships an API change, restart your AI client (or the MCP server from its settings page) to load the new tools. --prefer-online riveter-mcp-server@latest makes the same restart also pick up new server versions. The hosted server needs no restart; it reloads the API definition every 10 minutes.

Environment variables

Local (stdio) server — dist/index.js:

VariableRequiredDefaultDescription
RIVETER_API_KEYYes—Your Riveter API key
RIVETER_API_BASE_URLNohttps://api.riveterhq.com/v1API base URL
RIVETER_OPENAPI_URLNohttps://docs.riveterhq.com/openapi.yamlOpenAPI spec URL. https://docs.riveterhq.com/openapi.legacy.yaml serves the legacy generation instead (verb endpoints, legacy enrichments, the retired list-build operations)

Hosted (Streamable HTTP) server — dist/http.js, deployed by Riveter:

VariableDefaultDescription
PORT8080Listen port
MCP_PUBLIC_URLhttps://mcp.riveterhq.com/mcpPublic URL, exactly as users enter it (RFC 9728 resource)
OAUTH_ISSUER_URLhttps://app.riveterhq.comAuthorization server advertised in the protected resource metadata
SPEC_REFRESH_INTERVAL_MS600000How often the spec is re-fetched; 0 disables
RIVETER_API_BASE_URL, RIVETER_OPENAPI_URLas above

The hosted server holds no API key. It forwards the caller's Authorization: Bearer ... header to the API on every call and answers 401 with a WWW-Authenticate challenge when the header is missing.

How it works

On startup, the server:

  1. Fetches the OpenAPI spec from docs.riveterhq.com/openapi.yaml
  2. Parses each endpoint into an MCP tool with typed parameters and annotations (readOnlyHint from GET, destructiveHint from DELETE or the spec's x-mcp-destructive, openWorldHint from the spec's x-mcp-open-world)
  3. Uses the spec's info.x-mcp-instructions as the short server-level instructions (the long API overview stays on the docs site); an operation's x-mcp-description replaces its description for the tool when set
  4. Adds one help tool whose topics (column config, formats, tools, run_when, examples, credits, limits, errors, ...) come from the spec's info.x-mcp-help — long guidance is loaded only when the assistant asks for it
  5. Serves the tools over stdio (local) or Streamable HTTP (hosted)

When the API docs are updated, the local server picks up the changes the next time your assistant launches, and the hosted server re-fetches the spec every 10 minutes — no rebuild or republish needed.

Development

Source: github.com/riveterhq/riveter-mcp. Issues welcome there.

npm install
npm test          # build + unit + stdio e2e + http e2e
npm run dev:http  # hosted server on :8080 (set MCP_PUBLIC_URL=http://localhost:8080/mcp)

This repository is a read-only mirror of the mcp-server/ directory of Riveter's private monorepo, where development happens. The spec-contract tests need the monorepo's openapi.yaml, so they skip here. Releases are described in PUBLISHING.md.

Support

Questions or issues? See the Riveter API docs or contact support@riveterhq.com.

License

MIT

الأسئلة الشائعة

ما هو Riveter؟

MCP server for Riveter's enrichment, scraping, and monitoring API

كيف أثبّت Riveter؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http riveter 'https://mcp.riveterhq.com/mcp' --header 'Authorization: <Optional. Omit to sign in with OAuth. Or pass `Bearer <your Riveter API key>` (get one at https://app.riveterhq.com/settings/api)>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Riveter إلى مفتاح API؟

نعم. يتطلب RIVETER_API_KEY, Authorization، وتضبطها في إعداداته.

هل Riveter مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون Riveter؟

ينشره riveterhq. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.