Hexdocs MCP Server

MCP server for searching Hex package documentation

Local serverstdioTypeScript

What is the Hexdocs MCP Server?

Hexdocs MCP connects Hexdocs MCP to AI assistants that speak the Model Context Protocol. MCP server for searching Hex package documentation.

What Hexdocs MCP does

HexDocs MCP is a project that provides semantic search capabilities for Hex package documentation, designed specifically for AI applications. It consists of two main components:

Requirements

  • Ollama - Required for generating embeddings - Run ollama pull mxbai-embed-large to download the recommended embedding model - Ensure Ollama is running before using the embedding features - Elixir 1.16+ and Erlang/OTP 26+ - Installed automatically in CI environments - Required locally for development - Mix - The Elixir build tool (comes with Elixir installation) - Node.js

Practical notes

  • Maintained by bradleygolden, written in TypeScript.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Hexdocs MCP Server

{
  "mcpServers": {
    "hexdocs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "hexdocs-mcp@0.5.0"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Ollama - Required for generating embeddings - Run ollama pull mxbai-embed-large to download the recommended embedding model - Ensure Ollama is running before using the embedding features - Elixir 1.16+ and Erlang/OTP 26+ - Installed automatically in CI environments - Required locally for development - Mix - The Elixir build tool (comes with Elixir installation) - Node.js
VariableDescriptionRequired
HEXDOCS_MCP_PATHFilesystem location the server is allowed to use.Optional
HEXDOCS_MCP_MIX_PROJECT_PATHSFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use Hexdocs MCP to Smithery.”
  • “Use Hexdocs MCP to Requirements.”

Frequently asked questions

MCP server for searching Hex package documentation Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.