Thoth

io.github.ahmedEid1v1.0.1更新於 Oct 9, 2026

Read-only MCP over an agentic SLR workspace with per-claim citation verification

已驗證Streamable HTTP可網頁執行Web Search & ScrapingKnowledge & Memory

概覽

AI 產生的概覽

以唯讀方式存取代理式系統性文獻回顧工作區,並提供逐條引用的引用查核報告。

功能
Thoth 透過唯讀工具存取帳號下的系統性文獻回顧工作區。工具包括 list_reviews(列出回顧及其評論分數與忠實度分數)、get_review_draft(取得已完成回顧的 Markdown 草稿)、get_citation_audit(取得逐條引用的 cite_check 判定報告),以及兩個 v2 工具 list_discovered_papers 與 get_search_queries。cite_check 會把每條引用主張與被引論文比對,標記為支持、不支持或不明確。
適用情境
適合助理需要檢視既有系統性文獻回顧、取得已完成草稿,或查核引用是否真的被原文支持時使用。它鎖定研究與證據回顧流程,而非一般文件檢索。
執行需求
遠端 streamable HTTP 端點 OAuth 2.1 + PKCE + 動態用戶端註冊(透過 Clerk),在瀏覽器中完成,不需複製權杖。工具範圍限於已登入的帳號。需要網路連線。
安裝前請注意
此伺服器為唯讀,不會寫入、傳送或刪除資料。需要 OAuth 登入,回傳內容限於該帳號。稽核記錄以 SHA-256 輸入雜湊記錄每次 MCP 呼叫,不保存原始輸入。探索與篩選功能標示為 v2,仍在校準中,其結果不宜視為定論。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Thoth,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "thoth": {
      "type": "http",
      "url": "https://thoth-slr.vercel.app/api/mcp/mcp"
    }
  }
}

README

[Thoth — sacred ibis logo]

Thoth

Agentic systematic literature reviews — with every citation checked against the source.

Named for Thoth, ancient Egypt's ibis-headed god of writing and scribes.

[Live demo] [Public evals] [MCP Registry] [Tests] [App release] [Deploy cost] [License: MIT]

Try the live demo · See a sample review · Public eval dashboard · Connect via MCP

[Browsing a completed Thoth review — draft, critic score, and per-claim citation audit]

What is Thoth?

Systematic literature reviews are slow to write — and when you ask an LLM to write one, it confidently invents citations and statistics that aren't in any paper.

Thoth does both halves and checks its own work. Give it a research question and it discovers relevant papers, reads them, drafts an evidence-grounded review — then runs a verification pass (cite_check) that compares every cited claim against the source paper and flags anything unsupported before you read the draft. The result is a review with a critic score, a citation-faithfulness percentage, and a per-claim audit you can trust.

It runs as a polished web app, a public eval dashboard, and an authenticated MCP server your AI assistant can call directly.

See it work

Claude.ai catches 6 fabricated citations in a real draft — using Thoth's audit:

Connected to Thoth via the official MCP Registry, Claude calls get_citation_audit on one deliberately-weak review (faithfulness 0.13 for that single review) and identifies all 6 unsupported claims — every one citing the same paper, with invented percentages that aren't in the source. This is cite_check doing its job: it's a single-review audit sample, not the golden-set aggregate (see /evals).

Every claim, scored against its source — the /showcase review (no login needed). The figures on this card (critic 4.2/5, faithfulness 75%, 8/8 citations checked, 2 unsupported) are this one review's scores — a worked example, not the aggregate:

Evaluated in public — /evals tracks citation recall / precision / faithfulness / coverage over an 18-question versioned golden set (7 of 18 populated at this commit), regenerated in CI and published with the last-run date, so a regression is a public, falsifiable signal:

You approve every step — three human-in-the-loop gates (review plan → review discovered papers → approve included papers); nothing runs unattended:

Key features

  • 🔎 cite_check — verifiable citations. Every [paper_id] in the draft is scored against the cited paper and labelled supported / unsupported / unclear, so the LLM can't quietly hallucinate a citation. On the public golden set, the citations it does surface are accurate — citation precision 97%, recall 74% — and the verdict report is published per claim, not summarised away. This is the core differentiator: the citations are measured, not asserted.
  • 🌐 Outbound web search (v2 — under active evaluation). An outbound discoverer → fetcher → screener path is wired across OpenAlex, arXiv, and Exa: it fetches open-access PDFs, OCRs them, and screens each against your plan, so you can run uploaded-only, hybrid, or fully autonomous discovery. The discovery and screening axes are v2 and still being calibrated — they're tracked openly on /evals (both currently at 0%) rather than shipped as a silent claim.
  • 🔌 Authenticated, registered MCP server. OAuth 2.1 + PKCE + Dynamic Client Registration via Clerk, SHA-256 audit logging, rate limits — listed in the official MCP Registry. Most public MCP servers ship with no auth; this one doesn't.
  • 📊 Public eval dashboard. Recall / precision / faithfulness / coverage over a versioned golden set, regenerated in CI and stamped with the last-run date, rendered at /evals — an eval regression is a public signal, not a hidden one.
  • 💸 6 LLM providers, $0/mo by default. Swap providers with one env var; the Mistral free tier runs the whole thing, and the entire stack deploys on free tiers for $0/mo.

🚀 Quickstart

Try it now (nothing to install):

Connect it to your AI assistant — paste this into claude.ai (Pro/Max), Claude Desktop, Cursor, or any MCP client (OAuth runs in your browser; no token to copy):

https://thoth-slr.vercel.app/api/mcp/mcp
Read-only MCP tools (scoped to your account)
  • list_reviews — your reviews with critic + faithfulness scores
  • get_review_draft — the markdown draft of a completed review
  • get_citation_audit — the per-claim cite_check verdict report
  • list_discovered_papers (v2) — papers the discoverer surfaced, with fetch + screening status
  • get_search_queries (v2) — the queries the discoverer generated + per-provider errors

Full reference: docs/mcp/tools.md · auth + audit model: docs/mcp/security.md

[Adding Thoth as a custom MCP connector in claude.ai — paste the URL, OAuth via Clerk + Dynamic Client Registration]
Adding Thoth as a custom connector in claude.ai — OAuth runs in your browser (Clerk + DCR), no token to copy.

Run it locally:

bash
git clone https://github.com/ahmedEid1/thoth.git && cd thothcp .env.example .env        # Clerk + Trigger.dev keys + MISTRAL_API_KEYdocker compose up -d        # postgres, minio, langfusepnpm install && pnpm prisma migrate devpnpm dev                    # Next.js on :3000pnpm dev:trigger            # Trigger.dev worker (separate terminal)

Full setup, the agent pipeline, and the v2 flow: docs/architecture.md.

Proof

Live appthoth-slr.vercel.app (Clerk sign-in) · sample review at /showcase
Public evals/evals — citation precision 97%, recall 74% on a versioned 18-question golden set (7 of 18 populated at this commit; faithfulness 38% / coverage 32% tracked in the open as the set fills out; discovery/screening v2 under calibration). Regenerated in CI, published with the last-run date — a regression is a public signal.
MCP Registryio.github.ahmedEid1/thoth — status: active
Tests676 unit/integration + 22 live e2e against the deployed instance (MCP transport, real-browser, authenticated walkthroughs, full agent runs) — all green; tsc + lint clean
Audit logEvery MCP call recorded with a SHA-256 input hash; no raw input stored
Deploy cost$0/mo — Vercel + Neon + Cloudflare R2 + Langfuse + Trigger.dev, all free tiers (self-host option)

For engineers

Thoth is a LangGraph StateGraph driven by a Trigger.dev worker, with durable human-in-the-loop gates, a per-run cost cap, and exactly-once gate delivery. Next.js 16

  • TypeScript (strict), Postgres + Prisma, Clerk auth (web + OAuth 2.1 for MCP), S3-compatible storage, Mistral OCR, Langfuse tracing.

Credits

Ibis icon by Delapouite under CC BY 3.0, via game-icons.net.

License

MIT © 2026 Ahmed Hobeishy

來源:README.md,提交 17e0c4d

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026