literature-agent-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@literature-agent-mcp search for recent papers on immunotherapy in lung cancer"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
literature-agent-mcp
MCP server that exposes the local biomedical literature pipeline in:
/Users/zouxingyu/Desktop/Codex工作区/literature-agent
It wraps the existing five-step CLI workflow as MCP tools so OpenClaw / Codex / Claude Code / other MCP clients can call it as a standard server.
Tools
plan_querysearch_and_mergedownload_fulltextsconvert_and_indexwrite_draftrun_pipeline
Related MCP server: pubmed-clinical-mcp
Default assumptions
Biomedical / pathology domain
Legal open-access retrieval only
No paywall bypass
Local literature-agent project already exists
Local setup
cd /tmp/mcp_repo_zouxy111
python3.11 -m venv .venv
source .venv/bin/activate
pip install -e .Run server
source .venv/bin/activate
literature-agent-mcpEnvironment variables
LITERATURE_AGENT_ROOT: override the default project root
Default:/Users/zouxingyu/Desktop/Codex工作区/literature-agentLITERATURE_AGENT_PYTHON: override the interpreter used to call the backend
Default:<root>/.venv/bin/python, fallbackpython
Example MCP config
{
"mcpServers": {
"literature-agent": {
"command": "/tmp/mcp_repo_zouxy111/.venv/bin/literature-agent-mcp",
"env": {
"LITERATURE_AGENT_ROOT": "/Users/zouxingyu/Desktop/Codex工作区/literature-agent"
}
}
}
}Backend outputs
For a given task_id, outputs are written under:
<literature-agent>/work/<task_id>/
Typical structure:
query_plan.jsonsearch/master_results.jsonlcorpus/draft/
Available Tools
6 toolsconvert_and_indexC
Convert downloaded PDF/HTML to notes/text and index the corpus.
Inputs: task_id (required). Returns: object
download_fulltextsC
Download open-access full texts and write manual follow-up list.
Inputs: task_id (required). Returns: object
plan_queryC
Generate a query plan JSON for a biomedical/pathology literature task.
Inputs: topic (required), task_id (required), question, year_start, +1 more. Returns: object
run_pipelineC
Run the complete literature pipeline: plan, search, download, index, and draft.
Inputs: topic (required), task_id (required), question, year_start, +3 more. Returns: object
search_and_mergeB
Run multi-source search and merge using the existing query plan.
Inputs: task_id (required), per_query. Returns: object
write_draftC
Generate an outline and first draft scaffold from the local corpus.
Inputs: task_id (required), topic (required), mode. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
The run_pipeline tool explicitly subsumes the functionality of most other tools (plan, search, download, index, draft), creating significant ambiguity about when agents should use atomic steps versus the monolithic pipeline. Boundaries between individual tools are clear, but their relationship to the pipeline tool is undefined.
While all tools use snake_case, the naming pattern inconsistently mixes simple verb_noun constructions (plan_query, write_draft) with compound verb_and_verb patterns (convert_and_index, search_and_merge). This deviation from a single convention reduces predictability despite remaining readable.
Six tools falls within the ideal range for a literature research domain and covers the major workflow stages. However, functional redundancy between the pipeline orchestrator and individual step tools suggests slight scope overlap, preventing a perfect score.
The set covers core creation operations (planning, downloading, indexing, drafting) but lacks complementary read/update/delete operations for managing the generated artifacts. Notable gaps include querying the indexed corpus, retrieving specific papers, or updating drafts after creation.
Maintenance
Related MCP Connectors
Auditable MCP server for PubMed, Europe PMC, ClinicalTrials.gov, and bioRxiv/medRxiv queries
PubMed MCP — wraps the NCBI E-utilities API (biomedical literature, free, no auth)
Citepath public MCP server for LLM readiness audits and public scan results.
Public MCP endpoint for collaborative research and knowledge discovery.
Related MCP Servers
- AlicenseBqualityDmaintenanceThis MCP server provides 16 intelligent tools for searching, retrieving, and linking biomedical literature from PubMed and PMC. It enables LLM applications to perform complex queries, batch processing, and cross-database linking.168MIT
- AlicenseAqualityDmaintenanceA lightweight MCP server for clinical biomedical literature retrieval, enabling PubMed search, article metadata, full-text access, and evidence summarization through MCP-compatible clients.10MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to interact with a local-first research knowledge workbench, supporting literature search, evidence-grounded Q&A, and reference export.2AGPL 3.0
- AlicenseBqualityCmaintenanceEnables biomedical research workflows via MCP, including experiment and document search, PDF text extraction, evidence retrieval, and validation with provenance tracking.10MIT