v1.5.0Passages with version and evidence, 1 credit per search. See what we measured

Docs

Connect Ristria to your agent.

Ristria is a search and extraction API for AI agents. One key works for the MCP connector, the CLI and the REST API. The connector forwards each call to the hosted service: nothing to host on your machine.

20 MCP clients.

Set RISTRIA_API_KEY and add the server to your client. Most clients read the same mcpServers config; the others have their own format, below.

ClientWhere the config goesConfig
Claude Codeclaude mcp add (terminal)Claude Code
Cursor~/.cursor/mcp.json, or .cursor/mcp.json per projectmcpServers
Claude DesktopRestart Claude Desktop after saving.~/Library/Application Support/Claude/claude_desktop_config.json (macOS), %APPDATA%\Claude\claude_desktop_config.json (Windows)mcpServers
OpenCode~/.config/opencode/opencode.json, or opencode.json in the project rootOpenCode
Devin Desktop (formerly Windsurf)Windsurf became Devin Desktop on 2026-06-02.~/.config/devin/mcp_config.json (macOS, Linux), %APPDATA%\devin\mcp_config.json (Windows), .devin/mcp_config.json per projectmcpServers
VS Code (GitHub Copilot).vscode/mcp.jsonVS Code (GitHub Copilot)
GitHub Copilot CLI~/.copilot/mcp-config.json, or copilot mcp addGitHub Copilot CLI
Zed~/.config/zed/settings.jsonZed
ClineMCP Servers → Configure → Configure MCP Servers (cline_mcp_settings.json); CLI: ~/.cline/data/settings/cline_mcp_settings.jsonmcpServers
Continue.continue/mcpServers/ristria.yamlContinue
OpenAI Codex CLI~/.codex/config.toml, or codex mcp addOpenAI Codex CLI
Gemini CLI~/.gemini/settings.json, or .gemini/settings.json per projectmcpServers
Antigravity CLI~/.gemini/config/mcp_config.json, or .agents/mcp_config.json per workspacemcpServers
Goose~/.config/goose/config.yaml (macOS, Linux), %APPDATA%\Block\goose\config\config.yaml (Windows)Goose
Kiro (IDE and CLI, formerly Amazon Q Developer CLI)~/.kiro/settings/mcp.json, or .kiro/settings/mcp.json per workspacemcpServers
JetBrains Junie~/.junie/mcp/mcp.json, or .junie/mcp/mcp.json per projectmcpServers
JetBrains AI AssistantIts docs show command and args only. If the key is not picked up, add Ristria to Claude Desktop and use Import from Claude.Settings | Tools | AI Assistant | Model Context Protocol (MCP) → Add → JSON configurationmcpServers
LM Studio (0.3.17+)Program tab → Install → Edit mcp.jsonmcpServers
Warp~/.warp/.mcp.json, .warp/.mcp.json per project, or Settings → Agents → MCP serversmcpServers
Amp~/.config/amp/settings.json, or .amp/settings.json per workspaceAmp

Checked against each client's own documentation on 2026-10-19.

Shared mcpServers config

Cursor, Claude Desktop, Devin Desktop, Cline, Gemini CLI, Antigravity CLI, Kiro, Junie, JetBrains AI Assistant, LM Studio, Warp

Cursor, Claude Desktop, Devin Desktop, Cline, Gemini CLI, Antigravity CLI, Kiro, Junie, JetBrains AI Assistant, LM Studio, Warp
{
  "mcpServers": {
    "ristria": {
      "command": "npx",
      "args": ["-y", "@ristria/mcp"],
      "env": {
        "RISTRIA_API_KEY": "rs_free_YOUR_API_KEY",
        "RISTRIA_API_URL": "https://api.ristria.com"
      }
    }
  }
}

If the file already has an mcpServers object (or other settings, as in Gemini CLI), add the ristria entry to it instead of replacing the file.

Claude Code

terminal

terminal
claude mcp add ristria \
  -e RISTRIA_API_KEY=rs_free_YOUR_API_KEY \
  -e RISTRIA_API_URL=https://api.ristria.com \
  -- npx -y @ristria/mcp

Adds the server to the current project for you only (local scope). Pass --scope user to use it in every project.

OpenCode

~/.config/opencode/opencode.json

~/.config/opencode/opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "ristria": {
      "type": "local",
      "command": ["npx", "-y", "@ristria/mcp"],
      "enabled": true,
      "environment": {
        "RISTRIA_API_KEY": "rs_free_YOUR_API_KEY",
        "RISTRIA_API_URL": "https://api.ristria.com"
      }
    }
  }
}

OpenCode uses its own mcp key, not mcpServers.

VS Code (GitHub Copilot)

.vscode/mcp.json

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "ristria-api-key",
      "description": "Ristria API key",
      "password": true
    }
  ],
  "servers": {
    "ristria": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@ristria/mcp"],
      "env": {
        "RISTRIA_API_KEY": "${input:ristria-api-key}",
        "RISTRIA_API_URL": "https://api.ristria.com"
      }
    }
  }
}

VS Code uses servers and needs "type": "stdio". The input prompts for the key once, so it never sits in the file.

GitHub Copilot CLI

~/.copilot/mcp-config.json

~/.copilot/mcp-config.json
{
  "mcpServers": {
    "ristria": {
      "type": "local",
      "command": "npx",
      "args": ["-y", "@ristria/mcp"],
      "env": {
        "RISTRIA_API_KEY": "rs_free_YOUR_API_KEY",
        "RISTRIA_API_URL": "https://api.ristria.com"
      },
      "tools": ["*"]
    }
  }
}

Or from the terminal:

terminal
copilot mcp add ristria --env RISTRIA_API_KEY=rs_free_YOUR_API_KEY --env RISTRIA_API_URL=https://api.ristria.com -- npx -y @ristria/mcp

Zed

~/.config/zed/settings.json

~/.config/zed/settings.json
{
  "context_servers": {
    "ristria": {
      "command": "npx",
      "args": ["-y", "@ristria/mcp"],
      "env": {
        "RISTRIA_API_KEY": "rs_free_YOUR_API_KEY",
        "RISTRIA_API_URL": "https://api.ristria.com"
      }
    }
  }
}

Zed uses context_servers. Merge it into your existing settings.json.

OpenAI Codex CLI

~/.codex/config.toml

~/.codex/config.toml
[mcp_servers.ristria]
command = "npx"
args = ["-y", "@ristria/mcp"]

[mcp_servers.ristria.env]
RISTRIA_API_KEY = "rs_free_YOUR_API_KEY"
RISTRIA_API_URL = "https://api.ristria.com"

Or from the terminal:

terminal
codex mcp add ristria --env RISTRIA_API_KEY=rs_free_YOUR_API_KEY --env RISTRIA_API_URL=https://api.ristria.com -- npx -y @ristria/mcp

Continue

.continue/mcpServers/ristria.yaml

.continue/mcpServers/ristria.yaml
name: Ristria
version: 0.0.1
schema: v1
mcpServers:
  - name: ristria
    type: stdio
    command: npx
    args:
      - "-y"
      - "@ristria/mcp"
    env:
      RISTRIA_API_KEY: rs_free_YOUR_API_KEY
      RISTRIA_API_URL: https://api.ristria.com

Keep the quotes around "@ristria/mcp": a YAML value cannot start with @.

Goose

~/.config/goose/config.yaml

~/.config/goose/config.yaml
extensions:
  ristria:
    name: ristria
    cmd: npx
    args: ["-y", "@ristria/mcp"]
    envs:
      RISTRIA_API_KEY: rs_free_YOUR_API_KEY
      RISTRIA_API_URL: https://api.ristria.com
    enabled: true
    type: stdio
    timeout: 300

Goose names the fields cmd and envs. goose configure → Add Extension → Command-line Extension does the same interactively.

Amp

~/.config/amp/settings.json

~/.config/amp/settings.json
{
  "amp.mcpServers": {
    "ristria": {
      "command": "npx",
      "args": ["-y", "@ristria/mcp"],
      "env": {
        "RISTRIA_API_KEY": "rs_free_YOUR_API_KEY",
        "RISTRIA_API_URL": "https://api.ristria.com"
      }
    }
  }
}

Amp uses the flat key amp.mcpServers.

Agent frameworks.

Each framework starts npx -y @ristria/mcp over stdio and gives your agent the 12 Ristria tools. In the official MCP SDKs for Python and TypeScript the env values are added to the default environment, which includes PATH, so npx is still found.

OpenAI Agents SDK

python

python
from agents import Agent
from agents.mcp import MCPServerStdio

async with MCPServerStdio(
    name="ristria",
    params={
        "command": "npx",
        "args": ["-y", "@ristria/mcp"],
        "env": {
            "RISTRIA_API_KEY": "rs_free_YOUR_API_KEY",
            "RISTRIA_API_URL": "https://api.ristria.com",
        },
    },
) as server:
    agent = Agent(name="Assistant", mcp_servers=[server])

LangChain / LangGraph

python · langchain-mcp-adapters

python · langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient(
    {
        "ristria": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@ristria/mcp"],
            "env": {
                "RISTRIA_API_KEY": "rs_free_YOUR_API_KEY",
                "RISTRIA_API_URL": "https://api.ristria.com",
            },
        },
    }
)
tools = await client.get_tools()

langchain-mcp-adapters is no longer maintained; LangChain points new projects to langchain[mcp].

Mastra

typescript · @mastra/mcp

typescript · @mastra/mcp
import { MCPClient } from '@mastra/mcp'

const mcp = new MCPClient({
  servers: {
    ristria: {
      command: 'npx',
      args: ['-y', '@ristria/mcp'],
      env: {
        RISTRIA_API_KEY: 'rs_free_YOUR_API_KEY',
        RISTRIA_API_URL: 'https://api.ristria.com',
      },
    },
  },
})
const tools = await mcp.listTools()

Vercel AI SDK

typescript · @ai-sdk/mcp

typescript · @ai-sdk/mcp
import { createMCPClient } from '@ai-sdk/mcp'
import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js'

const mcpClient = await createMCPClient({
  transport: new StdioClientTransport({
    command: 'npx',
    args: ['-y', '@ristria/mcp'],
    env: {
      RISTRIA_API_KEY: 'rs_free_YOUR_API_KEY',
      RISTRIA_API_URL: 'https://api.ristria.com',
    },
  }),
})
const tools = await mcpClient.tools()

The CLI.

Coding agents that work from a shell can call the ristria binary directly. No tool schemas sit in the system prompt, and the output is the same JSON, with --max-tokens packing.

terminal
export RISTRIA_API_KEY="rs_live_YOUR_API_KEY"
export RISTRIA_API_URL="https://api.ristria.com"

# 1. Search with a token budget
npx -y -p @ristria/mcp ristria search "Python asyncio TaskGroup exception handling" --limit 5 --max-tokens 600

# 2. Extract HTML, /llms.txt or PDF documents
npx -y -p @ristria/mcp ristria extract "https://docs.python.org/3/library/asyncio-task.html" --max-chars 8000

# 3. Map a documentation site (sitemaps and link discovery)
npx -y -p @ristria/mcp ristria map "https://modelcontextprotocol.io" --limit 20

# 4. Find similar technical pages
npx -y -p @ristria/mcp ristria similar "https://docs.python.org/3/library/asyncio-task.html" --limit 5

# 5. Estimate the monthly credits of a workload
npx -y -p @ristria/mcp ristria cost --searches 25000 --extracts 5000 --research 500

REST API.

From any language, send a Bearer request to /v1/search. Passages and max_tokens packing are included in the credit.

POST /v1/search
curl -X POST https://api.ristria.com/v1/search \
  -H "Authorization: Bearer rs_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "Google Search Central robots.txt documentazione italiano",
    "category": "general",
    "include_highlights": true,
    "max_tokens": 600
  }'

Tools and endpoints.

The 12 MCP tools, the REST route where there is one, and the cost.

MCP toolWhat it doesCost
searchPOST /v1/searchWeb search with rank fusion, Okapi BM25 passage selection, recency and entity-overlap boosts, fast-path highlights, and max_tokens packing. Optional intent: one sentence on why the agent is searching, used to pick and order the passages.1 credit
web_searchMCP only (same as POST /v1/search)The same search with default settings. Takes only query, intent and limit, with the same limits as search. For clients like OpenCode whose tool list shows only short tools.1 credit
find_similarPOST /v1/similarProfiles a seed URL from its title and key terms and ranks related pages on other sites by lexical and entity-overlap similarity.1 credit
mapPOST /v1/mapDiscovers site URLs via /robots.txt, /sitemap.xml (<sitemapindex>) and concurrent link discovery.1 credit
crawlMCP onlyCombines map discovery with 3-worker parallel extraction and query-driven BM25 passage selection.5 credits
researchMCP only2-hop agentic research: runs sub-queries in parallel, derives emergent technical terms for Hop 2, fuses via RRF, and returns the best sources with their key passages, numbered for citation. Optional intent, as in search. Your agent writes the answer.3 mini · 5 pro
extractPOST /v1/extractExtracts clean Markdown/text from HTML, /llms.txt, .md, and PDF documents, with a 7-day cache.1 credit
extract_batchMCP onlyParallel extraction for up to 20 URLs with optional query-driven BM25 highlight selection.2 credits up to 10 URLs, +1 per 5 more
content_gapMCP onlyCalculates a deterministic domain-diversity score (0–100) across top SERP results for SEO/AEO topic analysis.1 credit

Security.

Every URL that extract, map, crawl or similar fetches is resolved and checked before connecting and on every redirect, up to 5 hops. Loopback, link-local and private IPv4 and IPv6 ranges are blocked.