● Сообщество
iosifache
⚡ Сразу
annas-mcp
автор iosifache · iosifache/annas-mcp
Search and download books and academic articles from Anna's Archive directly through your AI assistant.
annas-mcp provides an MCP server and CLI for searching and downloading documents from Anna's Archive. It supports book search by title/author/topic, article search by DOI or keyword, and direct downloads. Written in Go with pre-built binaries for all platforms. Requires an Anna's Archive API key obtained via donation.
Зачем использовать
Ключевые функции
- Search books by title, author, or topic across Anna's Archive
- Search and download academic articles by DOI or keyword
- Direct document downloads via MD5 hash identifiers
- Supports multiple Anna's Archive mirror URLs for reliability
- Dual interface — works as MCP server or standalone CLI
Живое демо
Как выглядит на практике
Сценарии использования
Реальные сценарии: annas-mcp
Когда использовать: You need a specific paper by DOI or want to explore articles on a topic.
Предварительные требования
- Anna's Archive API key — Donate at annas-archive.li to receive your API key
- ANNAS_SECRET_KEY env var set — export ANNAS_SECRET_KEY=your_key
Поток
-
Search for the article
Search Anna's Archive for articles about 'transformer attention mechanisms' published after 2020.✓ Скопировано
→ List of matching articles with titles, authors, and DOIs
-
Download the paper
Download the first result to my papers folder.✓ Скопировано
→ File saved confirmation with path
Итог: PDF of the requested paper saved locally.
Подводные камни
- API key not set — Ensure ANNAS_SECRET_KEY is set in your environment before starting the MCP server
Когда использовать: You want to compile a list of relevant books on a subject.
Предварительные требования
- Anna's Archive API key — Donate at annas-archive.li
Поток
-
Search for books
Search for books about 'distributed systems' and list the top 10 results with authors and publication years.✓ Скопировано
→ Formatted list of books with metadata
-
Download selected titles
Download books 1, 3, and 7 from the list.✓ Скопировано
→ Three files saved with confirmation
Итог: A curated set of downloaded books on the chosen topic.
Подводные камни
- Download fails with certain mirrors — Set ANNAS_BASE_URL to a different mirror if the default is unreachable
Комбинации
Сочетайте с другими MCP — эффект x10
Download papers and organize them into topic-based folders automatically
Search for papers on 'reinforcement learning from human feedback', download the top 5, and organize them into ~/papers/rlhf/.✓ Скопировано
Стоимость и лимиты
Во что обходится
- Квота API
- Rate limits depend on your Anna's Archive API tier
- Токенов на вызов
- 200–500 tokens per search, more for downloads
- Деньги
- Requires donation to Anna's Archive for API access
- Совет
- Use search first to identify exactly what you want before downloading to avoid unnecessary API calls.
Безопасность
Права, секреты, радиус поражения
Хранение учётных данных: API key stored in ANNAS_SECRET_KEY environment variable
Исходящий трафик: Calls to Anna's Archive API (configurable mirror URL)
- Ensure downloaded content complies with your local copyright laws. Anna's Archive hosts Creative Commons and public domain works alongside other materials.
Устранение неполадок
Частые ошибки и исправления
401 Unauthorized
Your ANNAS_SECRET_KEY is missing or invalid. Verify it's set correctly in your environment.
Проверить: echo $ANNAS_SECRET_KEY
Connection refused / timeout
The default mirror may be down. Set ANNAS_BASE_URL to an alternative mirror.
Проверить: curl https://annas-archive.li
No results found
Try broader search terms or different keywords. Book searches work best with exact titles or author names.
Альтернативы
annas-mcp в сравнении
| Альтернатива | Когда использовать | Компромисс |
| fetch MCP | You just need to grab a specific URL or DOI link directly | No structured search — you need to know the exact URL |