# HexDocs MCP

Semantically searches hex documentation right from your editor.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add bradleygolden/hexdocs-mcp

# Browse available tools
npx -y @smithery/cli@latest tool list bradleygolden/hexdocs-mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get bradleygolden/hexdocs-mcp semantic_search

# Call a tool
npx -y @smithery/cli@latest tool call bradleygolden/hexdocs-mcp semantic_search '{}'
```

## Tools (5)

- `semantic_search` — Searches the documentation of one or more Elixir Hex packages using semantic vector embeddings. Given a natural languag…
- `fetch_docs` — Downloads and processes the documentation for a specified Elixir Hex package and version, converting it to markdown, sp…
- `hex_search` — Searches for Elixir packages on Hex.pm by name or description. Can search across all packages, within a specific packag…
- `fulltext_search` — Performs full-text search on HexDocs documentation using Typesense search engine. This searches the actual documentatio…
- `check_embeddings` — Checks if embeddings exist for a specific Hex package and version. This is useful before attempting semantic search to …

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get bradleygolden/hexdocs-mcp <tool-name>
```

---

Source: https://github.com/bradleygolden/hexdocs-mcp | License: MIT
