MCP Server Studio

LibraryAPI MCP server

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

Registry name: dev.libraryapi/libraryapi-mcp

Publisher
libraryapi.dev
Runs
Runs locally
Package
PyPI
Version
0.1.3
Category
Other
Updated
2026-10-04

Source code on GitHub

Set up LibraryAPI (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "libraryapi-mcp": {
      "command": "uvx",
      "args": [
        "libraryapi-mcp==0.1.3"
      ],
      "env": {
        "LIBRARYAPI_KEY": "<LIBRARYAPI_KEY>"
      }
    }
  }
}

Claude Code

Run in your terminal:

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

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "libraryapi-mcp": {
      "command": "uvx",
      "args": [
        "libraryapi-mcp==0.1.3"
      ],
      "env": {
        "LIBRARYAPI_KEY": "<LIBRARYAPI_KEY>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "libraryapi-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "libraryapi-mcp==0.1.3"
      ],
      "env": {
        "LIBRARYAPI_KEY": "<LIBRARYAPI_KEY>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "libraryapi-mcp": {
      "command": "uvx",
      "args": [
        "libraryapi-mcp==0.1.3"
      ],
      "env": {
        "LIBRARYAPI_KEY": "<LIBRARYAPI_KEY>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
LIBRARYAPI_KEYYesAPI key from https://libraryapi.dev (free tier: 500 requests/month)

More other MCP servers