Back to MCP directory
publicPublicdnsLocal runtime

HexDocs

HexDocs的非官方实验性MCP服务,基于搜索API,为AI代理如Claude或Cursor提供文档搜索功能。

article

README

🚀 Hexdocs MCP 文档服务器

Hexdocs MCP 文档服务器是一个非官方的、实验性的 HexDocs MCP 服务器,它基于搜索 API 构建。该服务器允许 AI 代理(如 Claude 或 Cursor)在 HexDocs 中搜索文档,为开发者提供了更便捷的文档查询途径。

🚀 快速开始

先决条件

  • Node.js(v18 或更高版本)
  • npm

📦 安装指南

  1. 克隆仓库:
git clone https://github.com/v0idpwn/hexdocs-mcp.git
  1. 安装依赖项:
npm install
  1. 构建 TypeScript 代码:
npm run build

💻 使用示例

基础用法

在你的 AI 代理中设置 MCP。以下是针对 Claude 的代码示例:

claude mcp add hexdocs node /path/to/hexdocs-mcp/dist/index.js
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client