Skip to main content
ClaudeWave

MCP server for libraryapi.dev — US public library data for AI agents

MCP ServersOfficial Registry0 stars0 forks● PythonUpdated today
ClaudeWave Trust Score
62/100
· OK
Passed
  • ✓Actively maintained (<30d)
  • ✓Clear description
  • ✓Documented (README)
Flags
  • !No standard license detected
Last scanned: 10/5/2026
Install in Claude Code / Claude Desktop
Method: UVX (Python) · libraryapi-mcp
Claude Code CLI
claude mcp add libraryapi-mcp -- uvx libraryapi-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "libraryapi-mcp": {
      "command": "uvx",
      "args": ["libraryapi-mcp"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Use cases

MCP Servers overview

# libraryapi-mcp

<!-- Links this package to its entry in the official MCP registry -->
mcp-name: dev.libraryapi/libraryapi-mcp

MCP server for [libraryapi.dev](https://libraryapi.dev) — US public library data for AI agents.

Expose library lookups as tools to any MCP-compatible AI assistant (Claude, Cursor, Copilot, etc.). Built on the federal IMLS Public Libraries Survey — public domain, commercially usable.

## Installation

```bash
pip install libraryapi-mcp
```

Or run directly with `uvx` (no install needed):

```bash
uvx libraryapi-mcp
```

## Configuration

### Claude Desktop

Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "libraryapi": {
      "command": "uvx",
      "args": ["libraryapi-mcp"],
      "env": {
        "LIBRARYAPI_KEY": "your_api_key_here"
      }
    }
  }
}
```

### Cursor / other MCP clients

```json
{
  "mcpServers": {
    "libraryapi": {
      "command": "uvx",
      "args": ["libraryapi-mcp"],
      "env": {
        "LIBRARYAPI_KEY": "your_api_key_here"
      }
    }
  }
}
```

Get a free API key at [libraryapi.dev](https://libraryapi.dev) — 500 requests/month, no credit card.

## Available Tools

| Tool | Description |
|------|-------------|
| `find_libraries_near_address` | Find the nearest branches to a US street address |
| `find_libraries_near_coordinates` | Same, but from a lat/lng (skips geocoding) |
| `get_outlet` | Full record for one branch outlet by ID |
| `search_libraries` | Search library *systems* by name, state, or city |
| `get_library` | Full system profile by FSCS ID |
| `get_state_summary` | Statewide library totals |

**Systems vs. outlets:** a *system* is the administrative entity (e.g. "Chicago Public Library"); an *outlet* is an individual branch. Proximity searches return outlets.

## Examples

Once configured, you can ask your AI assistant:

> "What are the three closest public libraries to 350 Fifth Ave, New York?"

> "How many public library branches are there in Vermont, and what's the total collection size?"

> "I'm building a civic app — give me every library branch within 5 miles of downtown Chicago as JSON."

## Data note

The IMLS survey covers locations, collections, staffing, visits, programs, and finances. It reports **hours-open totals** (annual, and per week) but **not daily opening times** — so this API can tell you a branch is open ~45 hours/week, not that it opens at 9am.

## Links

- **Website:** [libraryapi.dev](https://libraryapi.dev)
- **PyPI:** [pypi.org/project/libraryapi-mcp](https://pypi.org/project/libraryapi-mcp)
- **REST API docs:** [libraryapi.dev/docs](https://libraryapi.dev/docs)

## License

MIT

What people ask about libraryapi-mcp

What is library-api/libraryapi-mcp?

+

library-api/libraryapi-mcp is mcp servers for the Claude AI ecosystem. MCP server for libraryapi.dev — US public library data for AI agents It has 0 GitHub stars and its last recorded update is dated 2026-10-04.

How do I install libraryapi-mcp?

+

You can install libraryapi-mcp by cloning the repository (https://github.com/library-api/libraryapi-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is library-api/libraryapi-mcp safe to use?

+

Our security agent has analyzed library-api/libraryapi-mcp and assigned a Trust Score of 62/100 (tier: OK). See the full breakdown of passed checks and flags on this page.

Who maintains library-api/libraryapi-mcp?

+

library-api/libraryapi-mcp is maintained by library-api. The last recorded GitHub activity is dated 2026-10-04, with 0 open issues.

Are there alternatives to libraryapi-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy libraryapi-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: library-api/libraryapi-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/library-api-libraryapi-mcp)](https://claudewave.com/repo/library-api-libraryapi-mcp)
<a href="https://claudewave.com/repo/library-api-libraryapi-mcp"><img src="https://claudewave.com/api/badge/library-api-libraryapi-mcp" alt="Featured on ClaudeWave: library-api/libraryapi-mcp" width="320" height="64" /></a>

More MCP Servers

libraryapi-mcp alternatives