Skip to main content
Glama
dlang-dub-packages-registry-mcp

dlang-dub-packages-registry-mcp

dlang-dub-packages-registry-mcp

Live D language DUB package registry metadata over Model Context Protocol (MCP). Systems programmers, build engineers, and supply-chain teams can query code.dlang.org/api/packages for DUB package search, version dependencies, license provenance, and download statistics without an API key or account. It connects right away.

Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

https://dlang-dub-packages-registry-mcp.lipmichal.workers.dev/mcp

Related MCP server: mcp-server-npm-registry

Available tools

Tool

Purpose

search_dub_packages

Search the official D language DUB package registry by keyword

get_dub_package_info

Inspect license, authors, source repo, subpackages, and latest dependencies

get_dub_package_latest_version

Fetch the latest published release version string for a DUB package

get_dub_package_stats

Get download metrics, repository stars, forks, issues, and quality score

list_dub_package_versions

List release history with dates, licenses, commit IDs, and dependency counts

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "dlang-dub-packages-registry": {
      "url": "https://dlang-dub-packages-registry-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run this server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries code.dlang.org/api/packages with a polite User-Agent header (mcpstamp-dlang-dub-packages-registry/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

Available Tools

5 tools
get_dub_package_infoGet DUB package infoA
Read-onlyIdempotent
Inspect

Retrieve DUB package provenance including latest version, license, authors, source repository, categories, subpackages, and direct dependencies.

Inputs: name (required).

get_dub_package_latest_versionGet DUB package latest versionA
Read-onlyIdempotent
Inspect

Fetch the latest published release version string for a D language DUB package.

Inputs: name (required).

get_dub_package_statsGet DUB package download and repo statsA
Read-onlyIdempotent
Inspect

Retrieve download metrics (total, monthly, weekly, daily), repository stars, forks, open issues, and registry score for a DUB package.

Inputs: name (required).

list_dub_package_versionsList DUB package versionsA
Read-onlyIdempotent
Inspect

List historical release versions for a DUB package with publish dates, license metadata, commit IDs, and dependency counts.

Inputs: name (required), limit.

search_dub_packagesSearch D language DUB packagesA
Read-onlyIdempotent
Inspect

Search the official D language DUB package registry by keyword to discover libraries, tools, and latest versions.

Inputs: query (required), limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 5 tools

    Disambiguation4/5

    Most tools target clearly different needs: search, full metadata, version history, and download stats. However, get_dub_package_latest_version overlaps with both get_dub_package_info (which already includes latest version) and list_dub_package_versions (which likely includes the latest release), creating a mild boundary ambiguity.

    Naming Consistency4/5

    Names consistently use snake_case and mostly follow a verb_noun pattern around a shared dub_package/package concept. Minor deviations exist: search_dub_packages uses plural 'packages' and a search-first verb, while the others use get_/list_ with singular 'package'.

    Tool Count5/5

    Five tools is well-scoped for a package registry discovery server, with each tool serving a recognizable lookup purpose. The surface avoids bloat and keeps the agent's choice set small.

    Completeness4/5

    The set covers the core registry discovery workflow: search, metadata, latest version, version history, and popularity/stats. Minor gaps remain, such as direct package-name lookup without search, category browsing, or download/install guidance, but agents can work around these via search and metadata.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying PyPI download statistics for packages, including recent totals, daily timeseries, and breakdowns by Python version and operating system, without an API key.
      56 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to search Hex.pm and inspect package metadata, release dependencies and checksums, retirement audits, and popularity rankings with no API key or sign-up.
      MIT