← Open Source
iosifache

annas-mcp

MCP server and CLI tool for searching and downloading documents from Anna's Archive.

AI EngineeringGive agent toolsGo
Open on GitHub
Momentum
+2stars in 24 hours+0.2%
1.08k
Stars
76
Forks
+14
This week
3
Contributors
Created 2025-07-09 · Updated 2026-10-16 · #3971 today
Top developers
iosifachekatana-hydraemberian

iosifache/annas-mcp is ranked 3,971 with 1,085 stars.

Same-category comparison

iosifache/annas-mcp is ranked 3,971 among these 8 peers; THU-BPM/MarkLLM is ranked 3,970.

Same-category comparison
NameRankMetrics
forcedotcom/sf-skills3,967
Language:
Python
Stars:
1,094
Forks:
371
Description:
Salesforce's curated collection of agent skills for building applications. Optimized for Agentforce Vibes, compatible with all AI tools.
cisco-ai-defense/mcp-scanner3,968
Language:
Python
Stars:
1,093
Forks:
145
Description:
Scan MCP servers for potential threats & security findings.
Unity-Technologies/skills3,969
Language:
C#
Stars:
1,089
Forks:
65
THU-BPM/MarkLLM3,970
Language:
Python
Stars:
1,086
Forks:
96
Description:
[EMNLP 2024 Demo] MarkLLM: An Open-Source Toolkit for LLM Watermarking.
jaredrhod/barehands3,977
Language:
HTML
Stars:
1,077
Forks:
248
Description:
Move things on your screen with your bare hands. A webcam-powered, hand-tracked interface for your AI. No headset. No controllers.
braintrustdata/autoevals3,986
Language:
Python
Stars:
1,058
Forks:
90
Description:
AutoEvals is a tool for quickly and easily evaluating AI model outputs using best practices.
monarch-initiative/ontogpt3,988
Language:
Jupyter Notebook
Stars:
1,056
Forks:
126
Description:
LLM-based ontological extraction tools, including SPIRES.
googleads/google-ads-mcp3,992
Language:
Python
Stars:
1,046
Forks:
318
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguageGo
CategoryAI Engineering
SubcategoryGive agent tools
KeywordsClient integration, Data extraction, MCP, Retrieval
Stars1,085
Forks76
Contributors3
Created date2025-07-09
Updated date2026-10-16
Stars in 1 day2
Stars in 7 days14
Rank3,971
Previous rank6,023
Rank change2,052
7-day stars rank3,371
Previous 7-day stars rank3,513
7-day stars rank change142
Total stars rank10,466
Previous total stars rank10,467
Total stars rank change1
CountrySwitzerland
README summary

Anna's Archive MCP Server (and CLI Tool) An MCP server and CLI tool for searching and downloading documents (books and articles) from Anna's Archive, with optional automatic selection of a mirror reported as healthy by SLUM. NOTE] Notwithstanding prevailing public sentiment regarding Anna's Archive, the platform serves as a comprehensive repository for automated retrieval of documents released under permissive licensing frameworks (including Creative Commons publications and public domain materials). This software does not endorse unauthorized acquisition of copyrighted content and

should be regarded solely as a utility. Users are urged to respect the intellectual property rights of authors and acknowledge the considerable effort invested in document creation. WARNING] Please refer to Mirror Selection if any of the links lead to a non-functional Anna's Archive server. Requirements Search works without any required environment variables. Downloads require: A donation to Anna's Archive, which grants JSON API access An API key An MCP client, such as Claude Desktop, if using the project

as an MCP server Setup Download the appropriate binary from the GitHub Releases section. If you plan to use the tool for its MCP server functionality, you need to integrate it into your MCP client. If you are using Claude Desktop, please consider the following example configuration: Configuration The tool can be configured with environment variables. These variables can also be stored in an file in the folder containing the binary. Download Environment Variables Downloads use: : The Anna's Archive API

key. : The path where the documents should be downloaded. Mirror Selection Anna's Archive has multiple mirrors, and their availability can change over time. By default, this project uses , or when is not set. Optionally, you can set: : The Anna mirror to use (defaults to ). When automatic mirror discovery is enabled, this becomes the fallback mirror. : Set to to discover the best available Anna mirror automatically from SLUM. Automatic discovery is opt-in: when , the tool reads the public status page

, ranks discovered Anna mirror candidates by recent health and latency, probes them locally, and uses the best reachable mirror. If discovery or probing fails, the tool falls back to , then to the built-in default mirror. Timeouts HTTP requests default to a 1 hour timeout. For CLI usage, override this with , for example: For MCP usage, tools accept an optional parameter, for example for 1 hour.

Frequently asked questions

How many stars and forks are recorded?

iosifache/annas-mcp has 1,085 stars and 76 forks.

What is the repository rank?

iosifache/annas-mcp is ranked 3,971.

What language and category are recorded?

iosifache/annas-mcp has 1,085 stars, uses Go and belongs to AI Engineering.

Which repository is closest in rank?

iosifache/annas-mcp is compared with THU-BPM/MarkLLM, ranked 3,970 with 1,086 stars.

README

Anna's Archive MCP Server (and CLI Tool)

An MCP server and CLI tool for searching and downloading documents (books and articles) from Anna's Archive, with optional automatic selection of a mirror reported as healthy by SLUM.

[!NOTE] Notwithstanding prevailing public sentiment regarding Anna's Archive, the platform serves as a comprehensive repository for automated retrieval of documents released under permissive licensing frameworks (including Creative Commons publications and public domain materials). This software does not endorse unauthorized acquisition of copyrighted content and should be regarded solely as a utility. Users are urged to respect the intellectual property rights of authors and acknowledge the considerable effort invested in document creation.

[!WARNING] Please refer to Mirror Selection if any of the links lead to a non-functional Anna's Archive server.

Requirements

Search works without any required environment variables.

Downloads require:

Setup

Download the appropriate binary from the GitHub Releases section.

If you plan to use the tool for its MCP server functionality, you need to integrate it into your MCP client. If you are using Claude Desktop, please consider the following example configuration:

"anna-mcp": {
    "command": "/Users/iosifache/Downloads/annas-mcp",
    "args": ["mcp"],
    "env": {
        "ANNAS_SECRET_KEY": "feedfacecafebeef",
        "ANNAS_DOWNLOAD_PATH": "/Users/iosifache/Downloads",
        "ANNAS_BASE_URL": "annas-archive.gl"
    }
}

Configuration

The tool can be configured with environment variables. These variables can also be stored in an .env file in the folder containing the binary.

Download Environment Variables

Downloads use:

  • ANNAS_SECRET_KEY: The Anna's Archive API key.
  • ANNAS_DOWNLOAD_PATH: The path where the documents should be downloaded.

Mirror Selection

Anna's Archive has multiple mirrors, and their availability can change over time. By default, this project uses ANNAS_BASE_URL, or annas-archive.gl when ANNAS_BASE_URL is not set.

Optionally, you can set:

  • ANNAS_BASE_URL: The Anna mirror to use (defaults to annas-archive.gl). When automatic mirror discovery is enabled, this becomes the fallback mirror.
  • ANNAS_AUTO_BASE_URL: Set to true to discover the best available Anna mirror automatically from SLUM.

Automatic discovery is opt-in: when ANNAS_AUTO_BASE_URL=true, the tool reads the public status page, ranks discovered Anna mirror candidates by recent health and latency, probes them locally, and uses the best reachable mirror. If discovery or probing fails, the tool falls back to ANNAS_BASE_URL, then to the built-in default mirror.

Timeouts

HTTP requests default to a 1 hour timeout. For CLI usage, override this with --timeout, for example:

annas-mcp --timeout 1h book-download abc123def456 "my-book.pdf"

For MCP usage, tools accept an optional timeout_seconds parameter, for example 3600 for 1 hour.

Demo

As an MCP Server

As a CLI Tool

Available Operations

Operation MCP Tool CLI Command Example
Search for books by title, author, or topic book_search book-search book-search "machine learning python"
Download a book by its MD5 hash book_download book-download book-download abc123def456 "my-book.pdf"
Search for articles by DOI or keywords article_search article-search article-search "10.1038/nature12345" or article-search "neural networks"
Download an article by its DOI article_download article-download article-download "10.1038/nature12345"
Nearby in the ranking
Similar items