Skip to main content
Glama
Open Source Literature MCP

Open Source Literature MCP

by simthw

Open Source Literature MCP

An MCP server for automatic literature discovery and screening across OpenAlex, Semantic Scholar, and arXiv.

The server keeps intermediate raw results, normalized records, and deduped candidates internal. MCP clients receive only the final selected papers plus structured metadata.

Tools

  • auto_literature_screen: Searches selected sources, dedupes by DOI/arXiv ID/title, screens, ranks, and returns final papers.

  • discover_papers: Alias for auto_literature_screen.

  • expand_related_papers: Expands a Semantic Scholar seed paper with related recommendations, then screens and ranks.

  • export_to_zotero: Exports final selected papers to a Zotero user or group library.

  • generate_research_ideas: Generates evidence-backed research ideas from a topic and selected papers.

  • review_research_idea: Reviews one proposed idea against selected papers for novelty, feasibility, and evidence fit.

  • literature_mcp_health: Shows server metadata and whether a Semantic Scholar API key is configured.

Related MCP server: Research Gap Analyzer MCP Server

Setup

npm install
npm run build
npm test

Optional environment variables (PowerShell):

$env:SEMANTIC_SCHOLAR_API_KEY = "your_key"
$env:OPENALEX_MAILTO = "you@example.com"

Or with bash:

export SEMANTIC_SCHOLAR_API_KEY=your_key
export OPENALEX_MAILTO=you@example.com

Semantic Scholar works without a key, but a key usually improves rate limits. OPENALEX_MAILTO opts into OpenAlex's faster "polite pool"; set it to a real contact email.

MCP Client Config

Use the built server:

{
  "mcpServers": {
    "opensource-literature": {
      "command": "node",
      "args": ["D:/demo/opensourse-mcp/dist/index.js"]
    }
  }
}

Zotero Export

Call export_to_zotero with the results array returned by auto_literature_screen.

{
  "papers": [],
  "zoteroApiKey": "your_zotero_key",
  "zoteroUserId": "123456"
}

Use zoteroGroupId instead of zoteroUserId for a group library.

Research Ideas

These two tools are heuristic scaffolding, not a language-model judgment. Ideas come from keyword/term overlap and research-gap templates, and the scores are relative heuristics meant to triage, not to rank definitively. The method and gap vocabularies default to a biomedical bias; override them with candidateMethods and focusGaps for other fields.

Use the results array returned by auto_literature_screen as selected_papers.

{
  "topic": "single-cell multi-omics integration cancer prognosis",
  "selected_papers": [],
  "count": 5
}

Then review a specific idea:

{
  "topic": "single-cell multi-omics integration cancer prognosis",
  "idea": "Build a cell-type aware survival prediction benchmark for missing-modality single-cell multi-omics data.",
  "selected_papers": []
}

For development:

{
  "mcpServers": {
    "opensource-literature-dev": {
      "command": "npm",
      "args": ["run", "dev"],
      "cwd": "D:/demo/opensourse-mcp"
    }
  }
}

Example Call

{
  "topic": "single-cell multi-omics integration cancer prognosis",
  "yearFrom": 2020,
  "limit": 10,
  "sources": ["openalex", "semantic_scholar", "arxiv"],
  "includePreprints": true,
  "screeningCriteria": {
    "mustInclude": ["single-cell"],
    "prefer": ["multi-omics", "cancer prognosis", "survival prediction"],
    "exclude": ["review", "editorial", "protocol"],
    "minCitations": 5
  }
}

Implementation Notes

Scoring combines:

  • query term overlap in title/abstract

  • required and preferred phrases

  • DOI/arXiv metadata quality

  • cross-source confirmation

  • citation counts

  • recency

Intermediate candidate tables are intentionally not exposed as a workflow step.

Available Tools

7 tools
auto_literature_screenAuto Literature ScreenB

Search OpenAlex, Semantic Scholar, and arXiv, then internally merge, dedupe, screen, and rank papers. Returns only final selected papers.

Inputs: topic (required), yearFrom, yearTo, limit, +5 more.

discover_papersDiscover PapersC

Alias for auto_literature_screen. It keeps raw and deduped candidates internal and returns final selected papers only.

Inputs: topic (required), yearFrom, yearTo, limit, +5 more.

export_to_zoteroExport To ZoteroB

Export selected final papers to a Zotero user or group library. Intended for results from auto_literature_screen.

Inputs: papers (required), zoteroApiKey (required), zoteroUserId, zoteroGroupId.

generate_research_ideasGenerate Research IdeasA

Produce heuristic, keyword-based research-idea scaffolding from a topic and selected papers. Ideas are derived from term overlap and research-gap templates, not from a language model, and scores are relative heuristics. Does not run experiments or execute code.

Inputs: topic (required), selected_papers (required), count, candidateMethods, +1 more.

literature_mcp_healthLiterature MCP HealthA

Return server metadata and configured optional API keys.

Inputs: no named parameters.

review_research_ideaReview Research IdeaA

Heuristically review a proposed research idea against selected papers, scoring novelty, feasibility, and literature support from keyword overlap. Scores are relative heuristics, not a language-model judgment.

Inputs: topic (required), idea (required), selected_papers (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 7 tools

    Disambiguation2/5

    auto_literature_screen and discover_papers are exact aliases, creating confusion and redundancy. Other tools are distinct but the duplication lowers disambiguation.

    Naming Consistency3/5

    Most tools use verb_noun pattern (e.g., export_to_zotero, generate_research_ideas), but auto_literature_screen and literature_mcp_health deviate. The naming is readable but not fully consistent.

    Tool Count4/5

    7 tools is a reasonable number for a literature MCP. The presence of two aliases slightly inflates the count, but overall it's well-scoped.

    Completeness3/5

    Covers search, related-paper expansion, export, and idea generation/review. Missing are operations to view intermediate results, manually curate selections, or import from other sources, which are notable gaps.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI-powered academic paper discovery, search, and analysis from arXiv with advanced features like semantic search, citation network analysis, and multi-format exports (BibTeX, RIS, JSON, CSV). Provides intelligent research assistance through specialized AI prompts for summarization, trend tracking, and literature review automation.
      17
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables academic bibliographic search across arXiv, Semantic Scholar, and Google Scholar with advanced search, citation analysis, and Zotero integration for reference management.
      2
      -