Hackage Documentation MCP
@apenugon
关于 Hackage Documentation MCP
An MCP server to give Claude easy access to pulling docs
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"haskell-hackage-mcp": {
"command": "python",
"args": [
"main.py"
]
}
}
}工具
未检测到工具
工具是从 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
FAQ from Hackage Documentation MCP
What dependencies or runtime does Hackage Documentation MCP require?
Python 3.7+ and the packages httpx, beautifulsoup4, and fastmcp.
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").
Does Hackage Documentation MCP require an internet connection?
Yes, it requires an internet connection to access documentation from Hackage.
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.
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 服务器
MCP server for Obsidian
MarkusPfundsteinMCP server that interacts with Obsidian via the Obsidian rest API community plugin
minutes
silversteinEvery meeting, every idea, every voice note — searchable by your AI. Open-source, privacy-first conversation memory layer.
Ultimate Google Docs & Drive MCP Server
a-bonusThe Ultimate Google Docs, Sheets, Drive, Gmail, & Google Calendar MCP Server. This MCP (primarily for use in Claude Desktop) gains full access to your google suite and lets claude do its thing.
Solomd
zhitongblogA markdown editor — and the bridge to your LLM. Local-first, MIT, ~15 MB. Bundled MCP server lets Claude Code / Codex / Cursor drive your vault directly. 14 AI providers BYOK.

Dash Api Docs Mcp Server
KapeliMCP server for Dash, the macOS API documentation browser
评论