alexandria-mcp
Alexandria MCP 서버
2만 개 이상의 고전 철학 및 인문학 저작물에서 추출한 460만 개의 텍스트 청크에 대한 의미론적 검색을 제공합니다. HTTP 기반의 FastMCP를 사용하여 AI 에이전트용으로 구축되었습니다.
컬렉션 내용
모든 텍스트는 퍼블릭 도메인(1928년 이전)이며, Internet Archive(americana, europeanlibraries, gutenberg 컬렉션)에서 가져왔습니다.
철학: 아리스토텔레스, 플라톤, 칸트, 헤겔, 니체, 쇼펜하우어, 데카르트, 스피노자, 로크, 흄, 밀, 비트겐슈타인, 아퀴나스, 아우구스티누스, 라이프니츠, 루소, 볼테르, 마르크스 등 수백 명
주제: 윤리학, 형이상학, 인식론, 논리학, 정치철학, 신학, 스토아학파, 신플라톤주의, 실존주의, 사상사
언어: 영어, 독일어, 라틴어, 프랑스어, 이탈리아어, 그리스어, 러시아어
Related MCP server: food-recipe-mcp
서버 연결
원격(호스팅):
claude mcp add --transport http alexandria https://alexandria.aidatanorge.no/mcpMCP 설정 사용:
{
"mcpServers": {
"alexandria": {
"type": "http",
"url": "https://alexandria.aidatanorge.no/mcp"
}
}
}도구
search_texts
자연어를 사용하여 컬렉션을 검색합니다. 크로스 인코더 리랭킹(cross-encoder reranking)을 포함한 하이브리드 밀집+희소 검색(dense+sparse retrieval)을 사용합니다.
매개변수 | 타입 | 설명 |
| string | 찾고자 하는 내용 |
| string | 선택적 언어 필터: |
| int | 결과 개수 (기본값 5, 최대 20) |
검색 예시:
"Nietzsche will to power eternal recurrence""Kantian categorical imperative duty""Platonic theory of forms and the Good""Stoic virtue and the sage""Hegel dialectics spirit history"
각 결과에는 title, creator, date, language, subject, text (청크), rerank_score, vector_score가 포함됩니다.
ping
연결 테스트.
프롬프트
philosopher_analysis(philosopher)— 철학자의 핵심 사상에 대한 심층 분석topic_exploration(topic)— 여러 사상가에 걸친 주제 탐구compare_philosophers(philosopher_a, philosopher_b, topic)— 특정 주제에 대해 두 철학자 비교
아키텍처
Archive.org (13,000+ books)
↓
Text extraction + chunking
↓
Qdrant (4.6M vectors)
↓
Hybrid search: intfloat/multilingual-e5-large (dense) + Qdrant/bm25 (sparse)
↓
Cross-encoder reranking: mmarco-mMiniLMv2-L12-H384-v1
↓
FastMCP 3.2 over HTTP자체 호스팅
alexandria 컬렉션이 채워진 Qdrant 인스턴스가 실행 중이어야 합니다.
pip install -r requirements.txt
python alexandria_mcp_server.py
# Server starts at http://localhost:8005/mcp환경 변수(선택 사항):
QDRANT_HOST=localhost
QDRANT_PORT=6333
MCP_PORT=8005라이선스
MIT
Available Tools
3 toolsget_book_listARead-only
List books in the Alexandria collection, optionally filtered by author, subject or language.
Returns unique books (one entry per Archive.org identifier) with metadata. At least one filter parameter is recommended — without filters, results are arbitrary.
Args: author: Filter by author/creator name, e.g. 'Kant', 'Nietzsche', 'Plato'. Case-insensitive substring match against the creator field. subject: Filter by subject keyword, e.g. 'ethics', 'logic', 'metaphysics'. Case-insensitive substring match against the subject field. language: Filter by language code, e.g. 'eng', 'ger', 'lat', 'fre', 'gre', 'rus'. limit: Maximum number of distinct books to return (default 20, max 100).
Returns: List of books with title, creator, date, language, subject, identifier and total_chunks.
Inputs: author, subject, language, limit. Returns: Generic wrapper for non-object return types.
pingARead-only
Simple connectivity test. Returns a greeting to confirm the server is running.
Inputs: name. Returns: Generic wrapper for non-object return types.
search_textsARead-only
Search 4.6 million classical philosophy and humanities texts from Archive.org.
The collection contains public domain books (pre-1928) covering:
Philosophy: Aristotle, Plato, Kant, Hegel, Nietzsche, Schopenhauer, Descartes, Spinoza, Locke, Hume, Mill, Wittgenstein, Aquinas and many more
Ethics, metaphysics, epistemology, logic, political philosophy
Sacred and religious texts, stoicism, neoplatonism, existentialism
Classical literature, history of ideas, social theory
Sources: Internet Archive (americana, europeanlibraries, gutenberg)
Texts are in original languages — primarily English, German, Latin, French, Italian, Greek, Russian. Queries in any language work due to multilingual embeddings.
Args: query: What you are looking for, e.g. 'Nietzsche will to power eternal recurrence', 'Kantian categorical imperative duty ethics', 'Platonic theory of forms and the Good', 'Stoic virtue and the sage', 'Aristotle eudaimonia flourishing', 'Hegel dialectics spirit history', 'free will determinism compatibilism' author: Optional — filter results to a specific author/creator, e.g. 'Kant', 'Nietzsche', 'Aristotle'. Case-insensitive substring match. language: Optional — filter by language code, e.g. 'eng', 'ger', 'lat', 'fre', 'ita', 'gre', 'rus' limit: Number of results after reranking (default 5, max 20)
Returns: List of relevant text excerpts with metadata, reranked by relevance. Each result includes rerank_score, vector_score, title, creator, date, language, subject and the full text chunk.
Inputs: query (required), author, language, limit. Returns: Generic wrapper for non-object return types.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
ping is clearly a health check, while search_texts and get_book_list serve distinct purposes: one returns text excerpts, the other lists book metadata. The overlap is minimal and the descriptions clearly differentiate them.
All tools use lowercase with underscores and follow a verb-based pattern (ping, search_texts, get_book_list). The pattern is consistent enough, though the noun structure varies slightly.
With 3 tools, the server is minimal but well-scoped for its search-focused purpose. ping is a standard utility, and the two search-related tools cover the core functionality without excess.
The server supports searching and listing books, but lacks operations like fetching a full text by identifier or retrieving detailed metadata for a single book. This leaves notable gaps for a library-like service.
Maintenance
Related MCP Connectors
Search 15K rare pre-modern texts translated to English: philosophy, religion, science, literature.
Complete classical & world literature — search + cite exact passages, facing sources, 50+ languages.
Semantic search and citation of Stoic texts: Marcus Aurelius, Seneca and Epictetus.
Public, read-only search and cited passages from The Old Ways historical-text and mythology reference library. Covers Norse, Greek/Hellenic, Egyptian/Kemetic, Celtic and Zoroastrian traditions. No account or API key required. Imported editions may contain transcription errors; editorial summaries are reading aids rather than passage-level verification. Connection and source policy: https://theoldways.co/ai
Related MCP Servers
- AlicenseAqualityDmaintenanceSemantic search over Nordic economic data — market announcements, quarterly reports (162 companies), macro data (NO/SE/DK/FI), commodity prices, and press releases. 180,000+ vectors.6MIT
- AlicenseAqualityDmaintenanceA production-grade semantic search server for food recipes — built for AI agents using the Model Context Protocol (MCP). Search across 50,000+ recipes with hybrid dense + sparse retrieval and cross-encoder reranking.22MIT
- AlicenseAqualityDmaintenanceProvides access to philosophy texts including scholarly papers from PhilPapers/PhilArchive and classic books from Project Gutenberg, SEP, and other open-access sources, all without requiring an API key.1711MIT
- AlicenseNot gradedqualityCmaintenanceSemantic search and comparative retrieval over a multi-tradition corpus of sacred and foundational texts, exposed as an MCP server.MIT