AI assistants and OpenAPI.
A small local server that lets an assistant search the library and cite the real page, and one file that describes the whole API to any tool that can read it.
Let an AI assistant find sermons for you, and point to the real page rather than guessing at one.
The MCP server
MCP is the way assistants such as Claude are given tools. Ours is a small program that runs on your own computer and reads the same public API everything else here uses. We host nothing for it, it needs no account, and it can only read.
In Claude Desktop, open Settings, then Developer, then Edit Config, and add:
In Claude Code:
It needs Node.js 18 or later. The first search downloads an index of the library, which can take a minute on a slow connection; after that it is kept on your computer for a week.
Things you can ask
Once it is connected you talk to your assistant as usual. It decides when to look something up, and it answers with the real titles and links rather than ones it has half remembered.
By scripture
“What has been preached on Romans 8:28?”
“Find me three sermons on Psalm 23 I could listen to this week.”
By preacher
“What did Leonard Ravenhill preach about prayer?”
“List A.W. Tozer’s sermons on worship.”
By subject
“I am preparing a study on repentance. What should I hear first?”
“Which sermons are about revival?”
For your own work
“What is this sermon about, and which scriptures does it open?”
“Draft a reading list for a new believer, with links.”
An example
What has been preached on John 3:16?
The assistant calls sermons_for_verse with John, chapter 3, verse 16.
SermonIndex holds 2,504 sermons that open John 3:16. Three of the most heard:
- (Alabama) the Prodigal, David Wilkerson
- Gods Love, Corrie Ten Boom
- (1 Peter - Part 27): Who Is He That Will Harm You?, A.W. Tozer
Each comes back with its page on SermonIndex, its length, and where to hear it, so the assistant can link to it directly.
What it sends back, and what it leaves out
Some of our files are large: every sermon on John 3:16 is 6.5 MB, and Zac Poonen’s full record is over 8 MB. An assistant cannot read that much at once, so the server trims each answer to what is needed — title, preacher, links, length, a short summary, topics and scripture — and takes long lists a page at a time. A typical answer is a few kilobytes.
| It does | It does not |
|---|---|
| Read the public library: sermons, preachers, topics, scripture. | Change anything, here or on your computer. |
| Run on your own machine, started by your assistant. | Need an account, a key or a sign-in. |
| Keep a small index on your disk so searching is quick. | Send your questions to us. We only see ordinary requests for public files. |
What the assistant can do with it
| Tool | What it answers |
|---|---|
search_sermons | Sermons matching words in the title, speaker, topics or summary. |
sermons_for_verse | The sermons preached on a verse or a chapter. |
get_sermon | One sermon: where to hear it, its topics, its scripture, the opening of its transcript. |
get_speaker, list_speakers | A preacher and their sermons, a page at a time. |
get_topic, list_topics | Sermons gathered under a subject. |
random_sermon, get_stats | Something to listen to, and the size of the library. |
OpenAPI
The whole API is described in one OpenAPI 3.1 file, checked against the live responses. Give it to a code generator, an API client, or an assistant that builds its own tools from a description.
A few things people do with it:
Generate a client library in the language you work in, rather than writing the requests by hand:
Load it into an API tool such as Postman, Insomnia or Bruno, and every endpoint appears ready to try.
Give it to an assistant that builds its own tools. Many can turn an OpenAPI file into actions without any code. Because every request here is a plain GET with no key, there is nothing further to configure.
It covers 21 paths: sermons, preachers, topics, scripture by book, chapter and verse, the random pool, and the totals. Two habits of this API are written into it, because they surprise people: there are no query parameters, and lists are walked by following the next link rather than by building a page number into the address.
The reference says the same things in plain words, and the programming guide explains why the API is shaped as it is: static files, no query parameters, and links to follow rather than paths to guess.
