能做什么
Find books, papers and dissertations with Anna's Archive and OpenAlex, then download or read them.
作者提供的原文
- 连接方式 在你的电脑上运行
- 账号或密钥 无需密钥
- 分类 游戏、体育、美食与学习
为什么排在这里
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 27/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 12/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 39/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 78 (只用于“上升中”标签)
安装
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 Anna's Archive and OpenAlex。按照 https://mcp.popnx.com/i/sokolskynikita-annas-mcp.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
让 AI 帮你安装
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server Anna's Archive and OpenAlex,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "annas": { "command": "npx", "args": [ "-y", "annas-mcp" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Anna's Archive and OpenAlex 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
安装 Node.js(如果还没有)
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -v- 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
- 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端
Mac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号:
node -v安装一次,所有需要 Node.js 的工具都能用
打开电脑版 Claude 应用的设置文件
SettingsDeveloperEdit Config
粘贴这些设置并保存文件
{ "mcpServers": { "annas": { "command": "npx", "args": [ "-y", "annas-mcp" ] } } }退出 Claude 再重新打开
试一试
用 Anna's Archive and OpenAlex 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Anna's Archive and OpenAlex,或回答中出现 Anna's Archive and OpenAlex 的工具名称,就表示连接成功
4 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
ANNAS_SECRET_KEY可选的 Anna's Archive 密钥,用于书籍、档案搜索和档案下载。查看英文原文
Optional Anna's Archive secret key for books, archive searches and archive downloads.OPENALEX_API_KEY可选的 OpenAlex API 密钥,用于获取论文、学位论文、开放获取 PDF 以及结构化全文。查看英文原文
Optional OpenAlex API key for papers, dissertations, open PDFs and structured full text.ANNAS_DOWNLOAD_PATH用于存放下载文件的文件夹。默认为主文件夹中的 annas-archive。查看英文原文
Folder for downloaded files. Defaults to annas-archive in your home folder.ANNAS_ACCOUNT_COOKIE来自已登录浏览器的可选 aa_account_id2 Cookie,用于在使用密钥登录失败时使用。查看英文原文
Optional aa_account_id2 cookie from a signed-in browser, for when signing in with the secret key fails.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Anna's Archive and OpenAlex
Anna's Archive and OpenAlex 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
A · 使用能连接 Anna's Archive and OpenAlex 的应用
- 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
- 需要先在电脑上安装 Node.js(只需一次)
- 需要先在电脑上安装 Node.js(只需一次)
- 需要先在电脑上安装 Node.js(只需一次)
B · 游戏、体育、美食与学习 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- ShipSwift✓ ChatGPT
- LearnHouse✓ ChatGPT
- Anime Garden✓ ChatGPT
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
让 AI 帮你安装
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server Anna's Archive and OpenAlex,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user annas -- npx -y annas-mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Anna's Archive and OpenAlex 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
安装 Node.js(如果还没有)
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -v- 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
- 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端
Mac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号:
node -v安装一次,所有需要 Node.js 的工具都能用
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --scope user annas -- npx -y annas-mcp在 Claude Code 中输入 /mcp
应能看到 Anna's Archive and OpenAlex 在列表中并显示已连接
试一试
用 Anna's Archive and OpenAlex 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Anna's Archive and OpenAlex,或回答中出现 Anna's Archive and OpenAlex 的工具名称,就表示连接成功
4 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
ANNAS_SECRET_KEY可选的 Anna's Archive 密钥,用于书籍、档案搜索和档案下载。查看英文原文
Optional Anna's Archive secret key for books, archive searches and archive downloads.OPENALEX_API_KEY可选的 OpenAlex API 密钥,用于获取论文、学位论文、开放获取 PDF 以及结构化全文。查看英文原文
Optional OpenAlex API key for papers, dissertations, open PDFs and structured full text.ANNAS_DOWNLOAD_PATH用于存放下载文件的文件夹。默认为主文件夹中的 annas-archive。查看英文原文
Folder for downloaded files. Defaults to annas-archive in your home folder.ANNAS_ACCOUNT_COOKIE来自已登录浏览器的可选 aa_account_id2 Cookie,用于在使用密钥登录失败时使用。查看英文原文
Optional aa_account_id2 cookie from a signed-in browser, for when signing in with the secret key fails.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
让 AI 帮你安装
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server Anna's Archive and OpenAlex,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "annas": { "command": "npx", "args": [ "-y", "annas-mcp" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Anna's Archive and OpenAlex 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
安装 Node.js(如果还没有)
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -v- 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
- 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端
Mac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号:
node -v安装一次,所有需要 Node.js 的工具都能用
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Anna's Archive and OpenAlex 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Anna's Archive and OpenAlex,或回答中出现 Anna's Archive and OpenAlex 的工具名称,就表示连接成功
4 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
ANNAS_SECRET_KEY可选的 Anna's Archive 密钥,用于书籍、档案搜索和档案下载。查看英文原文
Optional Anna's Archive secret key for books, archive searches and archive downloads.OPENALEX_API_KEY可选的 OpenAlex API 密钥,用于获取论文、学位论文、开放获取 PDF 以及结构化全文。查看英文原文
Optional OpenAlex API key for papers, dissertations, open PDFs and structured full text.ANNAS_DOWNLOAD_PATH用于存放下载文件的文件夹。默认为主文件夹中的 annas-archive。查看英文原文
Folder for downloaded files. Defaults to annas-archive in your home folder.ANNAS_ACCOUNT_COOKIE来自已登录浏览器的可选 aa_account_id2 Cookie,用于在使用密钥登录失败时使用。查看英文原文
Optional aa_account_id2 cookie from a signed-in browser, for when signing in with the secret key fails.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
让 AI 帮你安装
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server Anna's Archive and OpenAlex,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "annas": { "type": "stdio", "command": "npx", "args": [ "-y", "annas-mcp" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Anna's Archive and OpenAlex 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
安装 Node.js(如果还没有)
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -v- 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
- 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端
Mac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号:
node -v安装一次,所有需要 Node.js 的工具都能用
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Anna's Archive and OpenAlex 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Anna's Archive and OpenAlex,或回答中出现 Anna's Archive and OpenAlex 的工具名称,就表示连接成功
4 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
ANNAS_SECRET_KEY可选的 Anna's Archive 密钥,用于书籍、档案搜索和档案下载。查看英文原文
Optional Anna's Archive secret key for books, archive searches and archive downloads.OPENALEX_API_KEY可选的 OpenAlex API 密钥,用于获取论文、学位论文、开放获取 PDF 以及结构化全文。查看英文原文
Optional OpenAlex API key for papers, dissertations, open PDFs and structured full text.ANNAS_DOWNLOAD_PATH用于存放下载文件的文件夹。默认为主文件夹中的 annas-archive。查看英文原文
Folder for downloaded files. Defaults to annas-archive in your home folder.ANNAS_ACCOUNT_COOKIE来自已登录浏览器的可选 aa_account_id2 Cookie,用于在使用密钥登录失败时使用。查看英文原文
Optional aa_account_id2 cookie from a signed-in browser, for when signing in with the secret key fails.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
安装在电脑上
Claude Code
claude mcp add --scope user annas -- npx -y annas-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"annas": {
"command": "npx",
"args": [
"-y",
"annas-mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"annas": {
"command": "npx",
"args": [
"-y",
"annas-mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"annas": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"annas-mcp"
]
}
}
}需要你填写的值
ANNAS_SECRET_KEY机密 env可选的 Anna's Archive 密钥,用于书籍、档案搜索和档案下载。查看英文原文
Optional Anna's Archive secret key for books, archive searches and archive downloads.OPENALEX_API_KEY机密 env可选的 OpenAlex API 密钥,用于获取论文、学位论文、开放获取 PDF 以及结构化全文。查看英文原文
Optional OpenAlex API key for papers, dissertations, open PDFs and structured full text.ANNAS_DOWNLOAD_PATHenv用于存放下载文件的文件夹。默认为主文件夹中的 annas-archive。查看英文原文
Folder for downloaded files. Defaults to annas-archive in your home folder.ANNAS_ACCOUNT_COOKIE机密 env来自已登录浏览器的可选 aa_account_id2 Cookie,用于在使用密钥登录失败时使用。查看英文原文
Optional aa_account_id2 cookie from a signed-in browser, for when signing in with the secret key fails.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月20日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 SokolskyNikita 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于13天前
- ✓ 通过
有许可证
使用 MIT
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
已公开的漏洞(OSV.dev)
OSV.dev 中没有 annas-mcp@0.8.2 的记录
只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日
作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/sokolskynikita-annas-mcp)讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“游戏、体育、美食与学习”中的其他服务器比较i
- 星标数多于此分类中其他 1623 个服务器的 96%
- 发布到注册中心的时间比此分类中其他 1623 个服务器的 69% 更新
- 基础检查结果等于或优于此分类中其他 1623 个服务器的 99%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Anna's Archive and OpenAlex 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于13天前,最新版本(0.8.2)于13天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Anime Garden, WilmAI, Lumify Sports Intelligence, Savecraft, GoodWatch
功能相近的其他选择
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
WilmAI
Finland's Wilma school system for parents and students: schedule, homework, exams and messages.
Lumify Sports Intelligence
Schedules, scores, odds, splits & explainable AI bet confidence — 8+ sports, free instant key.
Savecraft
Savecraft serves real save game data and expert game knowledge to AI assistants.
GoodWatch
Find movies and TV shows, track watches, and get suggestions based on your taste.
| 本项 Anna's Archive and OpenAlex | Anime Garden | WilmAI | Lumify Sports Intelligence | Savecraft | GoodWatch | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 在云端运行,无需安装 | 需要安装在电脑上 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 |
| 需要密钥 | 否 | 否 | 否 | 是 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 否 | 否 | 否 |
| 基础检查 | 3/3 | 4/4 | 3/3 | 4/4 | 3/4 | 4/4 |
| 许可证 | MIT | AGPL-3.0 | MIT | MIT | Apache-2.0 | MIT |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
annas-mcp
An MCP server and command-line tool for searching Anna's Archive and downloading books, papers, textbooks, manuals and standards. Use annas-cli in your terminal or connect annas-mcp to Claude, Cursor, Codex and other AI clients.
An Anna's Archive membership is required for archive access:
| Anna's Archive membership | Search through the MCP | Download by file hash or book-page URL |
|---|---|---|
| No paid membership | ❌ | ❌ |
| Brilliant Bookworm (cheapest tier) | ❌ | ✅ |
| Lucky Librarian or higher (recommended) | ✅ | ✅ |
Lucky Librarian or higher allows both search and download. With the basic tier, supply an archive file hash or book-page URL.
Disclaimer: I'm not affiliated with Anna's Archive. They were forced to introduce strict anti-scraping limits in 2026 due to massive DDoS attacks, with only paying members exempt.
[MCP setup](#mcp-setup) · [CLI setup](#cli-setup) · [Go SDK](https://github.com/SokolskyNikita/annas-mcp/blob/main/anna/README.md) · [Optional OpenAlex support](#openalex-optional)
The server signs in with your membership's secret key and renews the session by itself, so you never copy cookies from a browser. If you're coming from iosifache/annas-mcp, switching is a one-line change.
| Tool | What it does |
|---|---|
book_search | Finds books, textbooks, manuals and standards by title, author or topic, filtered by format, language, source or year; can include file activity counts |
article_search | Finds papers by title, author, topic, citation or DOI |
article_details | Inspects a selected paper's metadata and available copy details |
metadata_search | Searches library catalogs such as Open Library, WorldCat and ISBNdb for editions and ISBNs |
book_details | Shows a result's ISBNs and other identifiers, edition, description and reported file problems |
account_status | Shows your membership, search access and remaining fast downloads |
book_download | Downloads a book using a file hash or Anna's Archive book-page URL |
article_download | Downloads a paper by DOI or archive file hash |
article_read | Reads passages of structured full text with the optional OpenAlex integration |
Use it only for material you are entitled to obtain, under the laws and terms that apply to you.
Go SDK
Go applications can import github.com/SokolskyNikita/annas-mcp/anna for the same search, metadata, account and verified-download operations. See the SDK guide and examples for explicit configuration, errors, timeouts and concurrency. The SDK and applications share this module’s release tags. Requires Go 1.26 or newer; install with go get github.com/SokolskyNikita/annas-mcp/anna@v0.8.0.
Setup
You need Node.js 18 or newer and your Anna's Archive secret key. Search needs Lucky Librarian or higher; download works with any paid tier.
Anna’s Archive key
Copy the secret key you log in with from your Anna's Archive account page. It is also your API key (API FAQ).
MCP setup
Add the server to your client with ANNAS_SECRET_KEY set to your membership's secret key.
Claude Code
claude mcp add annas-mcp \
--env ANNAS_SECRET_KEY=your-secret-key \ -- npx -y annas-mcp
On native Windows (not WSL), end the command with -- cmd /c npx -y annas-mcp.
Claude Desktop, one click
Download annas-mcp.mcpb and open it, or drag it onto Settings → Extensions. Enter your Anna's Archive key and choose a download folder. You can skip the other optional settings.
Claude Desktop or Cursor, by hand
Add this to Claude Desktop's config (Settings → Developer → Edit Config) or to Cursor's ~/.cursor/mcp.json:
{
"mcpServers": { "annas-mcp": { "command": "npx", "args": ["-y", "annas-mcp"], "env": { "ANNAS_SECRET_KEY": "your-secret-key" } } } }
Codex
Add this to ~/.codex/config.toml:
[mcp_servers.annas-mcp]
command = "npx" args = ["-y", "annas-mcp"]
[mcp_servers.annas-mcp.env] ANNAS_SECRET_KEY = "your-secret-key"
Homebrew: lighter on memory
npx keeps npm running beside the server for the whole session, about 100 MB per client window. On macOS and Linux, Homebrew installs the binary itself, so each client starts only the server, about 20 MB:
brew install SokolskyNikita/tap/annas-mcp
Then use annas-mcp as the command in any of the configurations above, with mcp as its only argument ("args": ["mcp"] in JSON, args = ["mcp"] in TOML). For Claude Code:
claude mcp add annas-mcp \
--env ANNAS_SECRET_KEY=your-secret-key \ -- annas-mcp mcp
The same install provides annas-cli. Update with brew upgrade annas-mcp; unlike npx, the server does not check for new releases itself.
Gemini CLI
gemini extensions install https://github.com/SokolskyNikita/annas-mcp
Enter your Anna's Archive key, which Gemini CLI keeps in the system keychain, and choose a download folder. Skip the other optional settings unless you need them. Change them later with gemini extensions config annas-mcp.
Docker
Build the image straight from this repository:
docker build -t annas-mcp https://github.com/SokolskyNikita/annas-mcp.git
Then have your client run it, mounting your download folder at /downloads:
{
"mcpServers": { "annas-mcp": { "command": "docker", "args": ["run", "-i", "--rm", "-e", "ANNAS_SECRET_KEY", "-v", "/absolute/path/to/downloads:/downloads", "annas-mcp"], "env": { "ANNAS_SECRET_KEY": "your-secret-key" } } } }
On Linux, add "--user", "1000:1000" with your own user and group IDs before "annas-mcp", so the container can write to the folder.
Try it
Restart your client and ask *"Find the EPUB of Pride and Prejudice and download it"* or *"Download the paper with DOI 10.1038/nature14539."* The AI locates the copy and tells you where it saved the file: annas-archive in your home folder unless you chose another.
CLI setup
Install both commands with one package:
npm install -g annas-mcp
export ANNAS_SECRET_KEY="your-secret-key"
annas-cli --help annas-cli book-search "pride and prejudice" --language en --format epub
Both commands support the same operations. With no arguments, annas-cli shows help and annas-mcp starts MCP. See Configuration for settings and Command line for all commands.
Or run without installing globally:
npx -y --package=annas-mcp annas-cli book-search "pride and prejudice" --format epub
Switching from iosifache/annas-mcp
This server retains the original four tools, adds research and catalog tools, and reads the same ANNAS_SECRET_KEY, ANNAS_DOWNLOAD_PATH and ANNAS_BASE_URL variables. In your client's config, replace the path to the old binary with npx:
- "command": "/path/to/annas-mcp",
- "args": ["mcp"],
- "command": "npx",
- "args": ["-y", "annas-mcp"],
What changes:
- Searches run as your signed-in member account, so they aren't turned away with
403by the archive's browser check. Searching needs Lucky Librarian or higher. - The server picks a working official mirror by itself. Set
ANNAS_AUTO_BASE_URL=falseto use onlyANNAS_BASE_URL. - Downloads are checked against the archive's MD5 hash.
npxpicks up new releases without a manual download.
Signing in
Anna's Archive only lets signed-in members search. The server signs in with your secret key before its first request and again whenever the archive ends the session, about once a week. The session is saved between runs.
If signing in fails, the error says what each mirror answered and how to give the server a browser session instead:
- Sign in to Anna's Archive in your browser, open its developer tools and go to Application (Chrome, Edge) or Storage (Firefox, Safari) → Cookies.
- Copy the value of
aa_account_id2intoANNAS_ACCOUNT_COOKIEand restart the MCP server from your client.
The server uses that cookie until it expires, then signs in with the secret key again. Keep the secret key and cookie private.
Configuration
| Variable | Needed for | Description |
|---|---|---|
ANNAS_SECRET_KEY | Archive operations | Your Anna's Archive secret key. The server signs in with it and uses it for downloads. |
ANNAS_DOWNLOAD_PATH | Optional | Folder for downloaded files. Defaults to annas-archive in your home folder. See Choosing the download folder. |
ANNAS_ACCOUNT_COOKIE | Optional | An aa_account_id2 cookie to use before signing in. See Signing in. |
ANNAS_BASE_URL | Optional | Mirror to try first; the official mirrors stand in for it while it fails. Defaults to annas-archive.gl. Language versions such as es.annas-archive.gl are refused, since the server reads the archive in English. |
ANNAS_AUTO_BASE_URL | Optional | Set to false to always use ANNAS_BASE_URL instead of picking a mirror automatically. |
ANNAS_MCP_CACHE_DIR | Optional | Where the server saves provider sessions and research cache metadata, and npx caches release binaries. See The cache folder. |
OPENALEX_API_KEY | Optional | Enables OpenAlex support for additional paper and dissertation access. |
The server and CLI also read a .env file from their working directory. Variables already set in the environment take precedence. Terminal commands can inherit an exported key from your shell. Desktop MCP clients usually need the key in their own environment configuration. The program reads environment variables; it does not source .zshrc or .zshrc.secrets. Keep keys out of chat, tool arguments and repository files.
The server only uses ANNAS_BASE_URL and the official mirrors annas-archive.gl, .pk and .gd; Choosing a mirror explains how it picks one. Whatever host you set in ANNAS_BASE_URL receives your credentials, so only use one you trust.
Choosing the download folder
Downloads go to ~/annas-archive (%USERPROFILE%\annas-archive on Windows), which is created on the first download. Set ANNAS_DOWNLOAD_PATH to use another folder. It must be an absolute path, except that a leading ~ stands for your home folder.
On macOS, Desktop, Documents, Downloads and iCloud Drive are protected: the first download there makes macOS ask whether your MCP client may access the folder. If that access is denied, downloads fail with [CONFIG] cannot write to the download folder; allow your client in System Settings → Privacy & Security → Files and Folders, or pick a folder directly in your home folder. Avoid /tmp, which the operating system clears.
Tools
The AI fills in each tool's options from your request. HOW-IT-WORKS.md lists them and what each tool returns, and --help shows them on the [command line](#command-line