What it does
Find books, papers and dissertations with Anna's Archive and OpenAlex, then download or read them.
- Connects Runs on your computer
- Account or key No key needed
- Category Games, sports, food & learning
Why it ranks here
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 27/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 39/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: 78 (Used only on the Trending tab)
Install
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install Anna's Archive and OpenAlex. Follow https://mcp.popnx.com/i/sokolskynikita-annas-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Let AI install it
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Anna's Archive and OpenAlex for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "annas": { "command": "npx", "args": [ "-y", "annas-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Anna's Archive and OpenAlex tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Open the Claude desktop app’s settings file
SettingsDeveloperEdit Config
Paste these settings and save the file
{ "mcpServers": { "annas": { "command": "npx", "args": [ "-y", "annas-mcp" ] } } }Quit Claude and open it again
Try it
Use Anna's Archive and OpenAlex and tell me what you can do for me, then show me one thing✓ If Claude says it is using Anna's Archive and OpenAlex or shows a Anna's Archive and OpenAlex tool in the answer, you are connected
4 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
ANNAS_SECRET_KEYOptional Anna's Archive secret key for books, archive searches and archive downloads.OPENALEX_API_KEYOptional OpenAlex API key for papers, dissertations, open PDFs and structured full text.ANNAS_DOWNLOAD_PATHFolder for downloaded files. Defaults to annas-archive in your home folder.ANNAS_ACCOUNT_COOKIEOptional aa_account_id2 cookie from a signed-in browser, for when signing in with the secret key fails.
Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Anna's Archive and OpenAlex yet
Anna's Archive and OpenAlex runs on your computer, but ChatGPT can only connect servers that run on the web
What you can do instead
A · Use an app that can connect Anna's Archive and OpenAlex
- Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
- Install Node.js on your computer first (one time)
- Install Node.js on your computer first (one time)
- Install Node.js on your computer first (one time)
B · Others in Games, sports, food & learning that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
- ShipSwift✓ ChatGPT
- LearnHouse✓ ChatGPT
- Anime Garden✓ ChatGPT
Works with Claude Code, with some setup first
Install Node.js on your computer first (one time)
Let AI install it
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Anna's Archive and OpenAlex for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user annas -- npx -y annas-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Anna's Archive and OpenAlex tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Open Terminal
Mac: press Command+Space and type Terminal · Windows: open PowerShell
Paste this command and press Enter
claude mcp add --scope user annas -- npx -y annas-mcpType /mcp in Claude Code
You should see Anna's Archive and OpenAlex listed as connected
Try it
Use Anna's Archive and OpenAlex and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Anna's Archive and OpenAlex or shows a Anna's Archive and OpenAlex tool in the answer, you are connected
4 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
ANNAS_SECRET_KEYOptional Anna's Archive secret key for books, archive searches and archive downloads.OPENALEX_API_KEYOptional OpenAlex API key for papers, dissertations, open PDFs and structured full text.ANNAS_DOWNLOAD_PATHFolder for downloaded files. Defaults to annas-archive in your home folder.ANNAS_ACCOUNT_COOKIEOptional aa_account_id2 cookie from a signed-in browser, for when signing in with the secret key fails.
Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
Install Node.js on your computer first (one time)
Let AI install it
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Anna's Archive and OpenAlex for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "annas": { "command": "npx", "args": [ "-y", "annas-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Anna's Archive and OpenAlex tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Open the AI chat in Cursor in Agent mode
Try it
Use Anna's Archive and OpenAlex and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Anna's Archive and OpenAlex or shows a Anna's Archive and OpenAlex tool in the answer, you are connected
4 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
ANNAS_SECRET_KEYOptional Anna's Archive secret key for books, archive searches and archive downloads.OPENALEX_API_KEYOptional OpenAlex API key for papers, dissertations, open PDFs and structured full text.ANNAS_DOWNLOAD_PATHFolder for downloaded files. Defaults to annas-archive in your home folder.ANNAS_ACCOUNT_COOKIEOptional aa_account_id2 cookie from a signed-in browser, for when signing in with the secret key fails.
Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
Install Node.js on your computer first (one time)
Let AI install it
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Anna's Archive and OpenAlex for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "annas": { "type": "stdio", "command": "npx", "args": [ "-y", "annas-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Anna's Archive and OpenAlex tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Open the AI chat in VS Code in Agent mode
Try it
Use Anna's Archive and OpenAlex and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Anna's Archive and OpenAlex or shows a Anna's Archive and OpenAlex tool in the answer, you are connected
4 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
ANNAS_SECRET_KEYOptional Anna's Archive secret key for books, archive searches and archive downloads.OPENALEX_API_KEYOptional OpenAlex API key for papers, dissertations, open PDFs and structured full text.ANNAS_DOWNLOAD_PATHFolder for downloaded files. Defaults to annas-archive in your home folder.ANNAS_ACCOUNT_COOKIEOptional aa_account_id2 cookie from a signed-in browser, for when signing in with the secret key fails.
Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
For developers: Terminal commands and JSON settings
Installed on your computer
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"
]
}
}
}Values you fill in
ANNAS_SECRET_KEYsecret envOptional Anna's Archive secret key for books, archive searches and archive downloads.OPENALEX_API_KEYsecret envOptional OpenAlex API key for papers, dissertations, open PDFs and structured full text.ANNAS_DOWNLOAD_PATHenvFolder for downloaded files. Defaults to annas-archive in your home folder.ANNAS_ACCOUNT_COOKIEsecret envOptional aa_account_id2 cookie from a signed-in browser, for when signing in with the secret key fails.
Descriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
At a glance
- Downloads per weeki
- 1,077/wk
- Connection
- Runs on your computer
- Latest versioni
- 0.8.2
- Categoryi
- Games, sports, food & learning
- Published to registryi
- Nov 7, 2026
- Code last changedi
- Nov 7, 2026
- Maker
- SokolskyNikita
- Packages
npm: annas-mcp- Website
- github.com
- Registry status
- Active
Which apps can use it
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Related guides
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account SokolskyNikita, which owns the repo
- ✓ Pass
Still maintained
Code last changed 13 days ago
- ✓ Pass
Has a licence
Uses MIT
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Published vulnerabilities (OSV.dev)
No entries on OSV.dev for annas-mcp@0.8.2
Checks only this package version, not every dependency · checked Nov 15, 2026
Makers: ask for a re-check or report wrong info
For makers: add a badge to your README
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/sokolskynikita-annas-mcp)Discussion
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
User reviews
No reviews yet
Compared with others in Games, sports, food & learningi
- More stars than 96% of the other 1623 servers in this category
- Published to the registry more recently than 69% of the other 1623 servers in this category
- Basic checks equal to or better than 99% of the other 1623 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is Anna's Archive and OpenAlex safe?
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
The registry does not list a required key, though some servers ask you to sign in on first use.
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed 13 days ago, and the latest version (0.8.2) reached the registry 13 days ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
What can I use instead?
In the same category: Anime Garden, WilmAI, Lumify Sports Intelligence, Savecraft, GoodWatch
Similar alternatives
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
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.
| This one Anna's Archive and OpenAlex | Anime Garden | WilmAI | Lumify Sports Intelligence | Savecraft | GoodWatch | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | No | No | No | Yes | No | No |
| Add with + in Claude | No | No | No | No | No | No |
| Basic checks | 3/3 | 4/4 | 3/3 | 4/4 | 3/4 | 4/4 |
| License | MIT | AGPL-3.0 | MIT | MIT | Apache-2.0 | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
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