Skip to content
Claude Code

LibraryAPI for Claude Code

dev.libraryapi/libraryapi-mcp

US public libraries and branches near any address, with collections from the IMLS survey

client:Claude Code transport:stdio runtime:pypi

Install LibraryAPI in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add libraryapi-mcp -e LIBRARYAPI_KEY=<LIBRARYAPI_KEY> -- uvx libraryapi-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

LibraryAPI in other clients