Hackage Documentation MCP MCP Server

An MCP server to give Claude easy access to pulling docs

Local serverstdioPython

What is the Hackage Documentation MCP MCP server?

An MCP server to give Claude easy access to pulling docs. Exposed over MCP by the hackage documentation mcp mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

This Machine-Controlled Program (MCP) provides an interface for AI assistants to access Haskell documentation from Hackage. It allows AI models to retrieve precise, up-to-date documentation for specific Haskell modules, improving the AI's ability to assist with Haskell programming despite limited training data in this domain.

  • Retrieve documentation for specific modules from any package on Hackage
  • Specify exact package versions to ensure accuracy
  • Clean, text-based output that's easily consumable by AI assistants

Adding it to your client

The server ships on PyPI as httpx, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the hackage documentation mcp mcp server does with a few real requests.

When to reach for it

This sits in the knowledge and memory group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by apenugon; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

How to install the Hackage Documentation MCP MCP server

{
  "mcpServers": {
    "haskell-hackage": {
      "command": "uvx",
      "args": ["httpx"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Frequently asked questions

Python 3.7+ and the packages `httpx`, `beautifulsoup4`, and `fastmcp`.