Skip to main content

Academic search and review generation MCP server

Project description

academic-mcp

一个用于学术任务的 MCP 服务,支持:

  • paper_search:基于 OpenAlex 检索论文
  • generate_literature_review:基于检索结果自动生成综述草稿(可落盘到 docs/
  • analyze_author_network:基于检索结果分析作者关系(重复作者与共著关系)
  • get_academic_config:查看当前 key/配置状态

1) 环境变量

复制 .env.example.env

OPENALEX_API_KEY=
OPENALEX_MAILTO=

说明:

  • OPENALEX_API_KEY 为必填。
  • OPENALEX_MAILTO 可选,建议填写(用于 OpenAlex polite pool)。

2) uv 运行

academic-mcp/ 目录执行:

uv sync
uv run academic-mcp --transport stdio

HTTP 模式:

uv run academic-mcp --transport http --host 127.0.0.1 --port 8005

模块方式:

uv run python -m academic_mcp --transport stdio

3) 测试

uv run python tests/smoke_test.py

4) 发布

uv build
uv publish

可选 TestPyPI:

uv publish --index testpypi

5) OpenCode MCP 配置示例

{
  "mcp": {
    "academic-mcp": {
      "type": "local",
      "command": [
        "uv",
        "run",
        "--directory",
        "D:/OneDrive/WORK/Python/mcps/academic-mcp",
        "academic-mcp"
      ],
      "environment": {
        "OPENALEX_API_KEY": "",
        "OPENALEX_MAILTO": "",
        "ACADEMIC_MCP_TRANSPORT": "stdio"
      }
    }
  }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

academic_assistant_mcp-0.1.2.tar.gz (51.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

academic_assistant_mcp-0.1.2-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file academic_assistant_mcp-0.1.2.tar.gz.

File metadata

File hashes

Hashes for academic_assistant_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d3b3225b448abce66a76c5b55920fcaa46d602ecb0adf089837c37660c560acc
MD5 de7f4b771b20b8686705f7dc5a76d33a
BLAKE2b-256 3e4238df72dddb631fefebdd601f4e360bb91a85f9c36cb20554ab47172bfded

See more details on using hashes here.

File details

Details for the file academic_assistant_mcp-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for academic_assistant_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5035ed0b473f9fc2f5604a0c8cc1370efc58ec26a7b1a7deb5db301517a88f08
MD5 f30835e6c358276c04cf440642732112
BLAKE2b-256 9e3e3f02fdca7c26d47e14d2077b7ab6e04563faa1005fbfaa0e4053a7d09c1f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page