Hexdocs MCP 文档服务器是一个非官方的、实验性的 HexDocs MCP 服务器,它基于搜索 API 构建。该服务器允许 AI 代理(如 Claude 或 Cursor)在 HexDocs 中搜索文档,为开发者提供了更便捷的文档查询途径。
git clone https://github.com/v0idpwn/hexdocs-mcp.git
npm install
npm run build
在你的 AI 代理中设置 MCP。以下是针对 Claude 的代码示例:
claude mcp add hexdocs node /path/to/hexdocs-mcp/dist/index.js