Paper Lantern — Claude Code MCP server: what it does, how to install
Connects coding agents to 2M+ computer science research papers to evaluate algorithmic tradeoffs, benchmarks, and architectural decisions.
claude mcp add --transport http code https://mcp.paperlantern.ai/chat/mcpWhat Paper Lantern does
The server equips coding assistants with academic CS literature. Whenever an assistant faces an architectural dilemma, it queries research papers for candidate trade-offs and benchmark results. The integration stays inactive during basic syntax lookup or standard code debugging.
Five dedicated tools handle the research workflow: explore_approaches, deep_dive, compare_approaches, check_feasibility, and give_feedback. The feasibility check evaluates project boundaries to return an explicit GO, PROTOTYPE, or RECONSIDER verdict.
Setup via the CLI opens a desktop browser for OAuth verification. Because of this browser step, running the automated wizard on a headless machine will fail without manual endpoint configuration.
What it helps with
- evaluate trade-offs between competing algorithm families
- verify architectural feasibility before writing production code
- analyze hyperparameters and failure modes of a machine learning method
- compare academic benchmark results side by side
Example prompts for the agent
- Compare candidate algorithms for real-time deduplication under strict memory constraints
- Check feasibility of running an approximate nearest neighbor index within 256MB RAM
- Do a deep dive on modern cache eviction policies and their known failure modes
How to install Paper Lantern
Platform CLI: remote server
claude mcp add --transport http code https://mcp.paperlantern.ai/chat/mcpPlatform CLI: remote server
codex mcp add paper-lantern --url https://mcp.paperlantern.ai/chat/mcpConfig file
{
"mcpServers": {
"paper-lantern": {
"url": "https://mcp.paperlantern.ai/chat/mcp"
}
}
}Config file
{
"servers": {
"paper-lantern": {
"type": "http",
"url": "https://mcp.paperlantern.ai/chat/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http paper-lantern https://mcp.paperlantern.ai/chat/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Paper Lantern
How to install Paper Lantern in Claude Code?
Run claude mcp add --transport http paper-lantern https://mcp.paperlantern.ai/chat/mcp in your terminal. You can also run npx paperlantern@latest to authenticate through a browser and configure agent rules.
What does Paper Lantern do?
It provides coding assistants with evidence from 2M+ computer science papers. Agents query it to analyze algorithmic trade-offs, inspect implementation details, and test project feasibility.
When does Paper Lantern trigger?
It activates when selecting architectures or algorithms where research findings matter. It ignores routine syntax lookups, package searches, and general debugging tasks.