1. Conduid
  2. RAG
  3. Hexdocs
MCP server · RAG

Hexdocs

MCP server for searching Hex package documentation

53Fair

Scored 20 hours ago · breakdown

About Hexdocs

Hexdocs is an MCP server published by bradleygolden in the RAG category: mCP server for searching Hex package documentation. Conduid read 5 tools from its source: check_embeddings, fetch_docs, fulltext_search, hex_search and semantic_search. It is published to npm as hexdocs-mcp and starts with npx.

The repository has 69 stars and 6 forks, and its last commit was on 18 Jun 2025. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include hexdocs, embeddings, search, vector, documentation and semantic-search.

Install

Claude Code
claude mcp add hexdocs -- npx -y hexdocs-mcp@0.5.0
Run
npx -y hexdocs-mcp@0.5.0
From source
git clone https://github.com/bradleygolden/hexdocs-mcp

Tools (5)

check_embeddingsChecks if embeddings exist for a specific Hex package and version. This is useful before attempting semantic search to ensure the package has been processed. Returns information about whether embeddings exist and how many.
ParameterTypeDescription
packageName *stringThe Hex package name to check (required)
versionstringOptional package version, defaults to 'latest'
fetch_docsDownloads and processes the documentation for a specified Elixir Hex package and version, converting it to markdown, splitting it into semantic chunks, and generating vector embeddings. This enables the unique semantic_search capability that complements TideWave. Always useful regardless of TideWave availability. Must be run before searching a package for the first time or to update embeddings.
ParameterTypeDescription
forcebooleanForce re-fetch even if embeddings already exist
packageName *stringThe Hex package name to fetch (required)
versionstringOptional package version, defaults to latest
fulltext_searchPerforms full-text search on HexDocs documentation using Typesense search engine. This searches the actual documentation content across all packages on HexDocs. Note: If TideWave is available in your current Phoenix project, prefer using TideWave's documentation search for better project context. Use this tool when TideWave is not available or for searching packages not in your current project. Query Syntax: - Basic search: "Phoenix.LiveView" (searches for both terms) - Exact phrase: "\"handle event\"" (use escaped quotes) - AND operator: "Phoenix AND LiveView" (both terms required) - OR operator: "Phoenix OR Plug" (either term) - Exclude terms: "Phoenix -test" (minus sign excludes) - Module/function: "Enum.map" or "GenServer.handle_call" Best Practices: - Use exact module.function names for precise results - Combine with packageName filter for focused search - Use quotes for multi-word exact phrases - For callbacks use patterns like "@callback handle_" - For types use patterns like "@type t()" Examples: - Find LiveView event handlers: query: "handle_event", packageName: "phoenix_live_view" - Find Ecto changesets: query: "changeset", packageName: "ecto" - Find specific function: query: "\"Enum.map/2\"" - Find type definitions: query: "@type", packageName: "phoenix"
ParameterTypeDescription
limitnumberMaximum number of results to return (default: 10, max: 100)
packageNamestringOptional package name to limit search to (e.g., 'phoenix', 'ecto')
query *stringThe search query using Typesense syntax (see tool description for examples)
versionstringOptional specific version (only used with packageName, e.g., '1.7.0')
hex_searchSearches for Elixir packages on Hex.pm by name or description. Can search across all packages, within a specific package's versions, or get info for a specific package version. Note: If TideWave is available in your current Phoenix project, prefer using TideWave's hex search for better project integration. Use this tool when TideWave is not available or for general package discovery outside of a Phoenix project.
ParameterTypeDescription
limitnumberMaximum number of results to return (default: 10)
packageNamestringOptional package name to search within its versions
query *stringThe search query to find packages (searches in name and description)
sortstringSort results by: downloads (default), recent, or name
versionstringOptional specific version (only used with packageName)
semantic_searchSearches the documentation of one or more Elixir Hex packages using semantic vector embeddings. Given a natural language query, returns the most relevant documentation snippets. This is unique to hexdocs-mcp and complements TideWave by providing embeddings-based search capabilities that TideWave does not offer. Always available regardless of TideWave status. Requires that embeddings have been generated for the target package(s) using the fetch_docs tool.
ParameterTypeDescription
limitnumberMaximum number of results to return (default: 5, increase for more comprehensive results)
packageNamestringOptional Hex package name to search within (must be a package that has been fetched)
query *stringThe semantic search query to find relevant documentation (can be natural language, not just keywords)
versionstringOptional specific package version to search within, defaults to latest fetched version

Security checks

  • ✓README presentThe repository's README runs to about 1.4K words.

5 checks have not been run yet.

README

The repository's README runs to about 1.4K words. The original in the repository is authoritative.

Read full README
Questions

About Hexdocs

How do I install Hexdocs?

In Claude Code, run claude mcp add hexdocs -- npx -y hexdocs-mcp@0.5.0. Other MCP clients take the command after "--" in their server configuration.

Is Hexdocs safe to use with an AI agent?

Its trust score is 53 out of 100 (fair). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Hexdocs still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does Hexdocs provide?

Conduid read 5 tools from the source: check_embeddings, fetch_docs, fulltext_search, hex_search and semantic_search. 5 of them publish their parameters, listed under Tools above.