PHI Latin Texts

A search and passage server for the Classical Latin corpus of The Packard Humanities Institute. It is made for assistants such as Claude, ChatGPT and Grok, and for programs. This page tells a person what it does and what its answers mean.

What it holds

The Latin literary texts of the PHI corpus: about 370 authors, from the earliest fragments to late antiquity. Each text follows one printed edition, and each answer names that edition. The spelling is the edition's: many print u where a school text prints v (uirum, not virum).

There are no translations and no critical apparatus. An assistant that gives you English has made the translation itself.

How to connect an assistant

The address of the server is

https://latin-mcp.packhum.org/mcp

In the settings of the assistant, add a connector (some assistants call it an MCP server, a tool or an app) and give it this address. No key and no sign-in are needed. In Claude: Settings, Connectors, Add custom connector. In Claude Code: claude mcp add --transport http phi-latin https://latin-mcp.packhum.org/mcp

Then ask in plain words. The assistant decides when to call the server; to be sure, tell it to use PHI Latin Texts.

What you can ask an assistant that is connected

Ask the assistant to quote from the server and to give the citation. A quotation it writes from memory can be wrong; a line the server returned is the text of the edition.

How the search reads what it is given

There are two kinds of search. They give different counts, and that is the most common cause of a wrong answer.

SearchWhat it findsExample
LettersThat string of letters, anywhere, also inside a longer wordamor finds amor, amorem, clamor
Letters with ## is the edge of a word#amor# is the one form amor; #lug is every word that begins lug-
Dictionary word (lemma)Every form of one wordfero finds tulit and latum

How to read the answers

For programs

No key is needed. Each client address has a daily allowance of 20,000 lines of text. Counts, the word tools and the lists of authors and works do not use it. When the allowance is used, the server refuses more text until the next day and says so.

AddressUse
/mcpModel Context Protocol server (Streamable HTTP). Seven tools: get_passage, search_corpus, find_words, check_words, list_authors, get_author, get_work.
/api/v1/passage?ref=Verg.+Aen.+1.1-7A passage as JSON
/api/v1/search?q=… or ?lemma=…Search, with author, work, limit, offset
/api/v1/authors, /api/v1/authors/{id}, /api/v1/works/{author}/{work}Authors and works
/api/v1/words?english=…, /api/v1/words/check?w=…Latin words for an English word; a check of Latin words

A reader PHI knows can have a key, which has no allowance: write to the address below. Send the key as Authorization: Bearer <key> or X-Api-Key: <key>. A connector that cannot send a header signs in with the same key through OAuth. A wrong key is refused.

A parameter that a tool does not have is refused, and the error lists the names that exist.

Terms of use

The terms are those of the PHI website.

Questions

Write to [email protected].

The Packard Humanities Institute