Skip to main content
Glama

diogenes-mcp

MCP server for a local Diogenes install: search, read and export TLG texts.

TS server (stdio) → perl/dio.pl JSON shim → the Diogenes::* Perl modules and Perseus data bundled in Diogenes.app. Headless; the app only needs to be running for open_in_diogenes.

Tools

Tool

Does

list_authors, list_works

author/work numbers, citation levels

search

brute-force pattern search, multi-pattern, reject pattern, paging

morph_search

lemma → all inflected forms → TLG word-index search

word_list

TLG word index: forms + frequencies

lookup_lemmata, parse_word, define

Perseus morphology, LSJ

read_passage

text from a citation

list_corpora, save_corpus, delete_corpus

Diogenes' saved corpora (shared with the app)

export_work

whole works as TEI XML, markdown or plain text

open_in_diogenes

open a passage / search / morph search screen (cmux browser pane, else default browser)

Search scope: corpus (saved corpus name), authors (["0557"]), or works ({"0557": ["002"]}); none = whole TLG.

Related MCP server: gutenberg-mcp

Setup

pnpm install && pnpm build
claude mcp add --scope user diogenes -- node "$PWD/dist/index.js"

TLG location comes from Diogenes' own prefs. Env overrides: DIOGENES_SERVER_DIR, DIOGENES_DATA_DIR, DIOGENES_SETTINGS_DIR, DIOGENES_PERL, DIOGENES_OPEN_CMD, DIOGENES_CMUX.

Limits

  • TLG only (no PHI/DDP, no Latin morphology yet).

  • morph_search matches word forms, not parsed lemmata: forms shared between lemmata are all counted. Check forms_found.

  • open_in_diogenes searches can only be scoped to the whole TLG or a saved corpus.

  • Unscoped searches scan the whole TLG and can take a minute.

License

GPL-2.0-or-later, the same terms as Diogenes. See LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Provides programmatic access to the Directmedia Publishing 'Digitale Bibliothek' collection, a 1990s German electronic book library containing 101 volumes of classic literature and philosophy with text extraction, search, and navigation capabilities.
      9
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables search and reading of Project Gutenberg books with tools for searching by title/author/subject and fetching word-range slices of book text.
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Provides Hebrew & Greek word study, full morphological parsing, cross-references, LXX alignment, and more from open-licensed data sources, usable by any MCP-compatible client.
      9
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides tools to read and compare scripture text from local Paratext project folders, enabling natural-language queries for verses, chapters, books, and cross-project comparisons.
      1
      ISC