Open Textbook Finder MCP
Open Textbook Finder MCP helps find free/legal textbook copies and compare editions without an API key or account.
Search OpenStax, DOAB, and Open Library for free or borrowable textbooks by title, ISBN, or course topic.
Look up an ISBN to get edition details, check whether a free copy is known, and list related editions newest first.
Browse free textbooks by subject or course topic, with OpenStax results prioritized.
Suggest older editions closest to a required edition/year, though it does not provide prices.
Report unavailable sources so partial results are distinguishable from failed searches, and return structured data for each tool.
Uses Internet Archive via Open Library to identify public domain or borrowable copies of textbooks, marking results as free or borrowable loans.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Open Textbook Finder MCP Is there a free legal copy of the Calculus textbook by Stewart?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Open Textbook Finder MCP
Textbooks cost too much. Open Textbook Finder MCP finds free legal copies of textbooks on OpenStax, the Directory of Open Access Books (DOAB) and Open Library by title, ISBN or course topic. It looks up editions by ISBN and suggests older editions that usually cost less. Use it when you want a free college textbook pdf or a way to go from an ISBN to free textbook copies.
npx -y open-textbook-finder-mcp"Is there a free legal copy of the Calculus textbook by Stewart, or something close to it?"
"Look up ISBN 978-0-13-468599-1 and tell me what other editions exist."
"My course wants the 9th edition of Stewart Calculus. Is there an older edition that would work?"
Use it with Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and any other app that runs a local MCP server. It needs no API key and no account.
What it does
Tool | Example prompt |
| "Is there a free legal copy of the Calculus textbook by Stewart, or something close to it?" |
| "Look up ISBN 978-0-13-468599-1 and tell me what other editions exist." |
| "My course wants the 9th edition of Stewart Calculus. Is there an older edition that would work?" |
| "List free textbooks for intro statistics." |
See Tools for the parameters of each one.
Related MCP server: mcp-books
Install
Run it straight from npm with npx. You need Node.js 20 or newer, see Node version for the details. There is nothing else to install and no config file for the server itself.
npx -y open-textbook-finder-mcpAdd it to your AI app's MCP config so the app can start it for you. Every app reads its config from its own file, so pick yours:
All of them start the same server the same way. The only difference is where the config goes.
Claude Desktop
Add this to claude_desktop_config.json:
{
"mcpServers": {
"textbooks": {
"command": "npx",
"args": ["-y", "open-textbook-finder-mcp"]
}
}
}Restart Claude Desktop after you save the file.
Claude Code
Run this in a terminal:
claude mcp add textbooks -- npx -y open-textbook-finder-mcpCursor
Cursor reads mcp.json from the project folder at .cursor/mcp.json, or from your home folder at ~/.cursor/mcp.json if you want the server in every project. On Windows the home folder file is %USERPROFILE%\.cursor\mcp.json.
{
"mcpServers": {
"textbooks": {
"type": "stdio",
"command": "npx",
"args": ["-y", "open-textbook-finder-mcp"]
}
}
}Restart Cursor after you save the file. The Customize page in the sidebar lists the server once it starts, and you can turn it on or off there.
VS Code
Put this in .vscode/mcp.json in your project folder, or in the mcp.json file in your user profile:
{
"servers": {
"textbooks": {
"type": "stdio",
"command": "npx",
"args": ["-y", "open-textbook-finder-mcp"]
}
}
}VS Code also reads a portable .mcp.json file in the project root. That file uses the name mcpServers instead of servers:
{
"mcpServers": {
"textbooks": {
"command": "npx",
"args": ["-y", "open-textbook-finder-mcp"]
}
}
}Restart VS Code after you save the file.
Windsurf
Windsurf reads mcp_config.json from ~/.codeium/windsurf/mcp_config.json. On Windows that is %USERPROFILE%\.codeium\windsurf\mcp_config.json.
{
"mcpServers": {
"textbooks": {
"command": "npx",
"args": ["-y", "open-textbook-finder-mcp"]
}
}
}Refresh the list of servers in Windsurf after you save the file.
After any of these, try one of the prompts below.
Try these three prompts
Find a free copy
"Is there a free legal copy of the Calculus textbook by Stewart, or something close to it?"
The model calls
find_free_textbookwith that title. It checks the OpenStax list that ships with the server, then asks DOAB and Open Library. OpenStax Calculus Volume 1 comes back first, and an Open Library result is marked free only when there is a public domain copy to read online.Look up an ISBN
"Look up ISBN 978-0-13-468599-1 and tell me what other editions exist."
lookup_isbnchecks the check digit first, then returns the title, publisher, publish date and page count from Open Library. It also lists the other editions of the same book, newest first.Find a cheaper older edition
"My course wants the 9th edition of Stewart Calculus. Is there an older edition that would work?"
find_older_editionlists the earlier editions of the book, closest first, with the year, the edition name and the ISBN when Open Library has them. Passedition_yearto say which edition your course asks for.
More things you can ask:
"List free textbooks for intro statistics."
"Is there a free textbook for nursing pharmacology?"
"Find a free legal copy of Pride and Prejudice."
"Which free textbooks cover microeconomics?"
"I have the ISBN 9780134685991. Is there a free copy of that book?"
"Is the 7th edition close enough to the 9th for an intro physics course?"
Tools
Four tools. These names are the ones your AI app sees.
Tool | Parameters | What it does |
|
| Search OpenStax, DOAB and Open Library for a free legal copy by title, ISBN or course topic. Open Library results are marked free for a public domain copy and borrow for a free loan |
|
| Return the edition details for an ISBN, say whether a free copy is known and list the related editions of the same book |
|
| Browse free textbooks for a course topic from OpenStax and DOAB |
|
| Suggest earlier editions of a textbook that usually cost less, closest to the current edition first |
Every tool description sent to your AI app ends with one example prompt, so the model can match a question like "Is there a free copy of this book?" to the right tool and fill in every parameter.
Every tool also returns its results as structured data. Each tool has an output schema, so a client that reads JSON gets fields such as results or suggestions straight away, and the text answer stays the same for an app that only reads words. The fields each tool returns are listed in llms.txt and in glama.json.
Where the books come from
Source | What it gives | How it is searched |
OpenStax | Free peer reviewed college textbooks | A list of OpenStax titles ships with the server and is matched on your computer, because OpenStax has no public search service |
DOAB | Open access academic books, with the licence when DOAB lists one | The DOAB search service |
Open Library | Edition records, and public domain or borrowable copies at the Internet Archive | The Open Library search and edition services |
A result has an access value. free means a copy you can read online or keep, borrow means a free loan that you have to return, and none means no free copy is known. Always check the licence on the page you land on before you reuse a book.
FAQ
Does it need an API key?
No. Open Library and DOAB can be searched without a key, and the OpenStax list ships with the server.
Does it find pirated copies?
No. It only returns OpenStax, DOAB and Open Library records, which are open licensed, public domain or legal loans.
What if I only have an ISBN?
Pass it to find_free_textbook or lookup_isbn. Hyphens and spaces are fine. The check digit is tested first, so a typo is reported as a bad ISBN instead of a search that finds nothing.
Can it tell me the price of an older edition?
No. The tool does not know prices, because no free price service exists. It tells you which earlier editions exist so you can check a used book seller yourself.
Will an older edition match my course?
Often an edition one or two releases back keeps the same chapters, but publishers reorder problems and drop sections. Compare the table of contents with your syllabus and ask your instructor before you buy.
What happens if one source is down?
The other sources still answer, and the reply names the source that did not. If every source is down the tool says so instead of returning an empty list.
How it compares
Option | Needs a key or account | Covers | When to use |
Open Textbook Finder MCP (this server) | No | OpenStax, DOAB and Open Library in one question, plus ISBN and edition lookups | You want your AI app to check the free options before you buy a book. |
Searching each site yourself | No | One site at a time | You already know which site has your book. |
Course platform MCPs (Brightspace, Canvas, Moodle, Google Classroom) | Your account on that platform | Due dates, grades, missing work and course files from one LMS | You want your AI app to read your course platform, not to find books. |
Open Textbook Finder MCP is a free textbook MCP: it needs no key and no account, and it finds legal copies of textbooks on OpenStax, DOAB and Open Library. The course platform MCPs above connect to your LMS account and show what is due, what is missing and what you have earned. They do not search for textbook copies. You can run both side by side, since they read different things and neither needs a key.
Node version
There are two floors here, and they are not the same number.
What you are doing | Node.js |
Running the published server | 20 or newer |
Building and testing a clone | 22.12 or newer, on the 22 and 24 release lines or 26 and later |
The server itself is happy on Node.js 20, and that is what engines in package.json says. The test runner wants a newer Node.js, so the development floor lives in devEngines in the same file. npm checks devEngines before install, run and test, so a clone on Node.js 20 stops with a clear message instead of a strange failure part way through the test suite. The 23 and 25 release lines are left out on purpose, because the test runner does not run on them.
Both numbers live in package.json, and a test in tests/node-version.test.ts keeps them in step with the README and with the range the test runner asks for.
Development
npm install
npm run build
npm testThe tests call every tool through a real MCP client with a fake network, so they need no account, no key and no internet. They need the newer Node.js from the Node version section above, because of the test runner.
Privacy
There is no key, no login and no account. The server sends your search text or ISBN to two public services and nothing else: openlibrary.org and directory.doabooks.org. The OpenStax match runs on your computer and sends nothing. The server writes no files, keeps no history and has no analytics. Each request carries a User-Agent header with the package name and the repository address, which Open Library asks of every client. Those services have their own privacy policies for the requests they receive.
More free student MCP servers
All free, open source and read only where they touch your accounts. Browse the full list at brightspacemcp.com/more-mcps.
Server | What it does |
D2L Brightspace for AI. Due dates with real submission status, grades, a target grade calculator and course files. | |
Canvas LMS for AI, read only. Due dates, missing work, grades and announcements. | |
Moodle for AI, read only. Due dates, overdue work, grades and announcements. | |
Google Classroom for AI, read only. Todos, due dates, missing work and grades. | |
GPA, grade conversion and the grade you need on the final, for AI. Works offline, no account. | |
APA, MLA and Chicago citations from a DOI, an ISBN or typed details. No account. | |
Exam study schedules, spaced repetition dates, pomodoro plans and assignment milestones. Works offline. | |
Search scholarly papers, find open access copies and related work through OpenAlex. No key needed. | |
Clean, convert, dedupe and lint BibTeX, RIS and CSL JSON reference lists, and make cite keys. Works offline. | |
Chemistry and physics homework math: molar mass, balancing equations, grams to moles, unit conversion and significant figures. Works offline. | |
Offline writing metrics for essays. Word and page counts, readability scores, passive voice, repeated openers, filler words, long sentences and word limit checks, so students can check their work against assignment requirements. No account, no network. | |
Syllabus to calendar MCP server. Extract dates from syllabus text, build an ics calendar, expand recurring classes and merge calendars. Works offline, no account. | |
Job application tracker MCP server. Track internships, jobs, interviews and deadlines offline, see what is coming up, and export your list as CSV or Markdown. No account and no API keys. |
License
MIT
Available Tools
4 toolsfind_free_textbookFind a free textbookARead-only
Search for free and legal copies of a textbook, including open educational resources (OER), on OpenStax, the Directory of Open Access Books (DOAB) and Open Library. Inputs: query (a book title, an ISBN or a course topic such as "organic chemistry") and an optional limit of 1 to 10 results from each source. Open Library results are marked free when there is a public domain copy to read online, and borrow when the book is a free loan. No account or key is needed. If one source is down the others still answer and the reply names the source that did not. Example prompt: "Is there a free legal copy of the Calculus textbook by Stewart, or something close to it?"
Inputs: query (required), limit. Returns: isbn, query, results, sources_unavailable
find_older_editionFind a cheaper older editionARead-only
Suggest earlier editions of a textbook, which usually cost less used than the newest one. Inputs: query (a title or an ISBN) and two optional values: edition_year, the year of the edition your course asks for, and limit, 1 to 10 suggestions. Without edition_year the newest edition Open Library lists counts as the current one, and an ISBN counts as the current edition when you pass one. Suggestions run from the closest older edition down. Editions only one or two releases back often keep the same chapters, but problem sets get reordered, so check the table of contents against your syllabus. The tool does not know prices. Example prompt: "My course wants the 9th edition of Stewart Calculus. Is there an older edition that would work?"
Inputs: query (required), limit, edition_year. Returns: work_title, newest_year, suggestions, current_year
list_open_textbooks_by_subjectBrowse open textbooks by subjectARead-only
Browse free textbooks for a course topic. It lists matching OpenStax books and open access books from the Directory of Open Access Books (DOAB). Inputs: subject (a course topic such as "calculus", "nursing" or "economics") and an optional limit of 1 to 25 results. OpenStax books come first. If DOAB is down the OpenStax list still comes back and the reply says so. Example prompt: "List free textbooks for intro statistics."
Inputs: subject (required), limit. Returns: results, subject, sources_unavailable
lookup_isbnLook up an ISBNARead-only
ISBN lookup on Open Library: return the edition details plus the other editions of the same book. Inputs: isbn (10 or 13 digits, hyphens allowed). The check digit is tested first, so a typo is reported before any search. The reply has the title, authors, publisher, publish date, page count and edition name, and says whether a free copy is known. Related editions are listed newest first. Example prompt: "Look up ISBN 978-0-13-468599-1 and tell me what other editions exist."
Inputs: isbn (required). Returns: url, isbn, pages, title, +9 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a distinct angle: free-copy search, ISBN lookup, older-edition suggestions, and subject browsing. The one soft overlap is find_free_textbook vs list_open_textbooks_by_subject (both surface OER titles, and find_free_textbook also accepts a course topic), but the descriptions clearly frame one as query-driven lookup and the other as subject browsing.
All four names use snake_case with a leading verb and a concrete object (find_free_textbook, lookup_isbn, find_older_edition, list_open_textbooks_by_subject). No mixed camelCase, no vague verbs like process or handle.
Four tools is well matched to a narrow textbook-discovery domain, and each covers a different user intent (search, ISBN resolve, edition fallback, subject browse). Nothing feels padded or missing at the count level.
The surface covers discovery, ISBN resolution, edition history, and subject browsing, which is the core lifecycle for a finder. Gaps are minor: no tool to retrieve full details or access links for a specific OpenStax/DOAB hit found by title, and no aggregation of results across the four views into a single comparison.
Maintenance
Related MCP Connectors
Federated search of books and papers, BibTeX/RIS citations, open-access retrieval and reading.
Academic literature search, retrieval, and private library management on top of OpenAlex.
Search, read and review your saved videos, links and notes; save links and ask your library.
Search, read and cite technical books whose code examples run on each edition's pinned versions.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables querying open-access availability of scholarly articles via Unpaywall API, including DOI lookup, title search, and citation export.4MIT
- AlicenseNot gradedqualityBmaintenanceEnables searching for books by title, author, or keyword, retrieving edition details by ISBN, and accessing author profiles and canonical work records through the Open Library API.93 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables searching and retrieving Project Gutenberg books by title, author, topic, and popularity, along with book details and download statistics through the Gutendex API.121 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables searching CALI eLangdell's catalogue of free US law-school casebooks and retrieving per-title licensing, attribution, and download links.77 npm1MIT