dnb-mcp
Read-only MCP server for searching the Deutsche Nationalbibliothek catalogue via its SRU API, with no key or login required.
Keyword search across all fields (
dnb_search_books,limit1β50, default 10).Search by title (
dnb_search_by_title).Search by author (
dnb_search_by_author, e.g. "Kafka, Franz").Look up a book by ISBN-10 or ISBN-13 (
dnb_by_isbn, dashes allowed).Fetch a full record by DNB identifier (
dnb_get_record).Probe DNB reachability/status (
dnb_health: ok, blocked, or error).No newspapers-only filter is available; newspapers can still appear in keyword/title searches.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dnb-mcp search the DNB catalogue for books by Franz Kafka"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dnb-mcp π
mcp-name: io.github.mohammad-abbasi-sh/dnb-mcp
Unofficial read-only MCP server for services.dnb.de β Deutsche Nationalbibliothek catalogue via its official SRU API: keyword, title and author search, ISBN and DNB-ID lookup. No key, no login. No key, no login.
Built by Mohammad Abbasi as part of the "Germany MCP factory". Not affiliated with services.dnb.de.
For AI agents
Add to your MCP client config (stdio):
{
"mcpServers": {
"dnb": {
"command": "uvx",
"args": ["dnb-mcp==0.1.0"]
}
}
}Or run locally: python -m dnb_mcp.server (needs mcp<2, httpx).
Related MCP server: crossref-mcp
Tools
Tool | Description |
| Keyword search across the DNB catalogue β |
| Title search β |
| Author search β |
| Look up one book by ISBN β |
| Full record by DNB identifier β |
| Reachability probe (ok / blocked / error) β one polite request |
Notes
All data comes from the Deutsche Nationalbibliothek SRU API (free, no key, no login).
Indexes used (from the API's own explain response):
woe(all terms),tit(title),per(person/author),num(number incl. ISBN),idn(DNB identifier).There is no newspapers-only filter: the
mat(material type) index returns 0 for every German value tried (BΓΌcher, Zeitschriften, Zeitung, Zeitungen, Online-Ressource), so no newspapers-only tool is offered; newspapers are still found by the keyword and title searches.Dublin Core recordSchema is unsupported by the API β MARC21-xml only.
Tests: 20/20 green (14 offline + 6 live, 2026-11-10).
Development
python3 -m venv .venv && .venv/bin/pip install "mcp<2" httpx pytest
.venv/bin/pip install -e .
.venv/bin/python -m pytest tests/ -qLicense
PolyForm Noncommercial 1.0.0 β free for personal and non-commercial use; commercial use needs a separate license (see LICENSE).
Built by Mohammad Abbasi β Almanibama Β· mabbasi.ir
Available Tools
6 toolsdnb_by_isbnA
Look up one book by ISBN. isbn: 10 or 13 digits, dashes allowed, e.g. "9783100381682".
Inputs: isbn (required). Returns: result
dnb_get_recordA
Full record by DNB identifier. dnb_id: digits, e.g. "1306459214" (the ID shown on every record).
Inputs: dnb_id (required). Returns: result
dnb_healthA
Check whether services.dnb.de is reachable right now.
Returns status ok (HTTP 200), blocked (HTTP 403/429 β bot wall or rate limit) or error, plus the HTTP status and the probed URL. One polite request; it does not fetch any listings.
Inputs: no named parameters. Returns: result
dnb_search_booksA
Keyword search across the whole DNB catalogue (all fields). query: keyword or phrase, e.g. "Kafka". limit: 1..50 (default 10).
Inputs: query (required), limit. Returns: result
dnb_search_by_authorB
Search the DNB catalogue by author. author: e.g. "Kafka, Franz". limit: 1..50 (default 10).
Inputs: author (required), limit. Returns: result
dnb_search_by_titleB
Search the DNB catalogue by title. title: e.g. "Briefe 1921-1922". limit: 1..50 (default 10).
Inputs: title (required), limit. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 6 tools
Each tool targets a distinct access point: keyword, title, author, ISBN, identifier, and service health. The only real overlap is that dnb_search_books (all fields) can approximate title/author searches, but the specific-field variants are clearly described and useful for precision. No tool boundaries are confusing enough to cause likely misselection.
All names share a consistent dnb_ prefix and mostly follow a verb-led pattern (dnb_search_books, dnb_get_record). Two slight deviations: dnb_by_isbn drops the verb and dnb_health is a bare noun, but both remain readable and predictable.
Six tools is well-scoped for a bibliographic lookup service: four access points for finding records, one for full-record retrieval, one for connectivity diagnostics. Every tool earns its place with no filler.
Core discovery and retrieval are covered for a read-only catalogue, and a health probe is a nice touch. However, there is no pagination/offset (only a limit capped at 50), so deep result sets are unreachable, and there are no filters for year, publisher, or subject that bibliographic searching typically needs.
Maintenance
Related MCP Connectors
Read-only search and retrieval of published books, articles and authors, with public catalog links.
Search public procurement notices from 17 sources across Germany, the EU and the UK. Read-only.
Search a catalog of 1.7 million books and find books by mood, vibe, pace or genre. Read-only.
Search 150M+ academic works, journals, and funders via Crossref API.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI models to search and retrieve bibliographic and digitized records from Swiss academic libraries (swisscovery, e-rara, e-periodica, e-manuscripta) via open protocols without requiring API keys.1643 PyPI1MIT
- FlicenseAqualityDmaintenanceEnables searching and retrieving scholarly metadata from Crossref's public REST API, including works, journals, funders, and members, without requiring an API key.101-
- AlicenseNot gradedqualityCmaintenanceEnables searching for books by title, author, or keyword, retrieving edition details by ISBN, and accessing author profiles and canonical work records through the Open Library API.75 npmMIT
- AlicenseAqualityCmaintenanceEnables read-only search and retrieval of the public Reknihy.cz book catalog, including filtering, sorting, ISBN lookup, category browsing, and access to product details such as price, availability, and images.4ISC