Skip to main content

An MCP server for retrieving academic papers from open access sources

Project description

mcp-scholaris

An MCP server for retrieving academic papers from open access sources. Provides search across arXiv, Semantic Scholar, and PubMed, with full text retrieval via arXiv PDFs, PubMed Central (BioC API), and Unpaywall. No paywalls, no grey area — legitimate open access only.

Installation

pip install mcp-scholaris

Tools

search_papers

Search for academic papers by topic, author, or keyword.

Parameters:

  • query (required) — search terms
  • sources (optional) — list of sources to search: arxiv, semantic_scholar, pubmed. Defaults to all three.
  • max_results (optional) — maximum results per source. Defaults to 5.

fetch_paper

Fetch the full text of a paper. Tries open access sources in order: arXiv → PubMed Central → Unpaywall. Provide at least one identifier.

Parameters:

  • arxiv_id — e.g. 2301.00001 or arxiv:2301.00001
  • pubmed_id — PubMed ID (PMID), e.g. 36383508
  • doi — e.g. 10.1371/journal.pone.0276755

Configuration

Semantic Scholar works without an API key but is rate-limited. For higher limits, create a .env file in your working directory:

SEMANTIC_SCHOLAR_API_KEY=your_key_here

API keys are free at semanticscholar.org.

Usage with an MCP client

Add to your MCP client configuration:

{
  "mcpServers": {
    "scholaris": {
      "command": "scholaris"
    }
  }
}

Or run directly:

scholaris

The server communicates over stdio using the MCP protocol (JSON-RPC 2.0).

Sources

Source Search Full Text
arXiv ✓ PDF
Semantic Scholar ✓ when OA PDF available
PubMed ✓ via BioC API (PMC articles)
Unpaywall ✓ for any DOI with OA version

License

MIT

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

mcp_scholaris-0.1.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

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

mcp_scholaris-0.1.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_scholaris-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_scholaris-0.1.0.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for mcp_scholaris-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8d0984c3989faf3de3f5442564e43b5ed2c80c87d62ad003dcbff41e3ef0027d
MD5 45608d06615a8b84178dfd510a7166ea
BLAKE2b-256 8c87b50baa331cdf8a2f86dc99dcf184e52daafe209d137bd738e5ae2033192d

See more details on using hashes here.

File details

Details for the file mcp_scholaris-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_scholaris-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for mcp_scholaris-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 028682382c850886edd40748c746234fefbd8e3163896407f9beab1910f0b378
MD5 75b32f9141c339af46b0aae429760915
BLAKE2b-256 c04810b707b1fe36a064dc62995b2818991383fc2e068c501a443e12e4916555

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