Skip to main content
Glama

MCP-DBLP

MCP Compatible License: MIT Python Version

一个模型上下文协议 (MCP) 服务器,为大语言模型提供对 DBLP 计算机科学文献数据库的访问(相关论文已被 AI4SC @ AAAI-26 接收)。


概述

MCP-DBLP 通过模型上下文协议将 DBLP(数字书目与图书馆项目)API 与 LLM 集成,使 AI 模型能够:

  • 从 DBLP 数据库搜索并检索学术出版物

  • 处理引用并生成 BibTeX 条目

  • 对出版物标题和作者姓名执行模糊匹配

  • 提取并格式化书目信息

  • 处理文档中嵌入的参考文献

  • 直接导出 BibTeX,绕过 LLM 处理以实现最高准确度

Related MCP server: ArXiv-MCP

功能

  • 具有布尔查询功能的全面搜索能力

  • 标题和作者姓名的模糊匹配

  • 直接从 DBLP 检索 BibTeX 条目

  • 按年份和出版场所筛选出版物

  • 出版物数据的统计分析

  • 直接导出 BibTeX 功能,绕过 LLM 处理以实现最高准确度

可用工具

工具名称

描述

get_instructions

获取使用说明和工作流程指南

search

使用布尔查询在 DBLP 中搜索出版物

fuzzy_title_search

使用标题模糊匹配搜索出版物

get_author_publications

检索特定作者的出版物

get_venue_info

获取关于出版场所的详细信息

add_bibtex_entry

通过 DBLP 键将 BibTeX 条目添加到集合中

export_bibtex

将所有收集的 BibTeX 条目导出到 .bib 文件

反馈

通过此 表单 向作者提供反馈。

系统要求

  • Python 3.11+

  • uv


安装

Claude Code

只需运行:

claude mcp add mcp-dblp -- uvx mcp-dblp

Claude Desktop

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

  • macOS/Linux: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "mcp-dblp": {
      "command": "uvx",
      "args": ["mcp-dblp"]
    }
  }
}

从源码安装(开发)

git clone https://github.com/szeider/mcp-dblp.git
cd mcp-dblp
uv venv && source .venv/bin/activate
uv pip install -e .

然后配置 Claude Desktop:

{
  "mcpServers": {
    "mcp-dblp": {
      "command": "uv",
      "args": ["--directory", "/path/to/mcp-dblp/", "run", "mcp-dblp"]
    }
  }
}

说明

使用说明可通过 get_instructions 工具获取。关键工作流程点显示在工具描述中;调用该工具以获取完整详细信息。另请参阅 instructions_prompt.md。

工具详情

使用布尔查询字符串在 DBLP 中搜索出版物。

参数:

  • query (string, 必需): 包含布尔运算符 'and' 和 'or'(不区分大小写)的查询字符串

  • max_results (number, 可选): 返回的最大出版物数量。默认为 10

  • year_from (number, 可选): 出版年份下限

  • year_to (number, 可选): 出版年份上限

  • venue_filter (string, 可选): 出版场所的不区分大小写子字符串过滤器(例如 'iclr')

  • include_bibtex (boolean, 可选): 是否在结果中包含 BibTeX 条目。默认为 false

fuzzy_title_search

使用标题模糊匹配在 DBLP 中搜索出版物。

参数:

  • title (string, 必需): 出版物的完整或部分标题(不区分大小写)

  • similarity_threshold (number, 必需): 0 到 1 之间的浮点数,1.0 表示完全匹配

  • max_results (number, 可选): 返回的最大出版物数量。默认为 10

  • year_from (number, 可选): 出版年份下限

  • year_to (number, 可选): 出版年份上限

  • venue_filter (string, 可选): 出版场所的不区分大小写子字符串过滤器

  • include_bibtex (boolean, 可选): 是否在结果中包含 BibTeX 条目。默认为 false

get_author_publications

检索特定作者的出版物详情,支持模糊匹配。

参数:

  • author_name (string, 必需): 完整或部分作者姓名(不区分大小写)

  • similarity_threshold (number, 必需): 0 到 1 之间的浮点数,1.0 表示完全匹配

  • max_results (number, 可选): 返回的最大出版物数量。默认为 20

  • include_bibtex (boolean, 可选): 是否在结果中包含 BibTeX 条目。默认为 false

get_venue_info

检索关于出版场所的详细信息。

参数:

  • venue_name (string, 必需): 出版场所名称或缩写(例如 'ICLR' 或全称)

add_bibtex_entry

将 BibTeX 条目添加到集合中以便稍后导出。

参数:

  • dblp_key (string, 必需): 搜索结果中的 DBLP 键(例如 "conf/nips/VaswaniSPUJGKP17")

  • citation_key (string, 必需): 在 .bib 文件中使用的引用键(例如 "Vaswani2017")

行为:

  • 使用提供的键直接从 DBLP 获取 BibTeX 条目

  • 将引用键替换为您自定义的键

  • 添加到会话集合中(重复键会被覆盖)

  • 返回包含集合计数的即时成功/失败反馈

  • 允许重试单个失败的条目

export_bibtex

将所有收集的 BibTeX 条目导出到 .bib 文件。

参数:

  • path (string, 必需): .bib 文件的绝对路径(例如 "/path/to/refs.bib")

行为:

  • 将通过 add_bibtex_entry 添加的所有条目保存到指定路径

  • 如果缺少 .bib 扩展名,则会自动添加

  • 必要时创建父目录

  • 导出成功后清除集合

  • 返回保存文件的完整路径

  • 如果集合为空,则返回错误

重要提示: BibTeX 条目直接从 DBLP 获取,具有 10 秒超时保护,不会被 LLM 处理、修改或产生幻觉。这确保了书目数据的最高准确性和可信度。仅按指定修改引用键。如果请求超时,将返回错误消息,且该条目不会被添加到集合中。


示例

输入文本:

Our exploration focuses on two types of explanation problems, abductive and contrastive, in local and global contexts (Marques-Silva 2023). Abductive explanations (Ignatiev, Narodytska, and Marques-Silva 2019), corresponding to prime-implicant explanations (Shih, Choi, and Darwiche 2018) and sufficient reason explanations (Darwiche and Ji 2022), clarify specific decision-making instances, while contrastive explanations (Miller 2019; Ignatiev et al. 2020), corresponding to necessary reason explanations (Darwiche and Ji 2022), make explicit the reasons behind the non-selection of alternatives. Conversely, global explanations (Ribeiro, Singh, and Guestrin 2016; Ignatiev, Narodytska, and Marques-Silva 2019) aim to unravel models' decision patterns across various inputs.

输出文本:

Our exploration focuses on two types of explanation problems, abductive and contrastive, in local and global contexts \cite{MarquesSilvaI23}. Abductive explanations \cite{IgnatievNM19}, corresponding to prime-implicant explanations \cite{ShihCD18} and sufficient reason explanations \cite{DarwicheJ22}, clarify specific decision-making instances, while contrastive explanations \cite{Miller19}; \cite{IgnatievNA020}, corresponding to necessary reason explanations \cite{DarwicheJ22}, make explicit the reasons behind the non-selection of alternatives. Conversely, global explanations \cite{Ribeiro0G16}; \cite{IgnatievNM19} aim to unravel models' decision patterns across various inputs.

输出 Bibtex

All references have been successfully exported to a BibTeX file at: /absolute/path/to/bibtex/20250305_231431.bib

@article{MarquesSilvaI23,
 author       = {Jo{\~{a}}o Marques{-}Silva and
                 Alexey Ignatiev},
 title        = {No silver bullet: interpretable {ML} models must be explained},
 journal      = {Frontiers Artif. Intell.},
 volume       = {6},
 year         = {2023},
 url          = {https://doi.org/10.3389/frai.2023.1128212},
 doi          = {10.3389/FRAI.2023.1128212},
 timestamp    = {Tue, 07 May 2024 20:23:47 +0200},
 biburl       = {https://dblp.org/rec/journals/frai/MarquesSilvaI23.bib},
 bibsource    = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{IgnatievNM19,
 author       = {Alexey Ignatiev and
                 Nina Narodytska and
                 Jo{\~{a}}o Marques{-}Silva},
 title        = {Abduction-Based Explanations for Machine Learning Models},
 booktitle    = {The Thirty-Third {AAAI} Conference on Artificial Intelligence, {AAAI}
                 2019, The Thirty-First Innovative Applications of Artificial Intelligence
                 Conference, {IAAI} 2019, The Ninth {AAAI} Symposium on Educational
                 Advances in Artificial Intelligence, {EAAI} 2019, Honolulu, Hawaii,
                 USA, January 27 - February 1, 2019},
 pages        = {1511--1519},
 publisher    = {{AAAI} Press},
 year         = {2019},
 url          = {https://doi.org/10.1609/aaai.v33i01.33011511},
 doi          = {10.1609/AAAI.V33I01.33011511},
 timestamp    = {Mon, 04 Sep 2023 12:29:24 +0200},
 biburl       = {https://dblp.org/rec/conf/aaai/IgnatievNM19.bib},
 bibsource    = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{ShihCD18,
 author       = {Andy Shih and
                 Arthur Choi and
                 Adnan Darwiche},
 editor       = {J{\'{e}}r{\^{o}}me Lang},
 title        = {A Symbolic Approach to Explaining Bayesian Network Classifiers},
 booktitle    = {Proceedings of the Twenty-Seventh International Joint Conference on
                 Artificial Intelligence, {IJCAI} 2018, July 13-19, 2018, Stockholm,
                 Sweden},
 pages        = {5103--5111},
 publisher    = {ijcai.org},
 year         = {2018},
 url          = {https://doi.org/10.24963/ijcai.2018/708},
 doi          = {10.24963/IJCAI.2018/708},
 timestamp    = {Tue, 20 Aug 2019 16:19:08 +0200},
 biburl       = {https://dblp.org/rec/conf/ijcai/ShihCD18.bib},
 bibsource    = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{DarwicheJ22,
 author       = {Adnan Darwiche and
                 Chunxi Ji},
 title        = {On the Computation of Necessary and Sufficient Explanations},
 booktitle    = {Thirty-Sixth {AAAI} Conference on Artificial Intelligence, {AAAI}
                 2022, Thirty-Fourth Conference on Innovative Applications of Artificial
                 Intelligence, {IAAI} 2022, The Twelveth Symposium on Educational Advances
                 in Artificial Intelligence, {EAAI} 2022 Virtual Event, February 22
                 - March 1, 2022},
 pages        = {5582--5591},
 publisher    = {{AAAI} Press},
 year         = {2022},
 url          = {https://doi.org/10.1609/aaai.v36i5.20498},
 doi          = {10.1609/AAAI.V36I5.20498},
 timestamp    = {Mon, 04 Sep 2023 16:50:24 +0200},
 biburl       = {https://dblp.org/rec/conf/aaai/DarwicheJ22.bib},
 bibsource    = {dblp computer science bibliography, https://dblp.org}
}

@article{Miller19,
 author       = {Tim Miller},
 title        = {Explanation in artificial intelligence: Insights from the social sciences},
 journal      = {Artif. Intell.},
 volume       = {267},
 pages        = {1--38},
 year         = {2019},
 url          = {https://doi.org/10.1016/j.artint.2018.07.007},
 doi          = {10.1016/J.ARTINT.2018.07.007},
 timestamp    = {Thu, 25 May 2023 12:52:41 +0200},
 biburl       = {https://dblp.org/rec/journals/ai/Miller19.bib},
 bibsource    = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{IgnatievNA020,
 author       = {Alexey Ignatiev and
                 Nina Narodytska and
                 Nicholas Asher and
                 Jo{\~{a}}o Marques{-}Silva},
 editor       = {Matteo Baldoni and
                 Stefania Bandini},
 title        = {From Contrastive to Abductive Explanations and Back Again},
 booktitle    = {AIxIA 2020 - Advances in Artificial Intelligence - XIXth International
                 Conference of the Italian Association for Artificial Intelligence,
                 Virtual Event, November 25-27, 2020, Revised Selected Papers},
 series       = {Lecture Notes in Computer Science},
 volume       = {12414},
 pages        = {335--355},
 publisher    = {Springer},
 year         = {2020},
 url          = {https://doi.org/10.1007/978-3-030-77091-4\_21},
 doi          = {10.1007/978-3-030-77091-4\_21},
 timestamp    = {Tue, 15 Jun 2021 17:23:54 +0200},
 biburl       = {https://dblp.org/rec/conf/aiia/IgnatievNA020.bib},
 bibsource    = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{Ribeiro0G16,
 author       = {Marco T{\'{u}}lio Ribeiro and
                 Sameer Singh and
                 Carlos Guestrin},
 editor       = {Balaji Krishnapuram and
                 Mohak Shah and
                 Alexander J. Smola and
                 Charu C. Aggarwal and
                 Dou Shen and
                 Rajeev Rastogi},
 title        = {"Why Should {I} Trust You?": Explaining the Predictions of Any Classifier},
 booktitle    = {Proceedings of the 22nd {ACM} {SIGKDD} International Conference on
                 Knowledge Discovery and Data Mining, San Francisco, CA, USA, August
                 13-17, 2016},
 pages        = {1135--1144},
 publisher    = {{ACM}},
 year         = {2016},
 url          = {https://doi.org/10.1145/2939672.2939778},
 doi          = {10.1145/2939672.2939778},
 timestamp    = {Fri, 25 Dec 2020 01:14:16 +0100},
 biburl       = {https://dblp.org/rec/conf/kdd/Ribeiro0G16.bib},
 bibsource    = {dblp computer science bibliography, https://dblp.org}
}

免责声明

此 MCP-DBLP 处于原型阶段,应谨慎使用。鼓励用户进行实验,但在关键环境中使用需自行承担风险。


许可证

本项目采用 MIT 许可证 - 有关详细信息,请参阅 LICENSE 文件。


Available Tools

6 tools
calculate_statisticsA

Calculate statistics from a list of publication results. Arguments:

  • results (array, required): An array of publication objects, each with at least 'title', 'authors', 'venue', and 'year'. Returns a dictionary with:

  • total_publications: Total count.

  • time_range: Dictionary with 'min' and 'max' publication years.

  • top_authors: List of tuples (author, count) sorted by count.

  • top_venues: List of tuples (venue, count) sorted by count (empty venue is treated as '(empty)').

Inputs: results (required).

export_bibtexA

Export BibTeX entries from a collection of HTML hyperlinks. Arguments:

  • links (string, required): HTML string containing one or more key links. The href attribute should contain a URL to a BibTeX file, and the link text is used as the citation key. Example input with three links: "Smith2023 Jones2022 Brown2021" Process:

  • For each link, the tool fetches the BibTeX content from the URL

  • The citation key in each BibTeX entry is replaced with the key from the link text

  • All entries are combined and saved to a .bib file with a timestamp filename Returns:

  • A message with the full path to the saved .bib file

Inputs: links (required).

get_author_publicationsA

Retrieve publication details for a specific author with fuzzy matching. Arguments:

  • author_name (string, required): Full or partial author name (case-insensitive).

  • similarity_threshold (number, required): A float between 0 and 1 where 1.0 means an exact match.

  • max_results (number, optional): Maximum number of publications to return. Default is 20.

  • include_bibtex (boolean, optional): Whether to include BibTeX entries in the results. Default is false. Returns a dictionary with keys: name, publication_count, publications, and stats (which includes top venues, years, and types).

Inputs: author_name (required), similarity_threshold (required), include_bibtex, max_results.

get_venue_infoA

Retrieve detailed information about a publication venue. Arguments:

  • venue_name (string, required): Venue name or abbreviation (e.g., 'ICLR' or full name). Returns a dictionary with fields: abbreviation, name, publisher, type, and category. Note: Some fields may be empty if DBLP does not provide the information.

Inputs: venue_name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no ambiguity: calculate_statistics processes existing results, export_bibtex handles BibTeX export, fuzzy_title_search and search provide different search methods, get_author_publications focuses on authors, and get_venue_info targets venues. The tools cover different aspects of the DBLP domain without overlap.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case: calculate_statistics, export_bibtex, fuzzy_title_search, get_author_publications, get_venue_info, and search. The naming is predictable and readable throughout the set.

    Tool Count5/5

    With 6 tools, the count is well-scoped for a DBLP server, covering key operations like search, author/venue info, statistics, and BibTeX export. Each tool earns its place without feeling thin or bloated, suitable for typical academic workflows.

    Completeness4/5

    The tool set provides strong coverage for core DBLP operations including search, author/venue retrieval, and data export, with minor gaps such as no direct tool for updating or deleting data (though this may be intentional for a read-heavy domain). Agents can effectively navigate publication workflows with these tools.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that enables querying the Crossref API to search for academic publications by title, author, or DOI, returning structured metadata about scholarly works.
      3
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI agents to search, retrieve, and analyze academic papers from arXiv, supporting features like keyword search, paper details retrieval, content extraction, and paper analysis.
      6
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A comprehensive Model Context Protocol server that provides AI assistants with direct access to Semantic Scholar's academic database, enabling advanced paper discovery, citation analysis, author research, and AI-powered recommendations.
      16
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enables AI assistants to verify BibTeX citations and URLs against academic databases like Semantic Scholar and DBLP. It allows users to ensure bibliography accuracy and link accessibility directly within their research workflows.
      1
      MIT