scopus-mcp

scopus-mcp

Enables AI agents to search and retrieve academic papers, author profiles, and citation data from the Scopus database via MCP tools.

Category
访问服务器

README

Scopus MCP Server

A production-ready Model Context Protocol (MCP) server that gives AI agents access to the Elsevier Scopus academic research database.

Features

  • 7 tools covering search, abstract retrieval, author profiles, and citation analysis
  • In-memory caching (TTL-based) to avoid redundant API calls
  • Rate limit handling — tracks remaining quota and retries with backoff on 429 errors
  • Secure configuration via environment variables (no hardcoded secrets)
  • Structured JSON output optimized for AI consumption
  • Scopus search syntax guide exposed as an MCP resource

Prerequisites

Installation

Option 1: Development install (from this repo)

# Clone and enter the repo
cd scopus-mcp

# Install dependencies
uv sync

# Copy and configure the environment file
cp .env.example .env
# Edit .env and set SCOPUS_API_KEY=your_actual_key

Option 2: Install with uvx (after publishing to PyPI)

uvx scopus-mcp

Configuration

All configuration is via environment variables. Copy .env.example to .env:

Variable Required Default Description
SCOPUS_API_KEY Yes — Your Elsevier API key
SCOPUS_INST_TOKEN No — Institutional token for off-campus/full-text access
SCOPUS_CACHE_TTL No 300 Cache TTL in seconds (0 to disable)
SCOPUS_MAX_RETRIES No 3 Max retries on rate-limit errors
LOG_LEVEL No INFO Logging verbosity: DEBUG, INFO, WARNING, ERROR

Get your API key at https://dev.elsevier.com/.

Connecting to Claude

Claude Desktop

Edit %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "scopus": {
      "command": "uvx",
      "args": ["scopus-mcp"],
      "env": {
        "SCOPUS_API_KEY": "your_api_key_here"
      }
    }
  }
}

Claude Code (development mode, local install)

Edit .antigravity.json in this directory:

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

When using the local .env file, you don't need the "env" block.

Available Tools

scopus_search

Search for papers using Scopus Boolean query syntax.

Query: TITLE-ABS-KEY("machine learning" AND cancer) AND PUBYEAR > 2020
Count: 10, Start: 0

Returns: list of papers with title, authors, journal, DOI, citation count, open access status.

scopus_get_abstract

Fetch full paper details by any identifier.

identifier_type: doi
identifier: 10.1016/j.labeco.2024.102505

Returns: full abstract, all authors with affiliations, keywords, subject areas.

scopus_get_author

Get a researcher's profile by Scopus Author ID.

author_id: 7401234567

Returns: h-index, citation count, document count, current affiliation, subject areas.

scopus_search_authors

Find author profiles by name.

query: AUTHLASTNAME(Smith) AND AUTHFIRST(J) AND AFFIL(MIT)

scopus_search_affiliations

Find institutional records.

query: AFFIL(Harvard) AND COUNTRY(United States)

scopus_get_citation_count

Quick citation count for a paper (lightweight, highly cached).

doi: 10.1038/s41591-024-00001-0

scopus_get_citations_overview

Year-by-year citation timeline.

scopus_id: 85123456789
start_year: 2015
end_year: 2024

MCP Resource

scopus://search-syntax

A complete Markdown reference for Scopus Boolean query syntax — field codes, operators, wildcards, document type codes, subject area codes, and practical examples. Agents should read this resource when constructing complex queries.

Testing

# Install dev dependencies and run tests
uv sync --group dev
uv run pytest tests/ -v

# Test the server starts correctly (exits when stdin closes)
echo "" | uv run scopus-mcp

# Interactive test with MCP Inspector
npx @modelcontextprotocol/inspector uv run scopus-mcp

Scopus API Rate Limits

Endpoint Quota per 7 days
Search 20,000 requests
Abstract Retrieval 5,000 requests
Citation Count 50,000 requests

The server tracks remaining quota from response headers and sleeps automatically when the limit is reached. On HTTP 429, it retries with exponential backoff (up to SCOPUS_MAX_RETRIES times).

Project Structure

src/scopus_mcp/
├── server.py        # FastMCP app creation and entry point
├── config.py        # Environment variable configuration
├── client.py        # Async HTTP client with caching and rate limiting
├── exceptions.py    # Error hierarchy
├── formatters.py    # Pure functions: raw Scopus JSON → clean dicts
├── tools/
│   ├── search.py    # scopus_search, scopus_search_authors, scopus_search_affiliations
│   ├── abstract.py  # scopus_get_abstract
│   ├── author.py    # scopus_get_author
│   └── citations.py # scopus_get_citation_count, scopus_get_citations_overview
└── resources/
    └── syntax_guide.py  # scopus://search-syntax static resource

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选