Packages
HexDocs MCP is a project that provides semantic search capabilities for Hex package documentation, designed specifically for AI applications. It downloads, processes, and generates embeddings from Hex package documentation and provides a Model Context Protocol (MCP) server for searching.
Current section
Files
Jump to
Current section
Files
lib/mix/tasks/hex.docs.mcp.ex
defmodule Mix.Tasks.Hex.Docs.Mcp do
@shortdoc "Quickly search hexdocs using MCP. (use `--help` for more info)"
@moduledoc @shortdoc
use Mix.Task
@requirements ["app.config", "app.start"]
def run(args) do
Application.ensure_all_started(:hexdocs_mcp)
HexdocsMcp.CLI.main(args)
end
end