Dhlab-mcp
dhlab-mcp is an MCP server exposing the National Library of Norway's Digital Humanities Lab (DHLAB) to language models via the Model Context Protocol.
Stack: Python. Public repo.
Tools exposed
- search_texts — search the National Library's digital text collection.
- ngram_frequencies — word-frequency trends over time (corpora:
bok,avis). - find_concordances / word_concordance — word contexts in a document (HTML-formatted vs. clean structured).
- find_collocations — words that appear near a target word.
- lookup_word_forms — Norwegian word forms.
- lookup_word_lemma — lemma (base form).
- image search — images in the digital collection.
- corpus statistics — info about document collections.
Transports
stdio(default) — standard input/output for CLI integration.http— streamable HTTP transport (recommended for network access).sse— Server-Sent Events (legacy).
claude mcp add --transport stdio dhlab -- uv --directory $PWD run dhlab-mcp
dhlab-mcp --transport http --port 9000
HTTP server available at http://<host>:<port>/mcp/.
Sources
See also
- omni-mcp — the fleet's universal MCP server.