Skip to main content
Glama

noark5-tg-mcp

Model Context Protocol (MCP) server for interacting with a Noark 5 tjenestegrensesnitt API instance. Tested on the Nikita Noark 5 Core implementation.

Overview

This MCP server provides tools for browsing, searching, and managing archive entities through the Noark 5 REST API. It supports:

  • Authentication via Basic auth (RFC 7617) or OIDC/OAuth2 password grant with auto-renewal

  • HATEOAS navigation - discovers endpoints by walking _links in JSON responses

  • CRUD operations on all major entity types

  • OData search/filter across collections

Related MCP server: Nettskjema MCP Server

Available Tools

Run noark5-tg-mcp --list-tools to see all available tools with descriptions. The list is auto-discovered from the module, so it stays up to date as tools are added or removed.

Quick Examples

# Authenticate and list top-level archives
noark5_set_credentials("http://localhost:8092/noark5v5/", "admin", "password")
noark5_list_arkiv()

# Search for an entity by title
noark5_search_entities("My Archive")

# Navigate HATEOAS links on an entity
noark5_entity_links("https://...entity-url...")

# Filter entities using OData
noark5_filter_entities("https://...collection-url...", "contains(tittel, 'Report')")

# Download a document file (list objekter first, then pick one)
noark5_list_dokumentobjekter("https://...dokumentbeskrivelse-url...")
noark5_download_dokumentobjekt("https://...dokumentobjekt-url...", "/tmp/doc.epub")

See --help for full usage information.

Installation

From source

git clone <repo-url> && cd noark5-tg-mcp
pip install -e .

Debian package

dpkg-buildpackage -us -uc
sudo dpkg -i ../python3-noark5-tg-mcp_0.1.0-1_all.deb

Configuration

Set via environment variables or the noark5_set_credentials tool:

Variable

Default

Description

NOARK5_BASE_URL

http://localhost:8092/noark5v5/

API base URL

NOARK5_AUTH_METHOD

auto

Auth method: basic, oidc, or auto

NOARK5_USERNAME

(empty)

Auth username

NOARK5_PASSWORD

(empty)

Auth password

NOARK5_CLIENT_ID

(empty)

OIDC client_id (optional)

NOARK5_ACCESS_TOKEN

(empty)

Pre-existing Bearer token; skips login flow

Claude Desktop

{
  "mcpServers": {
    "noark5": {
      "command": "noark5-tg-mcp",
      "env": {
        "NOARK5_BASE_URL": "http://localhost:8092/noark5v5/",
        "NOARK5_USERNAME": "your-username",
        "NOARK5_PASSWORD": "your-password"
      }
    }
  }
}

opencode

Add to ~/.config/opencode/opencode.jsonc:

{
  "mcp": {
    "noark5": {
      "type": "local",
      "command": ["noark5-tg-mcp"],
      "environment": {
        "NOARK5_BASE_URL": "http://localhost:8092/noark5v5/",
        "NOARK5_USERNAME": "your-username",
        "NOARK5_PASSWORD": "your-password"
      },
      "enabled": true
    }
  }
}

Alternatively, skip environment variables and use the noark5_set_credentials tool after connecting.

Testing

python3 -m pytest --cov=noark5_tg_mcp --cov-report=term-missing

License

GPL-2.0-or-later

References

A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables interaction with the Norwegian Business Registry (Brønnøysundregistrene) API to search and retrieve detailed information about Norwegian companies, subunits, roles, organization forms, municipalities, and NACE industry codes.
    18
    14
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables direct access to Norwegian company data — lookup, search, roles, subunits, and live updates — through the free Brønnøysund Open Data API.
    5
    67
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Read-only Model Context Protocol server for the US National Archives Catalog API, enabling search and retrieval of archival records, child records, extracted text, comments, and tags.
    7
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Manage products, EU Digital Product Passports, operator parties, and GS1 EPCIS supply-chain events.

  • Live access to gematik Telematikinfrastruktur (TI) specs and certification requirements.

  • Access SEC filings, insider transactions, and financial data via the ShareSEER API.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/petterreinholdtsen/noark5-tg-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server