Semantic search over 4.6 million text chunks from 20,000 classical philosophy and humanities works. Built for AI agents using FastMCP.
Alexandria MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Semantic search over **4.6 million text chunks** from 20,000+ classical philosophy and humanities works. Built for AI agents using FastMCP over HTTP.
What's in the collection
All texts are public domain (pre-1928), sourced from Internet Archive (americana, europeanlibraries, gutenberg collections).
- **Philosophy:** Aristotle, Plato, Kant, Hegel, Nietzsche, Schopenhauer, Descartes, Spinoza, Locke, Hume, Mill, Wittgenstein, Aquinas, Augustine, Leibniz, Rousseau, Voltaire, Marx, and hundreds more
- **Topics:** Ethics, metaphysics, epistemology, logic, political philosophy, theology, stoicism, neoplatonism, existentialism, history of ideas
- **Languages:** English, German, Latin, French, Italian, Greek, Russian
Connecting to the server
**Remote (hosted):**
**Via MCP config:**
Tools
search_texts
Search the collection using natural language. Uses hybrid dense+sparse retrieval with cross-encoder reranking.
| Parameter | Type | Description |
|---|---|---|
| query | string | What you are looking for |
| author | string | Optional filter by author/creator, e.g. Kant, Nietzsche, Plato |
| language | string | Optional language filter: eng, ger, lat, fre, ita, gre, rus |
| limit | int | Number of results (default 5, max 20) |
**Example queries:**
- "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"
Each result includes: title, creator, date, language, subject, text (chunk), rerank_score, vector_score.
**curl example:**
get_book_list
List books in the collection filtered by author, subject or language.
| Parameter | Type | Description |
|---|---|---|
| author | string | Filter by author/creator, e.g. Kant, Plato |
| subject | string | Filter by subject keyword, e.g. ethics, logic |
| language | string | Filter by language code: eng, ger, lat, fre, ita, gre, rus |
| limit | int | Max books to return (default 20, max 100) |
**curl example:**
ping
Connectivity test.
Prompts
- philosopher_analysis(philosopher) — deep dive into a philosopher's key ideas