Alexandria
Semantic search over 4.6M+ text chunks from 20,000+ classical philosophy and humanities works — Plato, Aristotle, Kant, Nietzsche, and thousands more. Multilingual (Greek, Latin, German, French, English). No install needed.
Alexandria MCP Server
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):
claude mcp add --transport http alexandria https://alexandria.aidatanorge.no/mcp
Via MCP config:
{
"mcpServers": {
"alexandria": {
"type": "http",
"url": "https://alexandria.aidatanorge.no/mcp"
}
}
}
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:
curl -X POST https://alexandria.aidatanorge.no/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_texts",
"arguments": {
"query": "Kantian categorical imperative duty ethics",
"author": "Kant",
"limit": 3
}
}
}'
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:
curl -X POST https://alexandria.aidatanorge.no/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "get_book_list",
"arguments": {"author": "Plato", "language": "eng"}
}
}'
ping
Connectivity test.
Prompts
philosopher_analysis(philosopher)— deep dive into a philosopher's key ideastopic_exploration(topic)— explore a topic across multiple thinkerscompare_philosophers(philosopher_a, philosopher_b, topic)— compare two philosophers on a specific topic
Architecture
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
Self-hosting
Requires a running Qdrant instance with the alexandria collection populated.
pip install -r requirements.txt
python alexandria_mcp_server.py
# Server starts at http://localhost:8005/mcp
Environment variables (optional):
QDRANT_HOST=localhost
QDRANT_PORT=6333
MCP_PORT=8005
License
MIT
Verwandte Server
Secret Network
Provides secure access to Secret Network blockchain functionality, designed for deployment in Trusted Execution Environments (TEEs).
MongoDB Atlas
A server for managing data in MongoDB Atlas, providing secure and scalable data management through RESTful APIs.
Shibui Finance
Ask questions about 5,200+ US stocks in plain English. 64 years of prices, financials, technicals, and backtests.
bmdpat Agent Memory
Agent Memory as a Service with x402 USDC micropayments on Base blockchain — provides memory_store, memory_recall, memory_forget, and memory_stats tools.
Kusto MCP Server
An MCP server for Azure Data Explorer (Kusto) that enables AI assistants to interact with Kusto databases.
NetSuite MCP Server by CData
A read-only MCP server that allows LLMs to query live NetSuite data. Requires the CData JDBC Driver for NetSuite.
MySQL
Interact with and manage MySQL databases. Requires connection details configured via environment variables.
Alpha Vantage MCP Server
Enables AI agents and applications to access real-time and 20+ years historical financial market data through natural language queries.
Apache AGE MCP
MCP server for Apache AGE graph databases on PostgreSQL. **21 MCP tools** — the most comprehensive Apache AGE MCP server (graph CRUD, Cypher queries, batch transactions, semantic search, Graph RAG, vis.js visualization, export/import) - **F#/.NET** — the only non-Python Apache AGE MCP server, installs as a single dotnet tool - **Production-grade** — BenchmarkDotNet-verified performance (cached queries in 62 ns, Cypher in 1 ms) - **Open source** — MIT license, published on [NuGet](https://www.nuget.org/packages/AgeMcp) - **Documentation** — full docs site at neftedollar.com/age-mcp
GrantAi
Deterministic O(1) memory for AI agents — local-first, MCP-native, with multi-agent speaker attribution and millisecond recall.