AIDataNordic/alexandria-mcp

🎨 Art & Culture
0 Views
0 Installs

🐍 ☁️ -

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "aidatanordic-alexandria-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "aidatanordic-alexandria-mcp"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

Alexandria MCP Server

Available on CodeGuilds

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.

ParameterTypeDescription
querystringWhat you are looking for
authorstringOptional filter by author/creator, e.g. Kant, Nietzsche, Plato
languagestringOptional language filter: eng, ger, lat, fre, ita, gre, rus
limitintNumber 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.

ParameterTypeDescription
authorstringFilter by author/creator, e.g. Kant, Plato
subjectstringFilter by subject keyword, e.g. ethics, logic
languagestringFilter by language code: eng, ger, lat, fre, ita, gre, rus
limitintMax 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 ideas
  • topic_exploration(topic) — explore a topic across multiple thinkers
  • compare_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

Related MCP Servers

8enSmith/mcp-open-library

📇 ☁️ - A MCP server for the Open Library API that enables AI assistants to search for book information.

🎨 Art & Culture0 views
abhiemj/manim-mcp-server

🐍 🏠 🪟 🐧 - A local MCP server that generates animations using Manim.

🎨 Art & Culture0 views
AceDataCloud/MCPFlux

🐍 ☁️ - Flux AI image generation and editing (Black Forest Labs) via Ace Data Cloud API.

🎨 Art & Culture0 views
AceDataCloud/MCPNanoBanana

🐍 ☁️ - NanoBanana AI image generation and editing with virtual try-on and product placement in realistic scenes.

🎨 Art & Culture0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

Last checked: 7/28/2026, 8:06:13 AM

Unclaimed listing (imported or pending owner verification). Claim it →
★ Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.