timesfm
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Academic paper knowledge-base MCP server: PDF ingest, vector search with reranking, KB management.
教 AI 做这类工作的 Skill,可与本项一起使用
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…
scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 9/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 7/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 17/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 Scholar RAG MCP。按照 https://mcp.popnx.com/i/notwhiteblank-scholar-rag-mcp.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要填写 3 项设置(SCHOLAR_RAG_CHAT_BASE_URL, SCHOLAR_RAG_EMBED_BASE_URL, SCHOLAR_RAG_RERANK_BASE_URL) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server Scholar RAG MCP,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "scholar-rag": { "command": "uvx", "args": [ "scholar-rag-mcp" ], "env": { "SCHOLAR_RAG_CHAT_BASE_URL": "your-value", "SCHOLAR_RAG_EMBED_BASE_URL": "your-value", "SCHOLAR_RAG_RERANK_BASE_URL": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) SCHOLAR_RAG_CHAT_BASE_URL, SCHOLAR_RAG_EMBED_BASE_URL, SCHOLAR_RAG_RERANK_BASE_URL 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Scholar RAG MCP 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
SCHOLAR_RAG_CHAT_BASE_URL 用于标注/关键词的与 OpenAI 兼容的 chat 端点(例如本地 vLLM) SCHOLAR_RAG_EMBED_BASE_URL 与 OpenAI 兼容的 embeddings 端点 SCHOLAR_RAG_RERANK_BASE_URL Rerank endpoint (/v1/rerank)说明为自动翻译,变量名保持原样;不确定时请查看原文。
SettingsDeveloperEdit Config
{
"mcpServers": {
"scholar-rag": {
"command": "uvx",
"args": [
"scholar-rag-mcp"
],
"env": {
"SCHOLAR_RAG_CHAT_BASE_URL": "your-value",
"SCHOLAR_RAG_EMBED_BASE_URL": "your-value",
"SCHOLAR_RAG_RERANK_BASE_URL": "your-value"
}
}
}
}用 Scholar RAG MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Scholar RAG MCP,或回答中出现 Scholar RAG MCP 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
SCHOLAR_RAG_DATA_DIR 数据根目录(知识库、缓存、任务) 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Scholar RAG MCP
Scholar RAG MCP 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Scholar RAG MCP 的应用
可连接 Claude Code,但需要先准备
需要填写 3 项设置(SCHOLAR_RAG_CHAT_BASE_URL, SCHOLAR_RAG_EMBED_BASE_URL, SCHOLAR_RAG_RERANK_BASE_URL) · 需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server Scholar RAG MCP,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user scholar-rag --env SCHOLAR_RAG_CHAT_BASE_URL=your-value --env SCHOLAR_RAG_EMBED_BASE_URL=your-value --env SCHOLAR_RAG_RERANK_BASE_URL=your-value -- uvx scholar-rag-mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) SCHOLAR_RAG_CHAT_BASE_URL, SCHOLAR_RAG_EMBED_BASE_URL, SCHOLAR_RAG_RERANK_BASE_URL 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Scholar RAG MCP 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
SCHOLAR_RAG_CHAT_BASE_URL 用于标注/关键词的与 OpenAI 兼容的 chat 端点(例如本地 vLLM) SCHOLAR_RAG_EMBED_BASE_URL 与 OpenAI 兼容的 embeddings 端点 SCHOLAR_RAG_RERANK_BASE_URL Rerank endpoint (/v1/rerank)说明为自动翻译,变量名保持原样;不确定时请查看原文。
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user scholar-rag --env SCHOLAR_RAG_CHAT_BASE_URL=your-value --env SCHOLAR_RAG_EMBED_BASE_URL=your-value --env SCHOLAR_RAG_RERANK_BASE_URL=your-value -- uvx scholar-rag-mcp应能看到 Scholar RAG MCP 在列表中并显示已连接
用 Scholar RAG MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Scholar RAG MCP,或回答中出现 Scholar RAG MCP 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
SCHOLAR_RAG_DATA_DIR 数据根目录(知识库、缓存、任务) 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要填写 3 项设置(SCHOLAR_RAG_CHAT_BASE_URL, SCHOLAR_RAG_EMBED_BASE_URL, SCHOLAR_RAG_RERANK_BASE_URL) · 需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server Scholar RAG MCP,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "scholar-rag": { "command": "uvx", "args": [ "scholar-rag-mcp" ], "env": { "SCHOLAR_RAG_CHAT_BASE_URL": "your-value", "SCHOLAR_RAG_EMBED_BASE_URL": "your-value", "SCHOLAR_RAG_RERANK_BASE_URL": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) SCHOLAR_RAG_CHAT_BASE_URL, SCHOLAR_RAG_EMBED_BASE_URL, SCHOLAR_RAG_RERANK_BASE_URL 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Scholar RAG MCP 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
SCHOLAR_RAG_CHAT_BASE_URL 用于标注/关键词的与 OpenAI 兼容的 chat 端点(例如本地 vLLM) SCHOLAR_RAG_EMBED_BASE_URL 与 OpenAI 兼容的 embeddings 端点 SCHOLAR_RAG_RERANK_BASE_URL Rerank endpoint (/v1/rerank)说明为自动翻译,变量名保持原样;不确定时请查看原文。
在 Scholar RAG MCP 的设置中,SCHOLAR_RAG_CHAT_BASE_URL, SCHOLAR_RAG_EMBED_BASE_URL, SCHOLAR_RAG_RERANK_BASE_URL 还是空的,填入你的密钥并保存
用 Scholar RAG MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Scholar RAG MCP,或回答中出现 Scholar RAG MCP 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
SCHOLAR_RAG_DATA_DIR 数据根目录(知识库、缓存、任务) 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要填写 3 项设置(SCHOLAR_RAG_CHAT_BASE_URL, SCHOLAR_RAG_EMBED_BASE_URL, SCHOLAR_RAG_RERANK_BASE_URL) · 需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server Scholar RAG MCP,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "scholar-rag": { "type": "stdio", "command": "uvx", "args": [ "scholar-rag-mcp" ], "env": { "SCHOLAR_RAG_CHAT_BASE_URL": "your-value", "SCHOLAR_RAG_EMBED_BASE_URL": "your-value", "SCHOLAR_RAG_RERANK_BASE_URL": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) SCHOLAR_RAG_CHAT_BASE_URL, SCHOLAR_RAG_EMBED_BASE_URL, SCHOLAR_RAG_RERANK_BASE_URL 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Scholar RAG MCP 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
SCHOLAR_RAG_CHAT_BASE_URL 用于标注/关键词的与 OpenAI 兼容的 chat 端点(例如本地 vLLM) SCHOLAR_RAG_EMBED_BASE_URL 与 OpenAI 兼容的 embeddings 端点 SCHOLAR_RAG_RERANK_BASE_URL Rerank endpoint (/v1/rerank)说明为自动翻译,变量名保持原样;不确定时请查看原文。
在 Scholar RAG MCP 的设置中,SCHOLAR_RAG_CHAT_BASE_URL, SCHOLAR_RAG_EMBED_BASE_URL, SCHOLAR_RAG_RERANK_BASE_URL 还是空的,填入你的密钥并保存
用 Scholar RAG MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Scholar RAG MCP,或回答中出现 Scholar RAG MCP 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
SCHOLAR_RAG_DATA_DIR 数据根目录(知识库、缓存、任务) 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user scholar-rag --env SCHOLAR_RAG_CHAT_BASE_URL=your-value --env SCHOLAR_RAG_EMBED_BASE_URL=your-value --env SCHOLAR_RAG_RERANK_BASE_URL=your-value -- uvx scholar-rag-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"scholar-rag": {
"command": "uvx",
"args": [
"scholar-rag-mcp"
],
"env": {
"SCHOLAR_RAG_CHAT_BASE_URL": "your-value",
"SCHOLAR_RAG_EMBED_BASE_URL": "your-value",
"SCHOLAR_RAG_RERANK_BASE_URL": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"scholar-rag": {
"command": "uvx",
"args": [
"scholar-rag-mcp"
],
"env": {
"SCHOLAR_RAG_CHAT_BASE_URL": "your-value",
"SCHOLAR_RAG_EMBED_BASE_URL": "your-value",
"SCHOLAR_RAG_RERANK_BASE_URL": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"scholar-rag": {
"type": "stdio",
"command": "uvx",
"args": [
"scholar-rag-mcp"
],
"env": {
"SCHOLAR_RAG_CHAT_BASE_URL": "your-value",
"SCHOLAR_RAG_EMBED_BASE_URL": "your-value",
"SCHOLAR_RAG_RERANK_BASE_URL": "your-value"
}
}
}
}SCHOLAR_RAG_DATA_DIR envSCHOLAR_RAG_CHAT_BASE_URL 必填 envSCHOLAR_RAG_EMBED_BASE_URL 必填 envSCHOLAR_RAG_RERANK_BASE_URL 必填 env说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日
注册名称已通过 GitHub 账户 notwhiteblank 验证,该账户拥有此仓库
代码最后更新于3个月前
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
OSV.dev 中没有 scholar-rag-mcp@0.4.0 的记录
只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/notwhiteblank-scholar-rag-mcp)提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于3个月前,最新版本(0.4.0)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
cotal.ai actions: product overview, site search, build log, feedback, Cloud waitlist, updates, calls
| 本项 Scholar RAG MCP | OpenSEO | Exa | Microsoft Learn MCP | Docs | COTAL actions (cotal.ai) | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 |
| 需要密钥 | 否 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 是 | 是 | 是 | 否 | 否 |
| 基础检查 | 3/3 | 5/5 | 2/4 | 4/4 | 4/4 | 4/4 |
| 许可证 | MIT | MIT | MIT | CC-BY-4.0 | NOASSERTION | Apache-2.0 |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Status: preview release (v0.4.0). Interfaces and storage layout may change in future versions.
scholar-rag-mcp is a publishable academic-paper knowledge-base MCP tool. Point it at a folder of PDFs and it ingests each paper through a real parsing pipeline (MinerU), normalizes metadata, annotates section structure, chunks and embeds the text, and stores everything in Qdrant - after which an agent (or you) can semantically search chunks, run PubMed-style document queries, read full text section by section, add/remove single papers, and manage knowledge bases - all through 11 MCP tools over stdio. Embedding, annotation and re-ranking run on OpenAI-compatible model services (e.g. vLLM).
doc_id, section, year, journal, ...) evaluated inside the Qdrant index. 100k-chunk p95 query latency < 1s (see docs/perf-report.md).create_kb/add_document are background jobs with progress queryable via get_job; safe to restart (interrupted jobs are recovered and skipped on re-run).get_document_text with hard size caps; *outline first, pages on demand*.list_kbs, create_kb, delete_kb (two-phase), add_document, remove_document, get_document, get_document_text, list_documents, search_documents, search_chunks, get_job.scholar-rag-mcp runs on Linux x64, Windows x64 and macOS (Intel and Apple Silicon). It is published on PyPI; the standard way to run it is with uv (a suitable Python 3.12 is fetched automatically):
uvx scholar-rag-mcp # download and start the MCP server (stdio)
No repository checkout is needed. Configure model endpoints and storage with SCHOLAR_RAG_* environment variables or /config.json (see .env.example); the Qdrant binary used for auto-launch is downloaded per platform on first use.
uvx scholar-rag-mcp install --with-mineru # install via uv, provision managed MinerU, register MCP clients
uvx scholar-rag-mcp install # MCP only; bring your own parse service (see PDF parsing) scholar-rag-mcp uninstall # unregister clients and remove the package
uvx scholar-rag-mcp install installs the package via uv tool install and interactively walks through the six model-endpoint settings (chat/embed/rerank base URLs and model names), using the defaults listed in Minimal environment unless a SCHOLAR_RAG_* value or a --chat-base-url / --chat-model / --embed-base-url / --embed-model / --rerank-base-url / --rerank-model flag is given; --yes accepts all defaults without prompting. It then detects the four supported MCP clients (Claude Desktop, Claude Code, opencode, Codex) and registers the tool by merging the scholar-rag-mcp entry into their user-level configs, touching only that entry; pass --client to register a single client. Configs that cannot be parsed (e.g. JSON with comments) are left untouched and a manual snippet is printed instead.
scholar-rag-mcp uninstall removes the scholar-rag-mcp entry from the detected clients and runs uv tool uninstall; the knowledge-base data directory is kept. --purge additionally deletes the data directory after explicit confirmation (skip the prompt with --yes).
Requires pixi. From the repository root:
pixi install # installs the default environment
The pixi environments are locked for all four supported targets. The project defines two pixi environments, each serving a different purpose:
| Environment | Purpose |
|---|---|
default | Core runtime + dev tooling (pytest/ruff/mypy). Run the MCP server and all scripts here. |
mineru | Adds MinerU (==3.4.5) plus its full runtime stack (pinned transformers<5, torch, onnxruntime, shapely, ...). Use for PDF parsing and the e2e smoke test. |
Verify your environment with the built-in doctor:
pixi run python scripts/doctor.py
Environment ('chat', 'embed' and 'rerank' clients) expects OpenAI-compatible HTTP endpoints. scripts/serve_models.sh launches three vLLM instances for the reference model set:
| Service | Model | Port |
|---|---|---|
| chat | Qwen3.5-0.8B | 8101 |
| embed | jina-embeddings-v5-text-small | 8102 |
| rerank | jina-reranker-v3.5 | 8103 |
# point *_MODEL at your local model directories, then:
bash scripts/serve_models.sh
SCHOLAR_RAG_CHAT_MODEL, SCHOLAR_RAG_EMBED_MODEL and SCHOLAR_RAG_RERANK_MODEL are required - the script exits with a message listing them if any is unset. Each value must be an absolute path to a local HuggingFace model directory; vLLM serves each model under a short name equal to the directory basename, so the client settings must use that short name (the served name no longer equals the full path). Replace the /path/to/... placeholders in .env.example accordingly. Ports (CHAT_PORT/EMBED_PORT/RERANK_PORT) and GPU ids remain optional with working defaults.
The script passes the vLLM flags verified for the default model set, notably --trust-remote-code, which all three models require on the pinned vLLM (0.27.1). Model load takes several minutes; the script polls health until all three answer.
scripts/serve_models.sh is Linux-only (bash + CUDA + vLLM; vLLM has no Windows support). On Windows/macOS point the *_BASE_URL settings at any OpenAI-compatible server instead - for example Ollama (http://127.0.0.1:11434/v1), LM Studio's local server, or a llama.cpp server - and set each *_MODEL to the model name that server reports. The rerank endpoint must expose /v1/rerank (or leave reranking to the embed-only fallback).
Start from .env.example and set at least the model endpoints (use the short names the serve script exposes, equal to each model directory's basename):
# data dir is optional - defaults to the platform data directory (see Data layout)
SCHOLAR_RAG_CHAT_BASE_URL=http://127.0.0.1:8101/v1 SCHOLAR_RAG_CHAT_MODEL=Qwen3.5-0.8B
SCHOLAR_RAG_EMBED_BASE_URL=http://127.0.0.1:8102/v1 SCHOLAR_RAG_EMBED_MODEL=jina-embeddings-v5-text-small
SCHOLAR_RAG_RERANK_BASE_URL=http://127.0.0.1:8103/v1 SCHOLAR_RAG_RERANK_MODEL=jina-reranker-v3.5
The embed model dimension is recorded in kb_meta.json at kb creation, so changing the embedding model later requires a new kb.
Since v0.4.0 the default parse backend is api. The recommended setup is the managed sidecar, which installs MinerU into an isolated Python 3.12 venv (MinerU requires Python >=3.10,<3.14) and auto-starts mineru-api on first parse:
scholar-rag-mcp install --with-mineru
The first parse triggers MinerU's model download; set MINERU_MODEL_SOURCE=modelscope if you need a China-friendly mirror.
Self-managed alternative: install MinerU in any Python 3.12 environment, run mineru-api --host 127.0.0.1 --port 8010, and keep the defaults (SCHOLAR_RAG_MINERU_BACKEND=api, SCHOLAR_RAG_MINERU_API_URL=http://127.0.0.1:8010).
The python backend (in-process import) and cli backend (subprocess per file) remain available via SCHOLAR_RAG_MINERU_BACKEND.
Point your MCP client at the uvx entry point and configure the model endpoints in the env block (any OpenAI-compatible server works; see Model deployment). To check that the server starts, run uvx scholar-rag-mcp in a terminal - it waits for an MCP client on stdio (Ctrl+C to exit).
{
"mcpServers": { "scholar-rag-mcp": { "command": "uvx", "args": ["scholar-rag-mcp"], "env": { "SCHOLAR_RAG_CHAT_BASE_URL": "http://127.0.0.1:8101/v1", "SCHOLAR_RAG_CHAT_MODEL": "Qwen3.5-0.8B", "SCHOLAR_RAG_EMBED_BASE_URL": "http://127.0.0.1:8102/v1", "SCHOLAR_RAG_EMBED_MODEL": "jina-embeddings-v5-text-small", "SCHOLAR_RAG_RERANK_BASE_URL": "http://127.0.0.1:8103/v1", "SCHOLAR_RAG_RERANK_MODEL": "jina-reranker-v3.5" } } } }
{
"$schema": "https://opencode.ai/config.json", "mcp": { "scholar-rag-mcp": { "type": "local", "command": ["uvx", "scholar-rag-mcp"], "environment": { "SCHOLAR_RAG_CHAT_BASE_URL": "http://127.0.0.1:8101/v1", "SCHOLAR_RAG_CHAT_MODEL": "Qwen3.5-0.8B", "SCHOLAR_RAG_EMBED_BASE_URL": "http://127.0.0.1:8102/v1", "SCHOLAR_RAG_EMBED_MODEL": "jina-embeddings-v5-text-small", "SCHOLAR_RAG_RERANK_BASE_URL": "http://127.0.0.1:8103/v1", "SCHOLAR_RAG_RERANK_MODEL": "jina-reranker-v3.5" } } } }
Running from a source checkout instead: use pixi run scholar-rag-mcp as the command (from the repository root) and set the same variables in your shell.
| Tool | Purpose |
|---|---|
list_kbs | List knowledge bases with document/chunk counts and status. |
create_kb | Asynchronously ingest every PDF in a folder into a new kb (returns job_id). |
delete_kb | Two-phase kb deletion (see below). |
add_document | Asynchronously ingest a single PDF into an existing kb (returns job_id). |
remove_document | Synchronously delete one document (Qdrant points + catalog + files). |
get_document | Document overview: metadata, abstract, section outline, total size. |
get_document_text | Paginated full-text reading of one document or a single section. |
list_documents | Paginated browse of documents in a kb. |
search_documents | PubMed-style document-level search (FTS + title/authors/journal/year). |
search_chunks | Semantic chunk search with metadata filters and embed+rerank scores. |
get_job | Query status/progress/result/elapsed time of a background job. |
<data_dir>/ # SCHOLAR_RAG_DATA_DIR, default: platform data dir (below)
├── kbs/ / │ ├── kb_meta.json # dimension, chunk config, schema version │ ├── catalog.sqlite3 # documents / authors / keywords / chunks + FTS5 │ └── documents/ / # source.pdf, full_text.md, sections.json ├── cache/parse/ # MinerU markdown cache, keyed by content hash ├── cache/resolver/ # annotation resolver cache, keyed by content hash ├── jobs.sqlite3 # async job history ├── bin/ # auto-downloaded Qdrant binary (v1.12.5) └── qdrant-storage/ # default QDRANT_STORAGE_DIR location
Default data_dir per platform (override with SCHOLAR_RAG_DATA_DIR):
| Platform | Default |
|---|---|
| Linux | $XDG_DATA_HOME/scholar-rag (falls back to ~/.local/share/scholar-rag) |
| macOS | ~/Library/Application Support/scholar-rag |
| Windows | %LOCALAPPDATA%\scholar-rag |
Qdrant storage defaults to /qdrant-storage (override with SCHOLAR_RAG_QDRANT_STORAGE_DIR) - it must be on a local filesystem, not a 9p/network mount.
Upgrading from v0.1.0 on Linux: the old defaults (~/.scholar-rag and ~/.local/share/scholar-rag/qdrant) are migra