MCP server · Tools
Search the library
Search Interlinea's library of Latin and Ancient Greek texts by author, work title or topic (war, love, the gods, friendship, death, rhetoric, letters, comedy).
TOOL
search_libraryRead onlyIdempotentMatches English, Latin and Greek names and ignores accents. Returns authors and works, best known first, each with a url. Pass a work's url to get_text to read its opening, or a citation such as "Aeneid 4.1" to start elsewhere.
Input
| Name | Description |
|---|---|
querystring | RequiredWords from a name or title, or a topic: "Virgil", "Aeneid", "Ὅμηρος", "war". Up to 200 characters. |
langstring | Optionalla for Latin, grc for Ancient Greek. One of |
limitinteger | OptionalWorks to return, at most 50. Default |
offsetinteger | Optional Default |
Output
structuredContent has these fields, and content repeats the same JSON as one text item.
| Name | Description | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
querystring | |||||||||||||||||||||||||||||
langstring or null | Language code: la (Latin) or grc (Ancient Greek). One of | ||||||||||||||||||||||||||||
totalinteger | Matching works. | ||||||||||||||||||||||||||||
offsetinteger | |||||||||||||||||||||||||||||
limitinteger | |||||||||||||||||||||||||||||
nextstring or null | The next page of works. | ||||||||||||||||||||||||||||
topicsarray of object | Hand-picked works for a topic the query names (war, love, the gods, …).4 fields
| ||||||||||||||||||||||||||||
authorsarray of object | 6 fields
| ||||||||||||||||||||||||||||
worksarray of object | 10 fields
|
The same reads as GET /api/v1/search, with the same shape.