Skip to main content
Glama
tfscharff

DOI Citation Verifier

by tfscharff

🚀 快速安装

npx -y github:tfscharff/doi-mcp

或者添加到你的 Claude Desktop 配置文件中:

{
  "mcpServers": {
    "doi-mcp": {
      "command": "npx",
      "args": ["-y", "github:tfscharff/doi-mcp"]
    }
  }
}

Related MCP server: Research Validator MCP Server

解决的问题

大型语言模型有时会“幻觉”学术引文——引用不存在的论文、将真实标题错误地归于错误的作者,或混淆出版细节。此 MCP 服务器通过以下方式消除了该问题:

  1. 9 个数据库验证:跨 CrossRef、OpenAlex、PubMed、zbMATH、ERIC、HAL、INSPIRE-HEP、Semantic Scholar 和 DBLP 检查引文

  2. 并行搜索:同时查询所有数据库以获得快速结果(约 1 秒)

  3. 全面覆盖:涵盖 STEM、人文、社会科学和教育等所有学科的 6 亿多篇出版物

  4. DOI 支持的引文:每条经过验证的引文都包含一个有效的、可点击的 DOI

功能

  • 9 个数据库搜索:CrossRef、OpenAlex、PubMed、zbMATH、ERIC、HAL、INSPIRE-HEP、Semantic Scholar、DBLP

  • 验证引文:检查具有特定详细信息的论文是否确实存在于所有数据库中

  • 查找已验证论文:搜索关于某个主题的真实论文,并仅获取已验证的引文

  • 并行处理:所有数据库查询同时运行,以实现最大速度

  • 性能优化:智能缓存和提前退出策略,验证速度提升 25-35%

  • 来源选择:搜索所有数据库或指定特定来源

  • 引文格式化:返回带有 DOI 的格式化引文

  • 零配置:所有数据库均可开箱即用,无需 API 密钥

工作原理

当 AI 助手被问及研究或引文时:

  1. 没有此 MCP 时:助手可能会引用“根据 Smith 等人 (2023) 在《Nature》中的研究……”,但引用的是一篇不存在的论文

  2. 使用此 MCP 时:助手首先使用 verifyCitation,它会并行搜索 9 个数据库并返回:

    • 验证匹配且带有完整 DOI → 可以引用

    • 未找到匹配项 → 不能引用;必须搜索真实论文

工具

verifyCitation

主要的防幻觉工具 - 在提及引文之前,验证其是否存在于多个数据库中。

输入:

  • title (string, 可选): 论文标题(接受部分匹配)

  • authors (array, 可选): 作者姓名(姓氏即可)

  • year (number, 可选): 出版年份

  • doi (string, 可选): 已知 DOI

  • journal (string, 可选): 期刊名称

返回包含以下内容的 JSON:

  • verified: true/false

  • 如果 verified=true: DOI、标题、作者、年份、期刊、URL、来源数据库

  • 如果 verified=false: 未找到匹配出版物的警告信息

  • 用于透明度的匹配质量指标

成功验证示例:

{
  "verified": true,
  "doi": "10.1038/s41586-023-06004-9",
  "title": "Accurate structure prediction of biomolecular interactions...",
  "authors": ["John Jumper", "Richard Evans", "..."],
  "year": 2023,
  "journal": "Nature",
  "url": "https://doi.org/10.1038/s41586-023-06004-9",
  "source": "crossref",
  "message": "✓ Citation verified"
}

findVerifiedPapers

搜索关于某个主题的真实论文,并仅返回来自多个数据库的带有 DOI 的已验证引文。

输入:

  • query (string): 搜索查询(主题、关键词、作者姓名)

  • source (string, 可选): 要搜索的数据库 - "all" (默认), "crossref", "openalex", "pubmed", "zbmath", "eric", "hal", "inspirehep", "semanticscholar", 或 "dblp"

  • limit (number, 可选): 每个来源的结果数量 (1-20, 默认: 5)

  • yearFrom (number, 可选): 最早出版年份

  • yearTo (number, 可选): 最晚出版年份

返回: 来自指定数据库的已验证论文数组,包含完整的引文信息及来源

示例:

// Search all 9 databases
findVerifiedPapers({ query: "CRISPR gene editing", limit: 5 })

// Search only PubMed for biomedical papers
findVerifiedPapers({ query: "cancer immunotherapy", source: "pubmed", limit: 10 })

// Search zbMATH for mathematics papers
findVerifiedPapers({ query: "algebraic topology", source: "zbmath" })

// Search DBLP for computer science papers
findVerifiedPapers({ query: "neural networks", source: "dblp", yearFrom: 2020 })

// Search ERIC for education research
findVerifiedPapers({ query: "active learning pedagogy", source: "eric" })

// Search HAL for French/European humanities research
findVerifiedPapers({ query: "phenomenology Husserl", source: "hal" })

// Search INSPIRE-HEP for high-energy physics papers
findVerifiedPapers({ query: "Higgs boson", source: "inspirehep" })

安装

添加到你的 Claude Desktop 配置文件中:

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

{
  "mcpServers": {
    "doi-mcp": {
      "command": "npx",
      "args": ["-y", "github:tfscharff/doi-mcp"]
    }
  }
}

重启 Claude Desktop,服务器即可使用。

替代方案:全局安装

npm install -g github:tfscharff/doi-mcp

然后使用此配置:

{
  "mcpServers": {
    "doi-mcp": {
      "command": "doi-mcp"
    }
  }
}

替代方案:本地克隆

git clone https://github.com/tfscharff/doi-mcp.git
cd doi-mcp
npm install
npm run build

本地安装配置:

{
  "mcpServers": {
    "doi-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/doi-mcp/dist/index.js"]
    }
  }
}

故障排除

服务器无法连接

  1. 检查是否安装了 Node.js: node --version (需要 v18+)

  2. 检查 Claude Desktop 日志:

    • Windows: %APPDATA%\Claude\logs\

    • macOS: ~/Library/Logs/Claude/

    • Linux: ~/.config/Claude/logs/

npx 命令失败

npm cache clean --force

本地测试

npx @modelcontextprotocol/inspector node dist/index.js

开发

# Install dependencies
npm install

# Build
npm run build

# Development with watch mode
npm run dev

使用示例

使用此 MCP 之前(引文幻觉):

User: "Tell me about recent AlphaFold research"
Assistant: "According to Johnson et al. (2024) in Science, AlphaFold3 achieved..."
           ❌ This paper doesn't exist

使用此 MCP 之后(仅限已验证引文):

User: "Tell me about recent AlphaFold research"
Assistant: [Uses findVerifiedPapers tool]
           "According to Jumper et al. (2023) in Nature (DOI: 10.1038/s41586-023-06004-9), 
            AlphaFold3 achieved..."
           ✓ Real paper with valid DOI verified across databases

验证捕获虚假引文:

User: "Can you verify this citation: Smith et al. (2024), 'Quantum AI', Nature"
Assistant: [Uses verifyCitation tool - searches all 9 databases in parallel]
           "⚠ I cannot verify this citation - no matching publication found in
            any of the 9 databases. This citation may be incorrect."

数据库覆盖范围

所有数据库均并行查询以实现最大速度(总计约 1 秒):

通用数据库

  • CrossRef: 涵盖所有学科的 1.5 亿多篇学术出版物

  • OpenAlex: 涵盖所有学科的 2.5 亿多篇学术著作

  • Semantic Scholar: 2 亿多篇带有 AI 驱动搜索的论文

专业数据库

  • PubMed: 3500 多万篇生物医学和生命科学出版物

  • zbMATH: 400 多万篇数学出版物

  • DBLP: 全面的计算机科学书目(期刊和会议)

  • ERIC: 170 多万篇教育研究出版物

  • HAL: 440 多万篇法语/欧洲学术文档(250 万篇英文)

  • INSPIRE-HEP: 170 多万篇高能物理出版物

总覆盖范围

6 亿多篇出版物,涵盖所有学术学科,在 STEM、计算机科学、生物医学、数学和教育研究方面具有专业深度。

许可证

MIT

贡献

欢迎贡献!请随时提交问题或拉取请求。

相关

API 文档

资源

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to search and retrieve real academic papers from Scopus, preventing citation hallucination by providing accurate paper metadata, author info, and citation analysis.
    2
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Ground citations before your agent emits them by checking references against public scholarly registries and flagging hallucinated or retracted ones.
    MIT

View all related MCP servers

Related MCP Connectors

  • AI research grounded in 300M scientific works — every citation a verifiable DOI.

  • Catch AI-fabricated citations (real DOI + fake title). Retraction, open-access, 10,000+ CSL styles.

  • Real-time fact-check, citation verification, and source-freshness for AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tfscharff/doi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server