IA

ilyagusev/academia_mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

94 stars 9 forks 质量 84 趋势 14Apache-2.0

ilyagusev/academia_mcp 是一个从 https://github.com/ilyagusev/academia_mcp. 导入的 MCP 服务器候选

概览

ilyagusev/academia_mcp 是一个从 https://github.com/ilyagusev/academia_mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

MCP服务器,提供搜索、检索、分析和报告科学论文和数据集的工具。

特色

  • ArXiv 搜索与下载
  • ACL选集检索
  • Hugging Face数据集搜索
  • 语义学者引用与参考文献
  • 通过Exa、Brave或Tavily进行网页搜索
  • 网页爬虫,LaTeX 汇编,PDF 阅读
  • 可选的LLM驱动工具,用于文档质量保证和研究提案工作流程

要求

  • Python 3.12+

安装

  • 使用点数点(终端用户):

  • 用于开发(uv + Makefile):

快速启动

  • 通过HTTP运行(默认传输):

  • 在 stdio 上运行(适用于本地 MCP 客户端如 Claude Desktop):

注释:

  • 运输:stdio、sse、streamable-http。
  • host/port 用于 HTTP 传输;stdio 忽略。默认端口为 5056(或 PORT。

认证

Academia MCP 支持基于令牌的 HTTP 传输认证([streamable-http 和 sse。默认禁用认证以保持向后兼容性。

启用认证

将 ENABLE_AUTH 环境变量设置为 true:

管理代币

发行新代币:

现役代币列表:

撤销代币:

使用代币

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Academia MCP

MCP server with tools to search, fetch, analyze, and report on scientific papers and datasets.

Features

  • ArXiv search and download
  • ACL Anthology search
  • Hugging Face datasets search
  • Semantic Scholar citations and references
  • Web search via Exa, Brave, or Tavily
  • Web page crawler, LaTeX compilation, PDF reading
  • Optional LLM-powered tools for document QA and research proposal workflows

Requirements

  • Python 3.12+

Install

  • Using pip (end users):
pip3 install academia-mcp
  • For development (uv + Makefile):
uv venv .venv
make install

Quickstart

  • Run over HTTP (default transport):
python -m academia_mcp --transport streamable-http
# OR
uv run -m academia_mcp --transport streamable-http
  • Run over stdio (for local MCP clients like Claude Desktop):
python -m academia_mcp --transport stdio
# OR
uv run -m academia_mcp --transport stdio

Notes:

  • Transports: stdio, sse, streamable-http.
  • host/port are used for HTTP transports; ignored for stdio. Default port is 5056 (or PORT).

Authentication

Academia MCP supports optional token-based authentication for HTTP transports (streamable-http and sse). Authentication is disabled by default to maintain backward compatibility.

Enabling Authentication

Set the ENABLE_AUTH environment variable to true:

export ENABLE_AUTH=true
export TOKENS_FILE=/path/to/tokens.json  # Optional, defaults to ./tokens.json

Managing Tokens

Issue a new token:

academia_mcp auth issue-token --client-id=my-client --description="Production API client"

# Issue token with 30-day expiration
academia_mcp auth issue-token --client-id=test-client --expires-days=30

# Issue token with custom scopes
academia_mcp auth issue-token --client-id=admin --scopes="read,write,admin"

List active tokens:

academia_mcp auth list-tokens

Revoke a token:

academia_mcp auth revoke-token mcp_a1b2c3d4e5f6...

Using Tokens

Include the token in the Authorization header with the Bearer scheme or as a query parameter apiKey.

Security Notes:

  • Tokens are displayed only once during issuance. Store them securely.
  • Use HTTPS in production to protect tokens in transit.
  • The tokens.json file is automatically created with restrictive permissions (mode 600).
在 GitHub 查看完整 README

安装

docker run --rm -p 5056:5056 \
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "academia": { "command": "python3", "args": [ "-m", "academia_mcp", "--transport", "stdio" ] } } }