PHI Latin Texts

This server lets AI assistants and programs search and read the Classical Latin texts of The Packard Humanities Institute. It gives each passage with its citation.

What it holds

The server has the Latin texts of the PHI corpus: almost all Latin literary texts written before A.D. 200, and some from later antiquity. The latest are Justinian's Digest and the Elegiae of Maximianus, both from the sixth century. Each text follows one printed edition, and each answer gives that edition. The spelling is the edition's. Many editions print u where a school text prints v (uirum, not virum).

The server has no translations and no critical apparatus. English in an answer is the assistant's translation, not PHI's.

Connecting an assistant

The address of the server is

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

To connect, add a custom connector in the assistant and give it this address. Some assistants call a connector an MCP server, an app or a plugin. Each assistant has its own instructions: Claude, ChatGPT, Grok.

You can start with no key. All Claude, ChatGPT and Grok users without a key share 2,000,000 lines of text a day, and this allowance can run out before the day ends. A free key gives you your own daily limit. Get a key here, then use this address instead:

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

The assistant then opens a PHI sign-in page, where you paste the key. In Claude Code, give the key in the command: claude mcp add --transport http phi-latin https://latin-mcp.packhum.org/mcp --header "Authorization: Bearer YOUR-KEY"

Then ask in plain words. The assistant decides when to use the server. To be sure that it does, ask it to use PHI Latin Texts.

What you can ask your assistant

You put these questions to your AI assistant, not to PHI. The assistant uses the server to find the texts and the counts, and it writes the answer. PHI does not answer questions, and it does not check what the assistant writes.

Ask the assistant to quote from the server and to give the citation. A quotation from the assistant's memory can be wrong. A line from the server is the text of the edition.

How the search works

You can search letters or dictionary words (lemmas). The two give different counts, and mixing them up causes most wrong answers.

SearchWhat it findsExample
LettersThat string of letters, anywhere, also inside a longer wordamor finds amor, amorem, clamor
Letters with ## marks the start or end 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

Reading the answers

For programs

Get a free key. Sign up here with your name, an academic or institutional email address, and what you will use it for. The same key works on the PHI Greek Inscriptions server.

WhoLines of text a day
One address with no key500
All Claude, ChatGPT and Grok users with no key, together2,000,000
A free key, first 30 days20,000
A free key, after 30 days100,000

The server counts each client address by itself, and an IPv6 address by its /48. Counts, the word tools, the style tools and the lists of authors and works do not use the allowance. When the allowance is used up, the server answers 429 with a Retry-After header until the count resets at 00:00 UTC. An address that sends more than 10 requests a second also gets a 429.

If your project needs many texts, or a whole author, write to [email protected] and tell us about your work. We usually say yes. We want to know how scholars use these texts, and we like to work with them.

AddressUse
/mcpModel Context Protocol server (Streamable HTTP). Twelve tools: get_passage, search_corpus, find_words, check_words, list_authors, get_author, get_work, and for word use and style find_distinctive_words, get_word_profile, get_style_profile, compare_style, find_shared_phrases.
/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
/api/v1/style/distinctive, /word, /profile, /compare, /phrasesWord use and style: the unusual words of an author or a work, one word across the corpus, a style profile, Burrows' Delta, the phrases two texts share
/docs, /openapi.jsonThe JSON API described, in English and as OpenAPI
/methodsHow each tool works: what it counts, in which order, and where it stops
/privacyWhat the server records about its use, why, and for how long

The limit of 10 requests a second also applies to a key. 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. The server refuses a wrong key.

The server refuses a parameter that a tool does not have. The error names the parameters the tool accepts.

Terms of use

You can use the texts for study, teaching and research. AI assistants may use this server freely to answer their users. Do not copy the texts in bulk through this server, by hand or with a program. For a full copy, for research or to train a model, write to [email protected].

Questions and feedback

Write to [email protected]. Tell us what you use the server for, what fails and what is missing. A person reads each message. What the server records about its use: privacy.

The Packard Humanities Institute