Skip to main content
Glama
Hackage Haskell Packages MCP

Hackage Haskell Packages MCP

README.md
# 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.

```text
https://hackage-haskell-packages-mcp.lipmichal.workers.dev/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.

```json
{
  "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.

```bash
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.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.hackage-haskell-packages-mcp) with hosted commercial servers and priority endpoints.

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