LibraryAPI MCP Server
by library-apidev.libraryapi/libraryapi-mcpv0.1.3
US public libraries and branches near any address, with collections from the IMLS survey
context tax
queued
security
queued
cold start
queued
freshness
Active6d ago
Install LibraryAPI MCP server
Install in Claude Code
claude mcp add libraryapi -e LIBRARYAPI_KEY='<libraryapi-key>' -- uvx libraryapi-mcpInstall in Cursor
{
"mcpServers": {
"libraryapi": {
"command": "uvx",
"args": [
"libraryapi-mcp"
],
"env": {
"LIBRARYAPI_KEY": "<libraryapi-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"libraryapi": {
"command": "uvx",
"args": [
"libraryapi-mcp"
],
"env": {
"LIBRARYAPI_KEY": "<libraryapi-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"libraryapi": {
"type": "stdio",
"command": "uvx",
"args": [
"libraryapi-mcp"
],
"env": {
"LIBRARYAPI_KEY": "<libraryapi-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"libraryapi": {
"command": "uvx",
"args": [
"libraryapi-mcp"
],
"env": {
"LIBRARYAPI_KEY": "<libraryapi-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| LIBRARYAPI_KEY | yes | yes | API key from https://libraryapi.dev (free tier: 500 requests/month) |
Freshness
Active — last maintenance signal 6d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-04 · 6d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-10-04 · 6d ago · official registry · v0.1.3
FAQ
›How do I install the LibraryAPI MCP server in Claude Code?
Run: claude mcp add libraryapi -e LIBRARYAPI_KEY='<libraryapi-key>' -- uvx libraryapi-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does LibraryAPI require an API key?
Yes. It expects LIBRARYAPI_KEY, of which 1 is a secret.
›Can I use LibraryAPI as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is LibraryAPI in the official MCP registry?
Yes, as dev.libraryapi/libraryapi-mcp.