LibraryAPI for Grok
dev.libraryapi/libraryapi-mcp
US public libraries and branches near any address, with collections from the IMLS survey
client:Grok
transport:stdio
runtime:pypi
Install LibraryAPI in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"libraryapi-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"libraryapi-mcp"
],
"env": {
"LIBRARYAPI_KEY": "<LIBRARYAPI_KEY>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs