Skip to main content

A Model Context Protocol server for the Elsevier Scopus API

Project description

Scopus MCP Server

中文 | English

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.7.tar.gz (59.8 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.7-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scopus_mcp-0.1.7.tar.gz
  • Upload date:
  • Size: 59.8 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.7.tar.gz
Algorithm Hash digest
SHA256 513b7b9e22fefcc9236532a414aad4d8df0ee4ff20c5f23b6e838824846aedf0
MD5 53f90e6f4eae5035a9eabf479fd95ccc
BLAKE2b-256 7683eed6d1216d19d94aa747cc6076a4c7969beb8b1c83f4b356b1198f506056

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scopus_mcp-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 12.1 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f96632e34230d6049fe65a69966f2831408f0a33962c990f4aa3937e3f351b08
MD5 fe4bed63d6acba9ac2a16b58a1dd5208
BLAKE2b-256 15ab3c34ec0101089f5f3da9a7d834435041d6ff299d1d414b288e4a1d6c02ea

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