Skip to main content
Glama

Paper Pilot(论文副驾驶)

All-in-one scholarly PDF reader MCP App for Antigravity & OpenAI Codex Desktop App — browse Zotero & local PDFs side-by-side, translate with PDF formula geometry recovery + KaTeX rendering, ask your Agent with zero copy-paste, snip complex equations visually, and synthesize structured bilingual reading notes directly into Obsidian.

Paper Pilot(论文副驾驶) 是一款面向全英科研文献精读的 开放标准 MCP App 插件,将 Zotero 书库直读、PDF.js 同屏精读、多色高亮批注、公式友好划词翻译、划词提问联动左侧 Agent、以及一键整理核心摘要写入 Obsidian 融为一条连贯的科研工作流,彻底告别“Zotero 读论文 ↔ 切窗口问 AI ↔ 手动搬运到 Obsidian”的割裂体验。


核心科研工作流

  1. Zotero 书库直读 + 本地目录浏览

    • 通过私有只读快照无锁读取本地 zotero.sqlite(支持 Zotero 运行中实时读取、合集筛选、作者/年份/期刊元数据、ZotFile/Attanger 链接附件),并内置按时间戳缓存的内存索引,数千篇文献也能毫秒级检索。

    • 同时支持浏览任意本地文件夹、递归搜 PDF、收藏常用文献目录,并注册为 .pdf 自定义文件查看器。

  2. 右侧原生 PDF.js 精读与多色高亮批注

    • 单文件自包含打包(适配严格 CSP default-src 'none'),支持 HiDPI 清晰渲染、精准文本选择层、四色分类高亮(重点 / 方法推导 / 结论实验 / 疑问局限)、缩放与页码记忆,以及离屏画布自动回收(连读多篇长论文内存保持平稳)。

  3. 直击科研痛点:PDF 公式几何还原 + KaTeX 印刷级渲染 + 框选识图精译

    • PDF 字形几何线索还原:普通 PDF 划词翻译常把 $\frac{\lambda(A+B)}{P}$ 抽成乘法 λ(A+B)P、把 $|\boldsymbol{d}|_1$ 抽成 //d//1、把 $\mathbb{R}^{Q\times P}$ 压平为 RQ×P。Paper Pilot 划词时自动读取 PDF.js 文本层字形坐标与字号,还原分式、求和上下限与上下标线索喂给大模型。

    • 内置 KaTeX 渲染:翻译气泡与右侧「笔记」抽屉直接渲染论文印刷级数学公式;复制与导出到 Obsidian 时完整保留标准 $...$ / $$...$$ LaTeX 源码。

    • 框选公式一键识图精译:遇到多层矩阵、复杂推导或图表,点击「框选公式」拖拽截高分辨率 PNG,一键发给左侧多模态 Agent 无损翻译或推导,并自动将精炼解答同步回右侧笔记面板。

  4. 多引擎划词翻译 & 「⚡ 划词即译」开关

    • 免费快译(默认开箱即用,免 Key):ipv4first + 打开论文后台预热长连接 + 双节点竞速(带单节点 429 自动冷却)+ 自动探测环境变量与 macOS/Windows 系统代理,热连接约 0.2–0.4s 出译文。

    • 高性价比学术大模型 API:内置 DeepSeek(推荐)、Google Gemini API、Ollama 本地模型与任意 OpenAI 兼容接口(SiliconFlow / OpenRouter 等),API Key 以 0600 权限仅存于本机且永不暴露给对话模型。

    • 「⚡ 划词即译」开关:顶部工具栏一键切换(默认关闭,防止划词高亮时误耗付费 Token),开启后松手即自动弹出译文;气泡内常驻一键转左侧 Agent 精译按钮。

  5. 零复制划词提问 & 一键合成 Obsidian 笔记

    • 选中段落点击「问 Agent」自动携带论文标题、页码、原文与周边语境提问,Agent 回答后通过 record_qa_answer 将精炼解答回写到右侧「笔记 → 划词问答」。

    • 点击 「AI 整理核心摘要并写入 Obsidian」,Agent 自动在笔记开头生成结构化「核心摘要」,完整归档每处高亮的「原文 + 中文对照 + 我的批注」以及标星筛选的「阅读问答精选」,写入你的 Obsidian Vault(也支持一键免模型直接导出)。


Related MCP server: academic-workflow-mcp

支持平台与客户端

维度

支持范围

说明

操作系统

macOS / Windows / Linux

Node.js >= 20(Node 22+ 走内置 node:sqlite,旧版自动回退 py -3 / python / python3)

Antigravity(AGY)

原生完整支持

声明 _meta["com.google.antigravity/ui"]:aux_pane 侧边栏、global 全屏与 .pdf 文件视图

Codex Desktop App

原生完整支持

声明 _meta["openai/ui"]:thread 侧边栏、global 全屏与 .pdf 文件视图,自带 .codex-plugin/plugin.json 与 .mcp.json

其他 MCP Apps 客户端

标准协议兼容

Claude Desktop / Cursor / VS Code Copilot 可直接挂载 dist/server.mjs 按 io.modelcontextprotocol/ui 运行


快速安装

环境要求:Node.js >= 20。

git clone https://github.com/mahirunox/paper-pilot.git
cd paper-pilot
npm install

# macOS / Linux:
bash install.sh --agy --rebuild     # 仅安装到 Antigravity(默认)
bash install.sh --codex --rebuild   # 仅安装到 Codex Desktop App
bash install.sh --all --rebuild     # 同时安装到 Antigravity + Codex(自动共享阅读数据与设置)

# Windows PowerShell(或全平台直接运行 node scripts/install.mjs):
.\install.ps1 -Agy -Rebuild
.\install.ps1 -Codex -Rebuild
.\install.ps1 -All -Rebuild

安装后:

  • Antigravity:插件安装至 ~/.gemini/config/plugins/paper-pilot/,热加载生效。从右侧辅助栏 + → Paper Pilot、左侧 Plugins → Paper Pilot 或直接点击工作区 .pdf 打开。

  • Codex Desktop App:插件安装至 ~/.codex/plugins/paper-pilot/,Skill 写入 ~/.codex/skills/paper-pilot/,并通过 codex mcp add(或 ~/.codex/config.toml)注册全局 MCP Server paper-pilot;若本机已有 Antigravity 数据目录,自动共享同一份批注、问答与翻译设置。

卸载

# macOS / Linux:
bash uninstall.sh --agy              # 卸载 Antigravity 插件(保留个人数据)
bash uninstall.sh --codex            # 卸载 Codex 插件与 MCP 注册
bash uninstall.sh --all --purge-data # 卸载全部并清理本地阅读数据

# Windows PowerShell:
.\uninstall.ps1 -All

隐私与本地数据

所有配置、高亮批注、划词问答与公式截图均保存在本机数据目录(Antigravity 默认 ~/.gemini/antigravity/plugin_data/paper-pilot/,独立 Codex 默认 ~/.codex/plugin-data/paper-pilot/):

  • settings.json(权限 0600):翻译引擎、API Key、Zotero 与 Obsidian 目录设置(API Key 仅服务端读取,绝不暴露给前端或对话模型)

  • papers/<docId>.json:论文元数据、归一化高亮坐标、中英对照、个人批注、问答记录与上次阅读页码

  • snips/:公式/图表框选截图 PNG


本地开发与测试

npm run typecheck   # TypeScript 严格类型检查
npm run build       # 构建单文件前端 (dist/index.html) 与 MCP Server (dist/server.mjs)
npm test            # 运行 MCP stdio、双宿主元数据、Zotero 与 Obsidian 导出端到端测试

License

MIT

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An AI-powered research assistant that integrates with Zotero to read academic papers, create intelligent annotations, and generate structured notes. It enables users to highlight findings, explain formulas, and write comprehensive summaries directly within their Zotero library through natural language commands.
      9
      20
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Connects Zotero and Obsidian for an AI-assisted academic reading workflow, enabling paper fetching, structured note creation, highlight syncing, and review management.
      10
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables read-only search and analysis of your local Zotero library, including full-text PDF retrieval with OCR fallback, annotations, and cross-item comparison for synthesis.
      13
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Connects a Zotero research library to Claude, ChatGPT, and other AI assistants so users can search, read, summarize, cite, and annotate papers, add and organize items, and find research by meaning. Supports local Zotero access or the web API, plus optional semantic search, PDF page images, and citation tallies.
      38
      MIT