The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the ScholarFetch listing page.
ScholarFetch is a multi-engine academic research environment for:
It combines:
stdio, sse, streamable-http)The core idea is simple: start from keywords, DOI, or authors, traverse papers and references, inspect abstracts and full text, save what matters, then export a compact corpus for synthesis.
Console scripts:
scholarfetchscholarfetch-mcpscholarfetch-fastmcpAlternative:
ScholarFetch loads provider credentials server-side / client-side from environment.
Default env file:
.scholarfetch.envTypical variables:
Notes:
ELSEVIER_INSTTOKEN is optionalScholarFetch CLI is designed for research traversal.
Typical flow:
Example:
OPEN, ABSTRACT, TEXT, REFS, and AUTHORBackspace to go to parent nodeEsc to return to promptS to save a paper from paper lists or reference listsX to remove from the saved listAUTHOR action from a paper now lets you select:
ALL AUTHORSopenabstracttextrefsauthor/search <keywords|doi|person name>/author <name>/papers <author name|index> [filters]/doi <doi>/open <index>/abstract <doi|index>/article <doi|index>/refs <doi|index>/ref <index>/saved/export [format style path ...]/import [path]/pick [mode]/config/engines/helpUse with /papers:
year>=YYYY, year<=YYYY, year=YYYYhas:abstract, has:doi, has:pdf, has:fulltextvenue:<text>, title:<text>, doi:<text>Examples:
ScholarFetch supports four export modes from the saved paper set.
bib
citations
harvard, apa, or ieeeabstracts
fulltext
This makes ScholarFetch useful as a corpus builder for downstream synthesis agents.
ScholarFetch exposes the same research model through MCP.
Modes:
python3 scholarfetch_mcp.pypython3 scholarfetch_fastmcp.py --transport stdiopython3 scholarfetch_fastmcp.py --transport sse --host 127.0.0.1 --port 8000python3 scholarfetch_fastmcp.py --transport streamable-http --host 127.0.0.1 --port 8000 --http-path /mcpValidation:
Public demo endpoints:
io.github.laibniz/scholarfetchThe MCP server is designed for agent workflows, not only one-off calls.
An agent can:
This lets an agent build a focused research set inside one MCP session and then hand off an export artifact to another synthesis step.
See MCP_SERVER.md for the detailed tool model.
scholarfetch.py: CLI entrypointscholarfetch_cli.py: core CLI + retrieval logicscholarfetch_mcp.py: classic MCP serverscholarfetch_fastmcp.py: FastMCP serverMCP_SERVER.md: MCP usage guideAGENTS.md: agent-facing workflow guideSKILL.md: structured research skill guideSKILLS.md: index for agent-facing skill docsCONTRIBUTING.md: contributor notesIf you are running ScholarFetch from an MCP-compatible system, read:
These documents explain how to use ScholarFetch as a literature-research environment rather than as a flat search API.
See CONTRIBUTING.md.
See SECURITY.md.
MIT License. See LICENSE.