Skip to main content
Glama
afrise

Academic Paper Search MCP Server

by afrise

学术论文搜索 MCP 服务器

铁匠徽章

模型上下文协议 (MCP)服务器,可从多个来源搜索和检索学术论文信息。

该服务器为 LLM 提供:

  • 实时学术论文搜索功能

  • 访问论文元数据和摘要

  • 能够检索可用的全文内容

  • 遵循 MCP 规范的结构化数据响应

虽然 MCP 规范主要设计用于与 Anthropic 的 Claude Desktop 客户端集成,但它允许与支持工具/函数调用功能(例如 OpenAI 的 API)的其他 AI 模型和客户端兼容。

注意:本软件正在积极开发中。特性和功能可能会有所变更。

特征

该服务器公开以下工具:

  • search_papers :跨多个来源搜索学术论文

    • 参数:

      • query (str):搜索查询文本

      • limit (int,可选):返回的最大结果数(默认值:10)

    • 返回:包含论文详细信息的格式化字符串

  • fetch_paper_details :检索特定论文的详细信息

    • 参数:

      • paper_id (str): 论文标识符(DOI 或 Semantic Scholar ID)

      • source (str,可选):数据源(“crossref”或“semantic_scholar”,默认值:“crossref”)

    • 返回:带有全面论文元数据的格式化字符串,包括:

      • 标题、作者、年份、DOI

      • 地点、开放获取状态、PDF URL(仅限 Semantic Scholar)

      • 摘要和 TL;DR 摘要(如有)

  • search_by_topic :按主题搜索论文,可选日期范围过滤器

    • 参数:

      • topic (str):搜索查询文本(限制为 300 个字符)

      • year_start (int,可选):日期范围的开始年份

      • year_end (int,可选):日期范围的结束年份

      • limit (int,可选):返回的最大结果数(默认值:10)

    • 返回:包含搜索结果的格式化字符串,包括:

      • 论文标题、作者和年份

      • 摘要和 TL;DR 摘要(如有)

      • 场地和开放信息

Related MCP server: Research MCP

设置

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 Academic Paper Search Server:

npx -y @smithery/cli install @afrise/academic-search-mcp-server --client claude

***请注意,***这种方法基本上未经测试,因为他们的服务器似乎有问题。您可以按照独立的说明进行操作,直到 smithery 得到修复。

通过 uv 安装(手动安装):

  1. 安装依赖项:

uv add "mcp[cli]" httpx
  1. 在您的环境或.env文件中设置所需的 API 密钥:

#  These are not actually implemented
SEMANTIC_SCHOLAR_API_KEY=your_key_here 
CROSSREF_API_KEY=your_key_here  # Optional but recommended
  1. 运行服务器:

uv run server.py

与 Claude Desktop 一起使用

  1. 将服务器添加到您的 Claude Desktop 配置( claude_desktop_config.json ):

{
  "mcpServers": {
    "academic-search": {
      "command": "uv",
      "args": ["run ", "/path/to/server/server.py"],
      "env": {
        "SEMANTIC_SCHOLAR_API_KEY": "your_key_here",
        "CROSSREF_API_KEY": "your_key_here"
      }
    }
  }
}
  1. 重启Claude桌面

发展

该服务器使用以下方式构建:

  • Python MCP SDK

  • FastMCP 简化服务器实现

  • API 请求的 httpx

API 源

  • 语义学者API

  • Crossref API

执照

本项目采用 GNU Affero 通用公共许可证 v3.0 (AGPL-3.0) 授权。该许可证确保:

  • 您可以自由使用、修改和分发本软件

  • 任何修改都必须在同一许可证下开源

  • 任何使用该软件提供网络服务的人都必须提供源代码

  • 允许商业使用,但软件及其衍生品必须保持免费和开源

请参阅LICENSE文件以获取完整的许可证文本。

贡献

欢迎贡献!您可以通过以下方式提供帮助:

  1. 分叉存储库

  2. 创建功能分支( git checkout -b feature/amazing-feature )

  3. 提交您的更改( git commit -m 'Add amazing feature' )

  4. 推送到分支( git push origin feature/amazing-feature )

  5. 打开拉取请求

请注意:

  • 遵循现有的代码风格和约定

  • 为任何新功能添加测试

  • 根据需要更新文档

  • 确保您的更改符合 AGPL-3.0 许可条款

通过对此项目做出贡献,您同意您的贡献将根据 AGPL-3.0 许可证进行授权。

Available Tools

3 tools
fetch_paper_detailsB

Get detailed information about a specific paper.

Args:
    paper_id: Paper identifier (DOI for Crossref, paper ID for Semantic Scholar)
    source: Source database ("semantic_scholar" or "crossref")
ParametersJSON Schema
NameRequiredDescriptionDefault
paper_idYes
sourceNosemantic_scholar

TDQS

B3.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool 'Get[s] detailed information,' which implies a read-only operation, but it doesn't disclose any behavioral traits such as authentication needs, rate limits, error handling, or what 'detailed information' includes. This leaves significant gaps in understanding how the tool behaves beyond its basic purpose.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded, starting with a clear purpose statement followed by a concise 'Args' section that lists parameters with brief explanations. Every sentence earns its place by providing essential information without unnecessary details, making it efficient and easy to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (2 parameters, no annotations, no output schema), the description is partially complete. It covers the purpose and parameters well, but it lacks information on behavioral aspects like what 'detailed information' entails, potential errors, or usage constraints. Without an output schema, the description should ideally hint at the return structure, but it doesn't, leaving some context gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds meaningful semantics beyond the input schema, which has 0% description coverage. It explains that 'paper_id' is a 'Paper identifier (DOI for Crossref, paper ID for Semantic Scholar)' and 'source' is a 'Source database' with options 'semantic_scholar' or 'crossref'. This clarifies the purpose and format of the parameters, compensating well for the lack of schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Get detailed information about a specific paper.' This specifies the verb ('Get') and resource ('paper'), making it easy to understand what the tool does. However, it doesn't explicitly differentiate from sibling tools like 'search_by_topic' or 'search_papers', which likely return lists rather than details for a specific paper.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by specifying that it's for a 'specific paper' and lists the required 'paper_id' and optional 'source' parameters. This suggests it should be used when you have a known paper identifier, but it doesn't explicitly state when to use this tool versus the sibling search tools or provide any exclusions or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_by_topicB

Search for papers by topic with optional date range.

Note: Query length is limited to 300 characters. Longer queries will be automatically truncated.

Args:
    topic (str): Search query (max 300 chars)
    year_start (int, optional): Start year for date range
    year_end (int, optional): End year for date range  
    limit (int, optional): Maximum number of results to return (default 10)
    
Returns:
    str: Formatted search results or error message
ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
topicYes
year_endNo
year_startNo

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds useful context: the query length limit (300 characters with truncation) and the return type (formatted search results or error message). However, it lacks details on permissions, rate limits, error conditions beyond truncation, or pagination behavior, which are important for a search tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and well-structured. It starts with a clear purpose statement, adds a critical behavioral note (query length limit), and then lists parameters and returns in a formatted way. Every sentence adds value without redundancy, making it easy for an agent to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (4 parameters, no output schema, no annotations), the description is partially complete. It covers parameters and basic behavior but lacks output details (e.g., result format beyond 'formatted'), error handling specifics, and differentiation from siblings. For a search tool, this leaves gaps in guiding the agent effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds significant meaning beyond the input schema, which has 0% description coverage. It explains each parameter's purpose: 'topic' as the search query with a character limit, 'year_start' and 'year_end' for date range, and 'limit' for maximum results with a default. This compensates well for the schema's lack of descriptions, though it could note that year parameters are optional integers.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Search for papers by topic with optional date range.' It specifies the verb ('search'), resource ('papers'), and scope ('by topic with optional date range'), making the intent unambiguous. However, it doesn't explicitly differentiate from sibling tools like 'search_papers' or 'fetch_paper_details,' which would be needed for a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'search_papers' or 'fetch_paper_details.' It mentions optional parameters like date range and limit, but doesn't explain scenarios where this tool is preferred over siblings or any prerequisites for usage. This leaves the agent without context for tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_papersC

Search for papers across multiple sources.

args: 
    query: the search query
    limit: the maximum number of results to return (default 10)
ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes

TDQS

C2.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions searching 'across multiple sources' but does not cover critical aspects such as authentication needs, rate limits, pagination, or what the response format looks like. This leaves significant gaps in understanding the tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is brief and front-loaded with the main purpose, but the 'args' section is somewhat redundant as it repeats parameter names without adding new insights. It could be more structured to avoid duplication and enhance clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a search tool with no annotations and no output schema, the description is incomplete. It lacks details on result format, error handling, source specifics, and behavioral traits, making it inadequate for full contextual understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds meaningful context for both parameters: 'query' is explained as 'the search query,' and 'limit' as 'the maximum number of results to return (default 10).' Since schema description coverage is 0%, this compensates well by clarifying parameter purposes beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool 'Search for papers across multiple sources,' which provides a clear verb ('Search') and resource ('papers'). However, it does not differentiate from sibling tools like 'search_by_topic' or specify what 'multiple sources' entails, making it somewhat vague in distinguishing its unique scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'search_by_topic' or 'fetch_paper_details.' The description lacks context on scenarios, prerequisites, or exclusions, leaving usage decisions unclear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 3 tool updatesv1.0.0
    • First observedfetch_paper_details
    • First observedsearch_by_topic
    • First observedsearch_papers

TDQS

C2.8/5.0

Scored across 3 tools

Disambiguation2/5

The tools 'search_by_topic' and 'search_papers' have significant overlap in purpose—both search for papers, with only minor differences in parameters. This creates ambiguity, as an agent might struggle to choose between them. The 'fetch_paper_details' tool is distinct, but the two search tools are not clearly differentiated.

Naming Consistency3/5

The naming is mixed: 'fetch_paper_details' uses a verb_noun pattern, while 'search_by_topic' and 'search_papers' use verb_preposition_noun and verb_noun styles, respectively. This inconsistency makes the set less predictable, though the names are still readable and descriptive.

Tool Count2/5

With only 3 tools, the server feels thin for an academic paper search domain. It lacks essential operations like filtering by author, journal, or citation count, and there's no update or delete functionality, which limits its utility for comprehensive paper management.

Completeness2/5

The tool surface is incomplete for academic paper search. It covers basic fetch and search operations but misses key features such as author-based searches, citation tracking, paper categorization, or integration with reference managers. This will likely cause agent failures in complex workflows.

Maintenance

ActivityInactive
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to search across multiple academic databases (PubMed, arXiv, bioRxiv, medRxiv, Semantic Scholar) through a unified interface. Supports advanced filtering, metadata retrieval, PDF downloads, and comprehensive research workflows with citation analysis.
    5
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables LLMs to search, analyze, and summarize academic research papers in real-time from arXiv, Semantic Scholar, and PubMed. Provides automatic deduplication, citation analysis, and BibTeX generation across multiple research databases.
    46 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables searching and downloading academic papers from multiple sources including arXiv, PubMed, bioRxiv, Google Scholar, and Semantic Scholar. Provides standardized tools compatible with OpenAI Deep Research and ChatGPT connectors.
    15
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables retrieval of academic paper metadata, PDFs, full text, citations, and references by title via Semantic Scholar, arXiv, and other sources.
    6
    1
    MIT