SkillAgentSearch skills...

annas-mcp

Anna's Archive MCP server and CLI for Claude, Cursor and Codex: search and download books and papers by title, author or DOI. Signs in with your secret key.

Install / Use

claude mcp add SokolskyNikita -- npx -y github:SokolskyNikita/annas-mcp

If the server publishes to npm under a different name, use that package instead β€” check the repo README.

About this skill
πŸ”Œ

MCP Server

Model Context Protocol server

Quality Score

84/100

Supported Platforms

Claude Code
Claude Desktop
Cursor
Gemini CLI
OpenAI Codex

Tags

Our assessment of annas-mcp

annas-mcp scores 84/100 on our quality scale, 2763rd of 4,715 Development & Engineering skills we index.

Its MCP Server is 20 KB long, well organised into 28 sections with 14 code examples: a thorough specification that gives an agent plenty to work with.

It has 10 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
30/30
Structure
20/20
Description
15/15
Adoption
4/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 16 days ago, so annas-mcp is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit β€” read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-11-23. It catches known dangerous patterns, not every risk β€” read a skill before letting an agent act on it.

annas-mcp compared with similar skills

All 4 of these similar skills score higher than annas-mcp; compare them before choosing.

SkillScoreStarsUpdatedFormat
annas-mcp (this skill)by SokolskyNikita841016d agoMCP Server
taste-skillby Leonxlnx100120.4ktodayCLAUDE.md
Agent-Reachby Panniantong100114.1k1d agoCLAUDE.md
hyperframesby heygen-com10088.6ktodayCLAUDE.md
rufloby ruvnet10082.3ktodayCLAUDE.md

Frequently asked questions

How do I install annas-mcp?
Run claude mcp add SokolskyNikita -- npx -y github:SokolskyNikita/annas-mcp. The install tabs above show the steps for each supported agent.
Which AI agents does annas-mcp work with?
It is written for Claude Code, Claude Desktop, Cursor, Gemini CLI and OpenAI Codex, as a MCP Server file. Other agents that read the same format can often use it too.
Is annas-mcp safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is annas-mcp still maintained?
The repository was last updated 16 days ago, so annas-mcp is actively maintained.

annas-mcp

Tests Release npm annas-mcp MCP server

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 Β· CLI setup Β· Go SDK Β· Optional OpenAlex support

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 403 by 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=false to use only ANNAS_BASE_URL.
  • Downloads are checked against the archive's MD5 hash.
  • npx picks 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:

  1. Sign in to Anna's Archive in your browser, open its developer tools and go to Application (Chrome, Edge) or Storage (Firefox, Safari) β†’ Cookies.
  2. Copy the value of aa_account_id2 into ANNAS_ACCOUNT_COOKIE and 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

Truncated for display β€” read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated16d ago
Forks0

Languages

Go

Trust signals

97/100

From repository metadata: license, adoption, age and documentation. Not a code audit β€” see the Safety scan above for what the skill file itself contains.

1 info
annas-mcp β€” MCP Server: Install & Safety Check | SkillAgent