プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

retriEVAL

作者:hcarrillo001バージョン 1.0.0i★ –iパソコンで動く
レジストリ名io.github.hcarrillo001/retrieval-mcp

インストール

概要

作者による説明(英語の原文)

LLM evals as MCP tools: score outputs for faithfulness, relevancy, and hallucination.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 検索・AIの記憶
  • 入力が必要なもの:ANTHROPIC_API_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: ANTHROPIC_API_KEY, RETRIEVAL_JUDGE_BACKEND, RETRIEVAL_JUDGE_MODEL, RETRIEVAL_BUDGET_USD

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • DockerDockerのインストール

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "retrieval": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ANTHROPIC_API_KEY",
        "-e",
        "RETRIEVAL_JUDGE_BACKEND",
        "-e",
        "RETRIEVAL_JUDGE_MODEL",
        "-e",
        "RETRIEVAL_BUDGET_USD",
        "ghcr.io/hcarrillo001/retrieval-mcp:1.0.0"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "your-value",
        "RETRIEVAL_JUDGE_BACKEND": "your-value",
        "RETRIEVAL_JUDGE_MODEL": "your-value",
        "RETRIEVAL_BUDGET_USD": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add retrieval --env ANTHROPIC_API_KEY=your-value --env RETRIEVAL_JUDGE_BACKEND=your-value --env RETRIEVAL_JUDGE_MODEL=your-value --env RETRIEVAL_BUDGET_USD=your-value -- docker run -i --rm -e ANTHROPIC_API_KEY -e RETRIEVAL_JUDGE_BACKEND -e RETRIEVAL_JUDGE_MODEL -e RETRIEVAL_BUDGET_USD ghcr.io/hcarrillo001/retrieval-mcp:1.0.0

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "retrieval": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ANTHROPIC_API_KEY",
        "-e",
        "RETRIEVAL_JUDGE_BACKEND",
        "-e",
        "RETRIEVAL_JUDGE_MODEL",
        "-e",
        "RETRIEVAL_BUDGET_USD",
        "ghcr.io/hcarrillo001/retrieval-mcp:1.0.0"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "your-value",
        "RETRIEVAL_JUDGE_BACKEND": "your-value",
        "RETRIEVAL_JUDGE_MODEL": "your-value",
        "RETRIEVAL_BUDGET_USD": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "retrieval": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ANTHROPIC_API_KEY",
        "-e",
        "RETRIEVAL_JUDGE_BACKEND",
        "-e",
        "RETRIEVAL_JUDGE_MODEL",
        "-e",
        "RETRIEVAL_BUDGET_USD",
        "ghcr.io/hcarrillo001/retrieval-mcp:1.0.0"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "your-value",
        "RETRIEVAL_JUDGE_BACKEND": "your-value",
        "RETRIEVAL_JUDGE_MODEL": "your-value",
        "RETRIEVAL_BUDGET_USD": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • ANTHROPIC_API_KEY 秘密 env
    Judge model API key. Not needed if you set RETRIEVAL_JUDGE_BACKEND=ollama to run the judge locally.
  • RETRIEVAL_JUDGE_BACKEND env
    Which judge to score with: anthropic (default), openai, or ollama for a fully local judge.
  • RETRIEVAL_JUDGE_MODEL env
    Judge model id, e.g. claude-sonnet-4-6 or qwen2.5:14b for Ollama.
  • RETRIEVAL_BUDGET_USD env
    Spend cap for judge calls. Unset means no cap.

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント hcarrillo001 で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

検索・AIの記憶のほかのサーバーとの比較i

  • このカテゴリのほかの5668件のうち0%よりスターが多い
  • このカテゴリのほかの5668件のうち34%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの5668件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

retriEVALは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:ANTHROPIC_API_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.0.0)がレジストリに届いたのは3 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。

代わりに使えるものは?

同じカテゴリには:Context7, Codebase Memory, Exa

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Context7

作者:upstash

Up-to-date docs for AI agents

パソコンでもクラウドでも★ 64,224MIT昨日更新
インストール

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

パソコンで動く★ 48,148MIT21 日前更新
インストール

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

クラウドで動く★ 5,213MIT2 か月前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

retriEVAL

LLM evaluation as an MCP server. Score your AI's outputs for faithfulness, relevancy, and hallucination from inside any MCP client — no pipeline, no test harness. Every result comes back with a link to a dashboard that keeps the history.

[Try it live](https://retrieval-mcp.com) (no signup) · [Watch the 2-minute demo](https://youtu.be/zpXiv9isDmg) · [Dashboard](https://retrieval-mcp.com/dashboard)


Why

Five customer-support answers, scored on two metrics:

metricscorepassing
answer_relevancy0.985/5
faithfulness0.703/5

Every answer was on-topic and well-written. Two of them contradicted the policy they were supposedly grounded in — one promised free return shipping the policy doesn't offer, another invented a free overnight replacement. Reviewing by eye, you'd sign off on all five.

That gap is the point. Relevancy asks *did it answer the question*. Faithfulness asks *is it actually in the source*. You need both, and the second one catches the expensive failures.

Connect

Self-hosted. Clone it, point it at a judge, run it — your data never leaves your machine and there's no service to sign up for.

git clone https://github.com/hcarrillo001/retrieval-mcp

cd retrieval-mcp pip install -r requirements.txt

export ANTHROPIC_API_KEY=sk-ant-... # or a local judge, below python server.py # stdio, for Claude Desktop / Cursor

Then just ask:

Score these cases with faithfulness: [{"input": "...", "actual_output": "...", "retrieval_context": ["..."]}]

Pass your cases inline and nothing is stored — one call, no setup step. See Run locally (stdio) for client config, and Deploy as HTTP if you want your own always-on instance with a dashboard.

Want to try it before installing anything? There's a live sandbox at retrieval-mcp.com — no signup, runs on a free judge, nothing saved.

Keeping everything local: set RETRIEVAL_JUDGE_BACKEND=ollama and the judge runs on your machine too, so no data leaves your network at any point. Useful if you're evaluating anything you can't send to a third party.

What you get

  • 9 built-in metrics plus custom metrics you author in plain English
  • Swappable judges — Anthropic, Groq, Gemini, OpenRouter, or a local Ollama model, so nothing has to leave your network
  • Golden sets from files, URLs, inline JSON, JSONL, CSV, or TSV
  • Run history in Supabase with shareable permalinks and run comparison
  • A spend cap, because a judge-based tool can otherwise run up a bill

Honest limitations

  • Judge agreement hasn't been validated against human labels yet, so treat scores as a signal rather than ground truth.
  • Golden sets currently hold their own outputs, so re-running one against new model outputs means loading a second set. Splitting them is the next change.
  • Golden sets and authored metrics live in the server process and are lost on restart. Runs persist; those don't.

Metrics (DeepEval-aligned)

faithfulness · answer_relevancy · contextual_precision · contextual_recall · contextual_relevancy · hallucination · bias · toxicity · summarization — plus authored G-Eval metrics you define in plain language. All are normalized so higher = better (bias/toxicity report the clean fraction), and each reasons before scoring.

Versatile golden sets

load_golden_set accepts a file path (including uploaded files), an http(s) URL, an inline JSON array, or JSONL text, in JSON / JSONL / CSV / TSV. Field names are auto-normalized (question→input, answer→actual_output, ground_truth→expected_output, contexts→context, passages→retrieval_context, …), so most public benchmarks load as-is.

Short replies by default

run_eval scores every case but returns only the 3 lowest-scoring by default (tune with limit), with total_cases/shown and a pointer to show_run_cases(run_id, offset, limit, metric) to page through the rest.

Spend cap (so it can't run up a bill)

Judge spend is metered from real token usage and persisted. Set a hard cap:

export RETRIEVAL_BUDGET_USD=20     # 0/unset = unlimited

Once cumulative spend hits the cap, further Anthropic calls stop and tools return a clear budget_exceeded message. Check/clear with get_budget / reset_budget. (Prices are approximate — override RETRIEVAL_PRICE_IN/OUT $/1M tokens to match current pricing for your model.)

Hybrid setup (local + always-on dashboard)

Run history uses a pluggable store, chosen by env:

  • FileStore (default) — JSONL in ~/.retrieval. Zero setup, local only.
  • SupabaseStore — when SUPABASE_URL + SUPABASE_SERVICE_KEY are set. Run history lives in Postgres, shared by the local CLI, the deployed MCP, and the website dashboard.

Recommended hybrid flow:

  1. Run supabase_schema.sql in Supabase (creates the runs table).
  2. Set SUPABASE_URL + SUPABASE_SERVICE_KEY on the MCP (local and/or Railway) so every run is written centrally. Each run records its generator_model and judge_model for cross-model comparison.
  3. Deploy web/ to Vercel (set the same Supabase env vars) and map it to retrieval-mcp.com. The dashboard reads history via /api/runs (service key stays server-side) and renders trend-by-model, a model leaderboard, and run history. It shows sample data until Supabase is wired.

Local stays your free sandbox (Ollama judge, file history); the website is the always-on window into the shared history.

Run locally (stdio) — Claude Desktop

pip install -r requirements.txt

export ANTHROPIC_API_KEY=sk-ant-...

{

"mcpServers": { "retrieval": { "command": "python", "args": ["/ABSOLUTE/PATH/server.py"], "env": { "ANTHROPIC_API_KEY": "sk-ant-...", "RETRIEVAL_BUDGET_USD": "10" } } } }

Then: *"Load examples/rag_golden.jsonl as 'space', run faithfulness, label it v1."*

Deploy as HTTP (reach it from anywhere)

export RETRIEVAL_TOKEN=$(openssl rand -hex 24)   # required for a public endpoint

export ANTHROPIC_API_KEY=sk-ant-... export RETRIEVAL_BUDGET_USD=20 python app.py # serves $PORT (default 8000); MCP at /mcp, health at /healthz

Deploy to Railway (or any host): the included Dockerfile / Procfile work as-is. Set ANTHROPIC_API_KEY, RETRIEVAL_TOKEN, RETRIEVAL_BUDGET_USD in the host env. Clients connect to https:// /mcp with header Authorization: Bearer — add it as a custom connector in claude.ai / Claude Desktop, or point Agent Builder / CI at it. State (golden sets, run history, spend) lives server-side, so it persists across machines.

See it on a real RAG pipeline (demo)

demo/rag_demo.py builds a tiny end-to-end RAG over a small *labeled* dataset (demo/labeled.json + demo/corpus.json): it retrieves with BM25, computes recall@k against the gold passages (deterministic — the retriever's score), generates an answer, then scores faithfulness (the generator's score). One answer is deliberately hallucinated so you watch the two failure modes separate.

python demo/rag_demo.py            # offline, no key needed

python demo/rag_demo.py --real # real generation + RetriEval judge (needs ANTHROPIC_API_KEY)

It also writes demo/generated_goldenset.jsonl — load *that* into the MCP (load_golden_set → run_eval) for the judge-scored version. This is the bridge: your pipeline emits predictions, the dataset supplies the labels, and RetriEval scores retriever and generator independently.

Connecting to a RAG pipeline

  • Offline (default): export your pipeline's retrieved context + answer into a golden set and score it — RetriEval never touches your pipeline.
  • Live: add a query_rag(question) tool that calls your RAG endpoint or your vector store (Chroma / Supabase pgvector), captures context + answer, and scores in one shot.

Judge backend

export RETRIEVAL_JUDGE_BACKEND=anthropic          # default

export RETRIEVAL_JUDGE_MODEL=claude-sonnet-4-6

or local, free:

export RETRIEVAL_JUDGE_BACKEND=ollama export RETRIEVAL_JUDGE_MODEL=deepseek-r1:70b

Jev (experimental)

Jev is a decision model: it returns probabilities, not text. With RETRIEVAL_JUDGE_BACKEND=jev, faithfulness becomes a hybrid: an LLM splits the answer into standalone claims, Jev checks every claim against the context in parallel, and the score is supported claims / total claims (the same definition as the LLM rubric). The reason lists the unsupported claims with their probabilities, and details.claims has every claim's p_supported. hallucination uses the same claims with one Jev Choice per claim (supports / contradicts / says nothing): score = 1 - contradicted / total, and claims the context is silent on are reported as "not in context" rather than penalised. answer_relevancy is a Jev Score on a 5-level rubric and needs no LLM call. Each claim also carries the exact passage of the answer it came from (quote), which the sandbox highlights. Every other metric still runs on the LLM set by RETRIEVAL_DECOMPOSER_BACKEND.

export RETRIEVAL_JUDGE_BACKEND=jev

export TYPESAFE_API_KEY=... # console.typesafe.ai/keys export RETRIEVAL_DECOMPOSER_BACKEND=anthropic # or ollama / openai

optional: JEV_MODEL (jev-latest), JEV_MAX_WORKERS (8), JEV_PRICE_IN (0.042)

Or leave the server default alone and pick Jev per call: run_eval and evaluate_case take judge="jev" (or judge="llm" to force the LLM judge). Once TYPESAFE_API_KEY is set on the server, the sandbox picker also lists "Jev · TypeSafe", with claims split by the Groq preset.

Jev spend counts toward RETRIEVAL_BUDGET_USD. Jev is weak on numbers, dates and adversarial text, and its agreement with human labels has not been measured here yet, so treat Jev scores as experimental.

Reports: why a run passed or failed

Every run_eval result carries aggregate[metric].verdict: a headline ("Fails: faithfulness averaged 0.33, below the 0.70 threshold") and the drivers behind it (the failing cases, or the unsupported claims). It is saved with the run.

  • In Claude, summary_md includes the verdict, and clients that support MCP Apps render a compact card inline: the headline score, the other metrics, and a checklist of what failed and why.
  • The full report is report_url (/report?run= on your dashboard host): score, verdict, every claim, and the answer with its problem passages highlighted. It is the same view the sandbox shows after a run, drawn by one shared renderer (web/report.js, web/report.css).

Tools

ToolPurpose
list_metricsbuilt-in + authored metrics
load_golden_set(name, source, fmt)name a set for reuse (self-host only — shared and lost on restart)
list_golden_setswhat's loaded
author_metric(name, criteria, examples)plain language → a scorer
run_eval(metrics, cases, golden_set, threshold, outputs, label, limit)score a set; pass cases inline (JSON/JSONL/CSV/TSV/path/URL) — nothing stored
show_run_cases(run_id, offset, limit, metric)page the rest
evaluate_case(...)one-off score
ground_against_url(url, output, question)check an output's *consistency* with a web page (no labels — consistency, not correctness)
list_runs(golden_set, last_n)saved runs
plot_metric_trend / plot_run / compare_runsinline charts
get_budget / reset_budgetspend cap status / reset

License

Apache License 2.0. Built by Hanns Carrillo.

PopNxに聞く