LibraryAPI for VS Code
dev.libraryapi/libraryapi-mcp
US public libraries and branches near any address, with collections from the IMLS survey
client:VS Code
transport:stdio
runtime:pypi
Install LibraryAPI in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "libraryapi-key",
"description": "LIBRARYAPI_KEY",
"password": true
}
],
"servers": {
"libraryapi-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"libraryapi-mcp"
],
"env": {
"LIBRARYAPI_KEY": "${input:libraryapi-key}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs