mcp-databnf
v2.2.0Search the BnF open catalogue: authors, works, editions and links to what is digitised.
Values you need
| Variable | What it is | |
|---|---|---|
BNF_USER_AGENT | optional | Identify your own client. The project's own identifier is appended, so the BnF can always reach a person. |
BNF_MIN_INTERVAL_MS | optional | Minimum milliseconds between requests. Default 3000, which is also the floor. |
BNF_TIMEOUT_MS | optional | Deadline for one SPARQL query, in milliseconds. Default 60000. |
BNF_MAX_RETRIES | optional | Attempts after a busy answer. Default 3. |
BNF_CACHE_TTL_MS | optional | How long an answer is kept in memory, in milliseconds. Default 900000. Zero turns the cache off. |
BNF_LOG_LEVEL | optional | silent, error, info or debug. Default error. Logs go to stderr. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-databnf -- npx -y mcp-databnf@2.2.0Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-databnf": {
"args": [
"-y",
"mcp-databnf@2.2.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-databnf": {
"args": [
"-y",
"mcp-databnf@2.2.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp-databnf": {
"args": [
"-y",
"mcp-databnf@2.2.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-databnf]
command = "npx"
args = ["-y", "mcp-databnf@2.2.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: search_authors, get_author, search_works, get_work, list_editions, list_works, find_digitised.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json