Skip to main content
Glama

libretexts-mcp

MCP server for LibreTexts — open textbooks in physics, math, chemistry, engineering, biology, statistics, and geosciences. Built for self-study (aerospace track: phys + math + chem + eng).

Tools

  • search(query, library="phys", limit=10) — full-text search one library.

  • get_page(library, path_or_id) — fetch a page as Markdown.

  • list_toc(library, path_or_id="home") — list a bookshelf or a book's chapters.

Resources

  • libretexts://shelf/{library} for each of: phys, math, chem, eng, bio, stats, geo. Attach to a chat for instant catalog context.

Install / run

cd libretexts-mcp-server
uv venv && source .venv/bin/activate
uv pip install -e .
libretexts-mcp   # stdio MCP server

Claude Code config

{
  "mcpServers": {
    "libretexts": {
      "command": "libretexts-mcp"
    }
  }
}

Notes

Uses the MindTouch DekiAPI (/@api/deki/...?dream.out.format=json) exposed by each LibreTexts subdomain. Page refs can be numeric IDs or URL paths (e.g. Bookshelves/Classical_Mechanics/Classical_Mechanics_(Tatum)).

F
license - not found
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mubashir1osmani/libretexts-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server