Skip to main content

A Model Context Protocol server for the Elsevier Scopus API

Project description

Scopus MCP Server

中文 | English

💡 Check out the Interaction Guide & Prompt Examples to see how to chat with this tool!

This is a Model Context Protocol (MCP) server that provides access to the Elsevier Scopus API. It allows AI assistants to search for academic papers, retrieve abstracts, and look up author profiles.

Please note that requesting an Elsevier Scopus API key generally requires that your organization or institution has a subscription to Elsevier database services.

Configuration

Setup Steps

  1. Go to Elsevier Developer Portal to apply for an API key.
  2. Create a config.json file in the project root (or copy from config.json.example) and fill in your key:
    {
      "api_key": "YOUR_KEY_HERE"
    }
    
  3. Edit MCP_tool_config.json, modifying the folder path (pay attention to the slash direction).
  4. Finally, import the configuration into your MCP client (e.g., Claude Desktop) by copying the content of MCP_tool_config.json.

🚀 Quick Start (Zero Setup)

Prerequisite: You must have uv installed.

  • Windows: powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
  • macOS/Linux: curl -LsSf https://astral.sh/uv/install.sh | sh

If you use Claude Desktop, you can skip downloading the code and just configure it directly:

  1. Get Key: Get a free API Key from Elsevier Developer Portal. (⚠️ Note: Educational/Institutional email is recommended; public email domains may be rejected).
  2. Configure: Edit %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS).
  3. Add:
{
  "mcpServers": {
    "scopus-assistant": {
      "command": "uvx",
      "args": [
        "scopus-mcp"
      ],
      "env": {
        "SCOPUS_API_KEY": "PUT_YOUR_KEY_HERE"
      }
    }
  }
}

(If you don't have uv, see Installation for manual setup)

Using with Trae

In Trae Settings -> MCP Servers -> Click Add -> Select Manual Configuration (JSON), then paste:

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

Using with Cursor

  1. Open Cursor Settings -> Features -> MCP Servers.
  2. Click + Add New MCP Server.
  3. Fill in the details:
    • Name: scopus-mcp
    • Type: command (stdio)
    • Command: uvx scopus-mcp
  4. Important: You need to set SCOPUS_API_KEY in your system environment variables.

Installation

  1. Ensure you have Python 3.10+ installed.
  2. Install dependencies:
    pip install .
    

Usage

Running the Server

You can run the server using uvx (recommended) or directly with python.

# Using uvx
uvx --from . scopus-mcp

# Or directly
python -m scopus_mcp.server

Available Tools

  1. search_scopus

    • Searches the Scopus database using the standard query syntax.
    • Arguments:
      • query (string): The search query (e.g., TITLE("Artificial Intelligence")).
      • count (integer): Number of results to return (default: 5).
      • sort (string): Sort order (e.g., coverDate).
  2. get_abstract_details

    • Retrieves detailed information for a specific document.
    • Arguments:
      • scopus_id (string): The Scopus ID of the document.
  3. get_author_profile

    • Retrieves an author's profile information.
    • Arguments:
      • author_id (string): The Scopus Author ID.

Development

Run tests with:

pytest

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments & Contributors

contributors

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

scopus_mcp-0.1.8.tar.gz (61.5 kB view details)

Uploaded Source

Built Distribution

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

scopus_mcp-0.1.8-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file scopus_mcp-0.1.8.tar.gz.

File metadata

  • Download URL: scopus_mcp-0.1.8.tar.gz
  • Upload date:
  • Size: 61.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for scopus_mcp-0.1.8.tar.gz
Algorithm Hash digest
SHA256 b36ed2b7ccdf7bb1135679cfc9ca50505eb025ce869ee284a8e42b615c377bdb
MD5 5673d0e7dadf8a1331d3eec7a2614433
BLAKE2b-256 307b256a8fc3b2dc31edbfa4fb427b34958868dc3d3835afaeeec3769ef62f17

See more details on using hashes here.

File details

Details for the file scopus_mcp-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: scopus_mcp-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for scopus_mcp-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5ec528554f4979ff2cfae2a76ff877f9134178aa7cbfd43b70b1ae669c8da6dc
MD5 d482b653d5522dc1f94ce82878e1455f
BLAKE2b-256 7e281e6a8cfd9ab2a0e995bd4747177fcb8fff5594980b8a5b0d54cfad792db5

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