research-mcp
An MCP server for academic literature research that integrates Scopus, CrossRef, OpenAlex, and Unpaywall to search documents, get abstracts, author profiles, citing papers, and open-access PDF links.
README
research-mcp
An MCP server for academic literature research. It combines a Scopus search with three free, open scholarly APIs so you get abstracts, author metrics and open-access PDFs without needing institutional Scopus entitlements.
What it does
| Tool | Data source | Returns |
|---|---|---|
search_scopus |
Elsevier Scopus | Documents matching a query (title, DOI, citations, …) |
get_abstract_details |
Scopus + CrossRef | Metadata + abstract text |
get_author_profile |
OpenAlex | h-index, citation count, paper count, affiliations, ORCID |
get_citing_papers |
Elsevier Scopus | Papers that cite a given document (forward citations) |
get_pdf_link |
Unpaywall | Open-access PDF link for a DOI |
get_quota_status |
— | Reminder about Scopus API quota |
Why the extra APIs?
A free Scopus API key only grants the search endpoint. The Abstract Retrieval
(view=FULL) and Author Retrieval endpoints require an institutional
subscription and otherwise return 401 AUTHORIZATION_ERROR. To stay useful for
everyone, this server falls back to:
- CrossRef for abstract text (free, no key)
- OpenAlex for author metrics incl. h-index (free, no key)
- Unpaywall for legal open-access PDFs (free, no key)
If you do have institutional Scopus access, the Scopus calls simply return richer data.
Requirements
- Python ≥ 3.10
- A free Scopus API key — register at dev.elsevier.com
- Dependencies: only
mcpandhttpx
Getting an Elsevier (Scopus) API key
The Scopus tools need an Elsevier Developer API key. It's free to register.
Step by step
-
Create an Elsevier account. Go to dev.elsevier.com and click "I want an API Key". Sign in, or register a free account (the same account works across Elsevier products such as ScienceDirect and Mendeley).
-
Open the API Key management page. Once signed in, go to dev.elsevier.com/apikey/manage.
-
Create a new key. Click "Create API Key" and fill in:
- Label — any name, e.g.
research-mcp. - Website URL — required by the form but not validated for server use.
You can enter
http://localhostor your GitHub repo URL. - Optionally a CORS domain — leave blank for server-side use.
- Label — any name, e.g.
-
Accept the agreements. Tick the API Service Agreement and the text & data mining policy, then submit.
-
Copy the key. A 32-character hexadecimal key appears (e.g.
1a2b3c4d5e6f...). This is yourSCOPUS_API_KEY. You can return to the manage page anytime to view or revoke it.
What the free key can and cannot do
| Capability | Free key | Notes |
|---|---|---|
search_scopus |
✅ | Up to ~20,000 requests/week |
get_citing_papers |
✅ | Uses the search endpoint |
Scopus full abstract (view=FULL) |
❌ | Needs institutional subscription → this server falls back to CrossRef |
| Scopus author retrieval | ❌ | Needs institutional subscription → this server uses OpenAlex |
Unlocking full Scopus data (optional)
The richer Scopus endpoints are gated by your institution's subscription, not by the key tier. To use them:
- Register / use the key from your institution's network. Elsevier binds entitlements to the institutional IP range. Create or first-use the key while on campus Wi-Fi or your university VPN.
- Alternatively, request an Institutional Token from your library and set it
via the
X-ELS-Insttokenheader (not currently wired into this server — open an issue if you need it).
Without institutional access the server still works fully: abstracts come from CrossRef, author metrics from OpenAlex, and PDFs from Unpaywall.
Quota & fair use
- Watch your weekly quota — every call returns
X-RateLimit-Remainingheaders. - Don't hammer the API in tight loops; the search tools cap at 25 results per call by design.
- The key is a secret. Keep it in the
envblock of your MCP config, never commit it to git (this repo's.gitignorealready excludes.envand keys).
Installation
Option A — Claude Code / Claude Desktop (recommended, no server needed)
This is the simplest path. The server runs locally as a stdio process —
uvx fetches it straight from GitHub, so there is
no web server and no tunnel involved.
Add this to your MCP config (~/.claude.json, or the Claude Desktop
claude_desktop_config.json):
{
"mcpServers": {
"research": {
"command": "uvx",
"args": ["--from", "git+https://github.com/niol-zh/research-mcp", "research-mcp"],
"env": {
"SCOPUS_API_KEY": "your-scopus-api-key",
"UNPAYWALL_EMAIL": "you@example.com"
}
}
}
}
Restart Claude. That's it — uvx installs mcp + httpx in an isolated
environment automatically.
UNPAYWALL_EMAILis required for theget_pdf_linktool. Unpaywall rejects requests without a real contact email (HTTP 422). Use your own address. All other tools work without it.
Local clone instead of GitHub
If you've cloned the repo and want to run from disk:
{
"mcpServers": {
"research": {
"command": "uvx",
"args": ["--from", "/path/to/research-mcp", "research-mcp"],
"env": { "SCOPUS_API_KEY": "your-scopus-api-key" }
}
}
}
Option B — Claude Cowork (remote connector, needs an HTTPS URL)
Cowork runs in an isolated cloud VM and cannot reach a local stdio process. It needs the server exposed over HTTPS using the Streamable HTTP transport. The easiest way is a free Cloudflare Quick Tunnel.
You need two pieces running on your machine:
mcp-proxy— wraps the stdio server as a local HTTP servercloudflared— exposes that local port over a public HTTPS URL
1. Install the helpers
# mcp-proxy comes via uvx, no install needed
# cloudflared:
# Windows: download cloudflared.exe from
# https://github.com/cloudflare/cloudflared/releases/latest
# macOS: brew install cloudflared
# Linux: see Cloudflare docs
2. Start the HTTP server (terminal 1)
export SCOPUS_API_KEY="your-scopus-api-key"
export UNPAYWALL_EMAIL="you@example.com"
uvx mcp-proxy --port 8000 --transport streamablehttp \
-e SCOPUS_API_KEY "$SCOPUS_API_KEY" \
-- uvx --from git+https://github.com/niol-zh/research-mcp research-mcp
3. Open the tunnel (terminal 2)
cloudflared tunnel --url http://localhost:8000
Cloudflare prints a URL like https://random-words.trycloudflare.com.
4. Add the connector in Cowork
- Customize → Connectors → Add custom connector
- Name:
Research - Remote MCP server URL:
https://random-words.trycloudflare.com/mcp(note the/mcpsuffix)
⚠️ A Quick Tunnel URL is temporary — it changes every time you restart
cloudflared, and both terminals must stay open while you use Cowork. For a stable URL, deploy the server to a host (Railway, Render, Fly.io, a VPS) or use a named Cloudflare Tunnel.
Windows users: the repo includes scripts/start-tunnel.ps1,
which starts the server and the tunnel and copies the connector URL to your
clipboard (requires uvx and cloudflared on PATH):
$env:SCOPUS_API_KEY = "your-key"
$env:UNPAYWALL_EMAIL = "you@example.com"
./scripts/start-tunnel.ps1
Example
A typical research flow in Claude, chaining several tools in one turn:
You: How influential is Amy Edmondson's work, and can you get me an open-access PDF of a recent open-science paper to read?
1. get_author_profile("Amy Edmondson") → OpenAlex returns disambiguated
matches with metrics:
{
"matches": [
{
"openalex_id": "A5003931866",
"name": "Amy C. Edmondson",
"h_index": 66,
"citation_count": 45902,
"paper_count": 358,
"i10_index": 132,
"affiliations": ["Harvard University"],
"orcid": "0000-0003-4409-913X",
"url": "https://openalex.org/A5003931866"
}
],
"note": "Top 3 matches from OpenAlex — verify by name/affiliation."
}
2. get_pdf_link("10.1371/journal.pone.0173664") → Unpaywall finds a gold
open-access PDF:
{
"doi": "10.1371/journal.pone.0173664",
"oa_pdf_url": "https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0173664&type=printable",
"oa_status": "gold",
"source": "publisher",
"journal_is_oa": true
}
Claude: Amy C. Edmondson (Harvard) has an h-index of 66 across 358 papers with ~45,900 citations — exceptionally influential in organizational behavior. Here is an open-access PDF you can read: [link].
Every tool returns indented JSON, so Claude parses the fields reliably and
combines results across calls. A full literature search would add
search_scopus (to find papers) and get_abstract_details (Scopus metadata +
abstract text from CrossRef).
Development
# install with dev dependencies
uv pip install -e ".[dev]" # or: pip install -e ".[dev]"
# run the test suite (offline — all HTTP is mocked, no API key needed)
pytest
Tests live in tests/ and mock every external API with
httpx.MockTransport, covering result parsing, count clamping, retry/backoff
on HTTP 429, quota tracking and error paths.
Tool reference
search_scopus
| Param | Type | Default | Description |
|---|---|---|---|
query |
string | — | Scopus query, e.g. TITLE(agile) AND PUBYEAR > 2020 |
count |
int | 5 | Results to return (max 25) |
sort |
string | coverDate |
coverDate or relevancy |
get_abstract_details
| Param | Type | Description |
|---|---|---|
scopus_id |
string | Scopus document ID |
get_author_profile
| Param | Type | Description |
|---|---|---|
author_name |
string | Author's full name, e.g. Amy Edmondson. Returns the top 3 OpenAlex matches — verify by name/affiliation. |
get_citing_papers
| Param | Type | Default | Description |
|---|---|---|---|
scopus_id |
string | — | Scopus document ID |
count |
int | 5 | Results to return (max 25) |
sort |
string | coverDate |
coverDate or relevancy |
get_pdf_link
| Param | Type | Description |
|---|---|---|
doi |
string | DOI, e.g. 10.1016/j.tourman.2026.105478 |
Scopus query syntax (quick reference)
| Field | Example |
|---|---|
| Title | TITLE(machine learning) |
| Author | AUTH(edmondson) |
| Keywords | KEY(psychological safety) |
| Year | PUBYEAR > 2020, PUBYEAR = 2023 |
| Affiliation | AFFIL(harvard) |
| Combined | TITLE(agile) AND KEY(teams) AND PUBYEAR > 2019 |
Full syntax: Scopus Search Tips.
License
MIT — see LICENSE.
Acknowledgements
Built on the open scholarly infrastructure of CrossRef, OpenAlex and Unpaywall, plus the Elsevier Scopus API.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.