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).
Tools
| Tool | Description |
|---|---|
dnb_search_books |
Keyword search across the DNB catalogue — query, limit 1..50 |
dnb_search_by_title |
Title search — title, limit 1..50 |
dnb_search_by_author |
Author search — author (e.g. "Kafka, Franz"), limit 1..50 |
dnb_by_isbn |
Look up one book by ISBN — isbn (13 or 10 digits, with or without dashes) |
dnb_get_record |
Full record by DNB identifier — dnb_id (e.g. "1306459214") |
dnb_health |
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/ -q
License
MIT
Built by Mohammad Abbasi — Almanibama · mabbasi.ir
Metadata
Release files for dnb-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dnb_mcp-0.1.0.tar.gz | 13.5 kB | With provenance | Details for dnb_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dnb_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for dnb_mcp-0.1.0-py3-none-any.whl |
Total release size: 22.2 kB
Release files / dnb_mcp-0.1.0.tar.gz
| Download URL | dnb_mcp-0.1.0.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ecb54e9c32341b32cb135ad00bac00e6faf82b5e4993c9d56b999f185b7a404
|
|
BLAKE2b-256 checksum How to use checksums |
55a3f93255e6840ea03620b866b934949a55ded96e69d16941979702d0fe283c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / dnb_mcp-0.1.0-py3-none-any.whl
| Download URL | dnb_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
caab50a2a6776201732f8da288bfc25107477162260ad0be2c45cbe2a261baae
|
|
BLAKE2b-256 checksum How to use checksums |
f3555e9300e62b59470028ec4a0429ae8f348160c9026e27385b55965807d658
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logSecurity for dnb-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for dnb_mcp-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.