MCP server for libraryapi.dev — US public library data for AI agents
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Documented (README)
- !No standard license detected
claude mcp add libraryapi-mcp -- uvx libraryapi-mcp{
"mcpServers": {
"libraryapi-mcp": {
"command": "uvx",
"args": ["libraryapi-mcp"]
}
}
}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.
[](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
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
The fastest path to AI-powered full stack observability, even for lean teams.