MCP.so
登录

Hackage Documentation MCP Server

@apenugon

基本信息

分类

记忆与知识

许可证

MIT

传输方式

stdio

作者

apenugon

关于 Hackage Documentation MCP Server

An MCP server to give Claude easy access to pulling docs

Hackage Documentation MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

Hackage Documentation MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

常见问题

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.

评论

记忆与知识 分类下的更多 MCP 服务器