Repository avatar
Search & Data Extraction
v1.0.1
active

dlang-dub-packages-registry-mcp

io.github.theluckystrike/dlang-dub-packages-registry-mcp

Live D Language DUB package search, version dependencies, license provenance, and download stats.

Documentation

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

Available tools

ToolPurpose
search_dub_packagesSearch the official D language DUB package registry by keyword
get_dub_package_infoInspect license, authors, source repo, subpackages, and latest dependencies
get_dub_package_latest_versionFetch the latest published release version string for a DUB package
get_dub_package_statsGet download metrics, repository stars, forks, issues, and quality score
list_dub_package_versionsList 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.