Feedback

Basic information

Runtime
python
License
MIT
Transports
stdio
Author
apenugon
Submitted by
Community
Quality
20
Stars
11

About Hackage Documentation MCP Server

An MCP server to give Claude easy access to pulling docs

Hackage Documentation MCP is a MCP server in the Memory & Knowledge category listed in the AddMCP.net directory, published by apenugon. Supported transport: stdio. Runtime: python. License: MIT. The repository has 11 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "haskell-hackage-mcp": {
            "command": "python",
            "args": [
                "main.py"
            ]
        }
    }
}

Hackage Documentation MCP config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "haskell-hackage-mcp": {
            "command": "python",
            "args": [
                "main.py"
            ]
        }
    }
}

Hackage Documentation MCP tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Hackage Documentation MCP?

Hackage Documentation MCP is a Machine-Controlled Program (MCP) server that provides AI assistants with real‑time access to Haskell documentation from Hackage. It enables 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.

How to use Hackage Documentation MCP?

Install Python 3.7+, then pip install httpx beautifulsoup4 fastmcp. Run python main.py to start the server with stdio transport. Use any MCP‑compatible AI assistant to call the tool get_docs(package, version, module) with a Hackage package name, exact version string, and module name (e.g., get_docs("lens", "5.0.0", "Control.Lens")).

Key features of Hackage Documentation MCP

  • Retrieve documentation for specific modules from any Hackage package
  • Specify exact package versions to ensure accuracy
  • Clean, text‑based output easily consumable by AI assistants
  • Requires only an internet connection and Python 3.7+

Use cases of Hackage Documentation MCP

  • Learning Haskell libraries: get detailed module info while working with an AI
  • Understanding type signatures: access accurate type information for Haskell functions
  • Exploring module hierarchies: see how modules are organized within packages
  • Verifying AI‑generated code: compare AI suggestions against official Hackage docs

Frequently asked questions

1 What dependencies or runtime does Hackage Documentation MCP require?

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

2 How do I invoke the documentation‑retrieval tool?

Call get_docs(package, version, module) – for example, get_docs("vector-algorithms", "0.8.0", "Data.Vector.Algorithms").

3 Does Hackage Documentation MCP require an internet connection?

Yes, it requires an internet connection to access documentation from Hackage.

4 What are the limitations of Hackage Documentation MCP?

It only provides documentation content, not implementation code. Documentation quality varies between Haskell packages, and an internet connection is required.

5 Can I use any package on Hackage with this tool?

Yes, any package name, version, and module that exist on Hackage can be queried. An error message is returned if retrieval fails.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬