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.
- The text of a passage: “Give me Aeneid 1.1–11.”
- Where a word occurs: “Which authors use exsilium, and how often?”
- Passages on a subject: “Find passages about grief in Cicero's letters.”
- Two words together: “Where does mare stand near nauis?”
- The Latin for an English word: “What are the Latin words for ‘exile’?”
- The unusual words of an author: “Which words does Maximianus use that few other authors use?”
- The history of a word: “When does senectus come into use, and in which genres?”
- Style and authorship: “Is the Culex nearer in style to Virgil or to Lucan?”
- Shared phrases: “Which rare phrases does Lucan share with the Aeneid?”
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.
| Search | What it finds | Example |
| Letters | That string of letters, anywhere, also inside a longer word | amor 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 word | fero finds tulit and latum |
- One form is not the word. Hannibal as one form occurs 498 times. The word in all its forms (Hannibalis, Hannibalem …) occurs 1,314 times. To count a word, search by dictionary word.
- Some forms belong to two words. malis can be from malus, malum or malo. The server does not read the sentence, so it divides the count of such a form among its words and marks the count as an estimate.
- Some letters count as the same. v and u are one letter, j and i are one letter, and the search ignores capitals.
- It finds letters and words, not meanings. For a subject, the assistant must first choose Latin words and then search each one.
Reading the answers
- The order is the order of the corpus, by author number, not by importance. The first lines of an answer are not the best ones. The counts per author show where to look.
- A citation is author, work and place, with the abbreviations of the PHI corpus:
Verg. Aen. 1.1, Cic. Att. 3.7.2. You can also give a reference with a full name or an English title (“Virgil, Aeneid 1.1”).
- A line is a line of the edition, and often not a whole sentence.
- Word counts and style measures are evidence, not proof. A rare word can be the edition's spelling, or a form counted under the wrong word. Genre and verse or prose change a style measure as much as the author does. Each answer gives references so you can read the lines in context. How each tool works.
- Links open the passage on latin.packhum.org.
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.
| Who | Lines of text a day |
| One address with no key | 500 |
| All Claude, ChatGPT and Grok users with no key, together | 2,000,000 |
| A free key, first 30 days | 20,000 |
| A free key, after 30 days | 100,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.
| Address | Use |
/mcp | Model 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-7 | A 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, /phrases | Word 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.json | The JSON API described, in English and as OpenAPI |
/methods | How each tool works: what it counts, in which order, and where it stops |
/privacy | What 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