Skip to main content
Glama
Hackage Haskell Packages MCP

Hackage Haskell Packages MCP

hackage-haskell-packages-mcp

Live Hackage Haskell package registry intelligence over Model Context Protocol (MCP). Haskell developers, DevOps teams, and supply-chain auditors can query hackage.haskell.org for preferred and deprecated releases, parsed .cabal metadata, authorized maintainers, and SHA-256 revision logs 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://hackage-haskell-packages-mcp.lipmichal.workers.dev/mcp

Related MCP server: package-intel-mcp

Available tools

Tool

Purpose

search_hackage_packages

Search Haskell packages on Hackage by keyword or library name

get_hackage_package_versions

Retrieve preferred, deprecated, and unpreferred release versions for a package

get_hackage_package_cabal

Fetch and parse a package .cabal manifest for license, GHC targets, and dependencies

get_hackage_package_maintainers

List authorized Hackage package maintainers and uploaders for governance review

get_hackage_package_revisions

Inspect cabal file revision history with SHA-256 digests, timestamps, and uploaders

Client configuration

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

{
  "mcpServers": {
    "hackage-haskell-packages": {
      "url": "https://hackage-haskell-packages-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 hackage.haskell.org with a polite User-Agent header (mcpstamp-hackage-haskell-packages/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_hackage_package_cabalGet Hackage package cabal metadataA
Read-onlyIdempotent

Fetch and parse a Hackage package .cabal manifest to inspect license, category, maintainer, GHC tested-with versions, and build-depends.

Inputs: package_name (required), version.

get_hackage_package_maintainersGet Hackage package maintainersB
Read-onlyIdempotent

Retrieve the list of authorized Hackage uploaders and maintainers for a Haskell package.

Inputs: package_name (required).

get_hackage_package_revisionsGet Hackage package revisionsB
Read-onlyIdempotent

Audit Hackage cabal metadata revisions with SHA-256 digests, timestamps, and uploader usernames.

Inputs: package_name (required), version.

get_hackage_package_versionsGet Hackage package versionsA
Read-onlyIdempotent

Retrieve official preferred, deprecated, and unpreferred version lists for a Hackage Haskell package.

Inputs: package_name (required), limit.

search_hackage_packagesSearch Hackage Haskell packagesB
Read-onlyIdempotent

Search the official Hackage Haskell package index by keyword or library name.

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.7/5.0

    Scored across 5 tools

    Disambiguation4/5

    All five tools target distinct aspects of Hackage package inspection: search, version lists, cabal metadata, maintainers, and revisions. The only mild ambiguity is between version lists and revisions, but descriptions clarify the difference.

    Naming Consistency4/5

    Names consistently use snake_case verb_noun with the shared Hackage package domain prefix. Minor deviation: search_hackage_packages uses plural 'packages' while the getters use singular 'package'.

    Tool Count5/5

    Five tools are well-scoped for a focused Hackage inspection server, with each tool covering a meaningful package metadata operation. No tool appears redundant or extraneous.

    Completeness4/5

    The surface covers search, version lists, cabal manifest details, maintainers, and revision auditing, which are core Hackage inspection needs. Some useful gaps remain, such as direct package summary/details or reverse dependency lookup, but agents can work around them.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables users to look up package versions, scan for vulnerabilities, and analyze dependencies across multiple registries (npm, Maven, PyPI, etc.) using exact version recommendations for security.
      5
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Provides software supply-chain intelligence for AI agents, enabling them to query package metadata, versions, downloads, dependencies, and health signals for npm, PyPI, and crates.io packages without API keys.
      6
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides a keyless, unified view of developer registries (npm, PyPI, Docker Hub, VS Code Marketplace) with tools for package search, details, versions, downloads, dependency graphs, vulnerabilities, and security insights via the DevStack API.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables checking whether software packages are deprecated, archived, stale, active, or unknown with supporting evidence, auditing dependency manifests, and looking up runtime support and end-of-life dates.
      MIT