CiteProof AI MCP 标志

CiteProof AI MCP

社区
Aryan-Pardeshi

Open-source research assistant and MCP audit toolkit for systematic reviews: cited research reports, PRISMA tracking, evidence and claim checks, and reproducible exports with human oversight.

发布者Aryan-Pardeshi
代码仓库CiteProof-AI-MCP
语言Python
复刻数
7
星标数
106
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    CiteProof AI MCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 106 个星标和 7 个复刻。

CiteProof

Audit tools for AI literature reviews. CiteProof checks that a review's citations, quotes, counts and risk-of-bias judgements hold up. It comes in two parts: an MCP server for Claude Science and other research agents, and a full research assistant app that writes evidence-grounded papers.

npm Release CI License: MIT

🔗 Research Web → CiteProof.top

Contents


What is CiteProof?

AI research agents are now good at finding and reading papers. They are less good at proving their work: which databases were searched, how many records were screened, whether a quoted sentence is really in the paper, whether two reviewers agreed. CiteProof is built around that gap.

CiteProof MCPCiteProof Research
What it isAn MCP server with 24 audit toolsA web app with a 24-agent research pipeline
Who does the researchYour agent (Claude Science, or any MCP client)The app's own agents
Language model insideNone. It needs no API keyYes, any OpenAI-compatible endpoint
Best forSystematic reviews that need an audit trailFast cited reports and full evidence-grounded papers
Where it livesMCP/backend/, frontend/

A small first benchmark (two reviews against Claude Science) showed that agents with strong search find far more of the known included studies than CiteProof Research does. That is why the MCP server does not try to search: it audits the work of the agent that does.


CiteProof MCP

CiteProof MCP keeps the records a systematic review needs and checks them: a protocol, a PRISMA record, a screening log, an evidence table, claim checks, risk-of-bias records and an exportable audit trail. It works with Claude Science and with other tools that can run a stdio MCP server, such as research agents and desktop AI clients.

The server has no language model inside. The agent searches, reads, decides and writes. The server stores each decision, checks the evidence it points to, computes the numbers and refuses bad input.

Full documentation: MCP/README.md · tool reference: MCP/docs/SPEC.md.

What it checks

CheckHow
A quote really appears in the source textThe agent sends the quote and the text. The server matches them after normalising case, whitespace, quotes, dashes and line-break hyphens, on word boundaries. The result is stored as quote_verified.
Numbers in the evidence table come from the quoteSample size, estimate and confidence limits must be written in the quote. Estimates outside their interval are refused.
PRISMA numbers add upCounts come from the recorded searches, the deduplication step and the screening decisions, and the flow invariants are checked on every call.
Two reviewers agreeCohen's kappa over the papers both reviewers decided, with the disagreements listed.
DOIs exist and are not retractedCrossref and doi.org lookups. An unreachable registry gives "unverified", never "not found".
Citations match the reference listIn-text citations are matched by DOI, author and year, or title. "Resolved" means matched, not supported.
Risk-of-bias overall judgements follow the published rulesRoB 2, ROBINS-I and Newcastle-Ottawa (AHRQ thresholds).
DuplicatesDeterministic clustering by DOI, PMID, then title plus year plus first author.

Quick start

One command, in any MCP client that runs local (stdio) servers:

bash
npx -y citeproof-mcp

The citeproof-mcp npm package is a small launcher. It finds uv (or installs it, unless CITEPROOF_NO_AUTO_INSTALL=1), then runs the Python server from the wheel attached to the matching GitHub release. You need Node.js 18 or newer. Python and git are not required: uv downloads Python 3.12 when needed.

ClientHow to add CiteProof MCPStatus
Claude ScienceCustomize → Connectors → Add connector → Local command. Name citeproof, command npx -y citeproof-mcp.npx install tested on Claude Science 0.1.70 (Windows 11, 24 tools listed); bundle install tested on 0.1.67
Claude DesktopDownload citeproof.mcpb and open it (Settings → Extensions), or add the JSON below to claude_desktop_config.json.New in 0.2.0
Claude Codeclaude mcp add citeproof -- npx -y citeproof-mcpNew in 0.2.0
Cursor, VS Code, Windsurf, other clientsAdd the JSON below to the client's MCP settings (VS Code: the servers form further down).Not yet tested
json
{
  "mcpServers": {
    "citeproof": {
      "command": "npx",
      "args": ["-y", "citeproof-mcp"]
    }
  }
}

VS Code's built-in MCP support (.vscode/mcp.json or your user MCP settings) uses servers instead of mcpServers:

json
{
  "servers": {
    "citeproof": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "citeproof-mcp"]
    }
  }
}

Everything runs on your computer. Review files go to CITEPROOF_MCP_HOME, or to ~/.citeproof-mcp when it is not set. The server's only network calls are DOI and retraction lookups to Crossref and doi.org. On first run the launcher also downloads its own files: the npm package, and, when no compatible Python is found, uv, Python 3.12 and the server wheel. claude.ai custom connectors need a remote server, so they are not supported.

If Claude Science reports that a file is not readable inside its sandbox, set CITEPROOF_UV_HOME (Advanced settings → environment variables) to a folder inside the connector's workspace, so uv keeps its cache and Python there. The older bundle install in MCP/docs/CLAUDE_SCIENCE.md still works.

bash
pip install ./MCP

Then point the client at the citeproof-mcp command (stdio), optionally with "env": { "CITEPROOF_MCP_HOME": "/path/to/your/review-data" }.

Companion skill

MCP/skills/citeproof-review teaches an agent the review workflow and the tool order. Install steps for Claude Code, Claude Desktop and Claude Science are in MCP/skills/README.md. A reviewer-instructions snippet for Claude Science is in MCP/docs/REVIEWER_SNIPPET.md.

The 24 tools

GroupTools
Set up and statusreview_create, review_list, protocol_record, review_status
Searches and duplicatesprisma_record_search, dedup_papers, prisma_record_dedup
Screeningscreening_record, screening_record_many, screening_list, screening_agreement
PRISMAprisma_status, prisma_flow_diagram, prisma_checklist
Evidence and biasevidence_record, evidence_table, claim_record, claim_report, rob_record, rob_summary
Citations and proseverify_dois, resolve_citations, lint_prose
Exportexport_bundle

What it does not do

  • It does not search for papers. Use your agent's search, or the CiteProof Research app below.
  • It does not judge anything. A label such as "supported" is the agent's judgement. The server only checks that the quote is in the text.
  • It does not read PDFs. The agent supplies the text.
  • The PRISMA checklist and the report number check are keyword checks. They show what is mentioned, not whether it is reported well.

CiteProof Research (the app)

An AI-powered multi-agent research workspace with two modes: fast web research that returns a cited report, and a full evidence-grounded academic pipeline that writes complete research papers whose cited claims link back to source passages, with human-in-the-loop quality gates.

Two modes

DeepSearchResearch Mode (Evidence-First)
GoalAnswer a question from the live webWrite a full, evidence-grounded academic paper
SourcesTavily web searchOpenAlex · Semantic Scholar · Crossref · PubMed · arXiv · Europe PMC · DOAJ · DataCite · OpenCitations
Agents5 (fan-out parallel researchers)24 specialized agents across 5 evidence phases
HITL Checkpoints1 (plan approval)3 Quality Gates (Protocol, Evidence Corpus, Hypotheses)
Data InvariantLLM web summaryDeterministic EvidenceRecord store (quotes, metrics, baselines)
PRISMA TrackingN/ADeterministic PRISMA 2020 flow counts & assertions
Integrity AuditCitation regexAutomated citation & numerical claim grounding verification
Runtime~1-2 min~5-15 min
OutputStructured markdown reportFull paper + PRISMA flow chart + evidence mapping matrix
Export.md.pdf · .docx

Architecture

Both modes run as separate LangGraph state machines behind one FastAPI backend, sharing the LLM layer, checkpointer, and SSE streaming transport.

Research pipeline

Research question → Scope & protocol → Literature retrieval → Evidence extraction → Synthesis → Validation & export

24 specialized agents · 5 phases · 3 human approval gates

3 human-in-the-loop quality gates

Each gate genuinely pauses graph execution via LangGraph interrupt(), allowing the author to approve or request targeted revisions in natural language:

GatePhaseReview ArtifactsGuarantees
Gate 1: Planning & ProtocolPhase 1PICOC Protocol, Objectives, Research Questions, Boolean KeywordsPrevents query divergence before initiating multi-source retrieval
Gate 2: Evidence & CorpusPhase 3PRISMA Flow Tracker, Screened Literature, Extracted Evidence RecordsVerifies empirical grounding before theoretical synthesis begins
Gate 3: Hypotheses & FrameworkPhase 4Conceptual Framework, Research Gaps, Formulated Hypotheses (H1..H5)Confirms theoretical validity before committing to full paper generation

Academic integrity and research invariants

  1. Deterministic Flow-Tracking State Machine (PRISMA 2020-aligned): PRISMATracker.validate_invariants() asserts these internal conservation relations:

    python
    records_identified - duplicates_removed     == records_after_dedup
    records_screened   - excluded_title_abstract == full_text_requested
    full_text_assessed - excluded_full_text      == studies_included

    full_text_requested is the tracker's internal shortcut for PRISMA's reports sought for retrieval. The distinct PRISMA stages reports not retrieved (full_text_unavailable) and reports assessed for eligibility (full_text_assessed) are tracked as separate fields, but the hand-off between them is not asserted—so the equations above are internal invariants rather than the complete PRISMA 2020 flow. Every count is tracked deterministically in code—never generated or estimated by an LLM.

  2. Immutable Evidence Store:

    • PaperRecord.paper_id: first 16 hex characters of a SHA-256 digest (a truncated representation, not the full digest) computed over a source-qualified key: doi:<canonicalized DOI> when a DOI is available, otherwise title:<normalized title>:<year>. Normalized titles are not assumed unique, so the fallback key also folds in the publication year (nd when unknown).
    • EvidenceRecord.evidence_id: deterministic composite identifier {paper_id}_ev001 (the composite is not itself hashed) anchoring exact quote, metric, baseline value, and effect direction.
    • ReviewClaim.claim_id: deterministic composite identifier {section}_cl001 (section slug truncated to 8 characters) linking paper claims to supporting evidence IDs.
  3. Deterministic Validation Pipeline:

    • citation_validator: Resolves every in-text citation against known PaperRecord metadata and every ReviewClaim through its claim → evidence → paper → DOI/URL chain; flags citations and claims that do not resolve. This is a resolution check only: it does not test that the cited passage supports the sentence, so a resolving claim is marked resolved, never verified.
    • claim_validator: Matches numbers in quantitative sentences against extracted EvidenceRecord benchmark metrics (numeric match only).
    • integrity_auditor: Validates PRISMA invariants and issues comprehensive ValidationReport; passed_all_gates means the resolution and numeric-match gates passed, not that sources support the prose.

Tech stack

LayerTechnology
OrchestrationLangGraph (StateGraph, interrupt() HITL, Send() fan-out, SQLite persistence)
Structured LLMPydantic v2 schemas + ainvoke_structured_with_retry
Academic SourcesOpenAlex, Semantic Scholar, Crossref, PubMed, arXiv, Europe PMC, DOAJ, DataCite, OpenCitations
Author EnrichmentOptional ORCID author-name canonicalization
Full-Text IngestionUnpaywall → Europe PMC → CORE fallback chain
Backend APIFastAPI + Server-Sent Events (SSE) with keep-alive heartbeats
Frontend UI/UXVanilla JS + CSS (Swiss Modernism 2.0, zero-build, responsive)
Figures & Chartsmatplotlib (PRISMA 2020 Flowchart, Hypothesis Evidence Matrix)
Document ExportFPDF2 (.pdf with hanging APA indents) · python-docx (.docx)
MCP servermcp SDK (1.27 and 2.x), SQLite, Pydantic v2, httpx

Academic API coverage

Research Mode uses each academic API for a specific stage:

APIRoleConfiguration
OpenAlexLiterature discovery and open-access metadataOPENALEX_EMAIL
Semantic ScholarLiterature discovery and citation metadataOptional SEMANTIC_SCHOLAR_API_KEY
CrossrefLiterature discovery and DOI metadata resolutionUses OPENALEX_EMAIL for polite-pool requests
PubMed (NCBI E-utilities)Biomedical literature discoveryNCBI_EMAIL and NCBI_TOOL_NAME; optional NCBI_API_KEY
arXivPreprint discoveryNo credentials
Europe PMCBiomedical discovery and full-text fallbackNo credentials
Directory of Open Access Journals (DOAJ)Open-access journal discoveryNo credentials
DataCiteResearch-output and dataset discoveryNo credentials
OpenCitationsForward and backward citation-graph expansionNo credentials
ORCIDOptional author identity enrichmentSet ORCID_AUTHOR_ENRICHMENT=1
UnpaywallOpen-access PDF resolutionUses OPENALEX_EMAIL
COREOptional full-text fallbackOptional CORE_API_KEY

Getting started

1. Clone and configure

bash
git clone https://github.com/Aryan-Pardeshi/CiteProof-AI-MCP.git
cd CiteProof-AI-MCP
cp .env.example .env

Minimum .env configuration:

bash
LLM_API_KEY="your_api_key_here"
LLM_BASE_URL="https://api.deepseek.com"
TAVILY_API_KEY="your_tavily_key_here"
OPENALEX_EMAIL="you@example.com"
NCBI_EMAIL="you@example.com"
NCBI_TOOL_NAME="your_tool_name"

Optional academic API configuration:

bash
SEMANTIC_SCHOLAR_API_KEY="your_api_key_here"
NCBI_API_KEY="your_api_key_here"
CORE_API_KEY="your_api_key_here"
ORCID_AUTHOR_ENRICHMENT=0

2. Run with Docker

bash
docker compose up -d --build

Access the UI at http://localhost:8000.

3. Local development

bash
python -m venv .venv
.venv\Scripts\activate      # Windows (or source .venv/bin/activate on Unix)
pip install -r requirements.txt
uvicorn backend.app.main:app --reload --port 8000

Repository layout

FolderWhat is in it
MCP/CiteProof MCP: the server package citeproof_mcp, its tests and docs, the npm launcher (MCP/npm), the Claude Desktop extension (MCP/mcpb), the companion skill (MCP/skills) and the Claude Science install script
backend/CiteProof Research: FastAPI app, LangGraph agents, academic API adapters
frontend/The web UI (vanilla JS, no build step)
tests/Offline tests for the app (pytest)
docs/Design notes for the app
scripts/Helper scripts for the app

Contributing

Contributions are welcome, from typo fixes to new academic source adapters and new MCP checks. Start with CONTRIBUTING.md for setup and a project map, then pick an issue labelled good first issue or help wanted. The test suites run offline with pytest: run pytest --ignore=MCP from the repository root for the app, and python -m pytest inside MCP/ for the MCP server.


Licence

MIT, see LICENSE. Two files inside the MCP server are adapted from Anthropic's Claude Science under the Apache License 2.0; see MCP/NOTICE.md.


Star History

安装

TypingMind
{
  "mcpServers": {
    "citeproof-ai-mcp": {
      "command": "citeproof-mcp",
      "args": []
    }
  }
}

将 CiteProof AI MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 CiteProof AI MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 CiteProof AI MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 CiteProof AI MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "citeproof-ai-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 CiteProof AI MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 CiteProof AI MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 CiteProof AI MCP 帮我完成这项任务吗?
CiteProof AI MCP
当然,我看过了。
以下是我使用 CiteProof AI MCP 得到的结果。

常见问题

CiteProof AI MCP MCP 服务器有什么用途?

CiteProof AI MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 CiteProof AI MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 CiteProof AI MCP。

为什么在 TypingMind 中使用 CiteProof AI MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 CiteProof AI MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 CiteProof AI MCP MCP 连接到 TypingMind?

CiteProof AI MCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

CiteProof AI MCP MCP 在 TypingMind 中提供哪些工具?

CiteProof AI MCP 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 CiteProof AI MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 CiteProof AI MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇