Skip to content
MCP server

Hex.pm MCP

MCP server for searching, auditing and comparing Elixir packages on hex.pm

Install

Hex.pm MCP is an open-source MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Open source
Platforms
API, CLI, macOS
Runs
Remotely
Version
0.3.1
Listing updated

Similar MCP servers

Install

Run in a terminal

claude mcp add --transport http hexpm-mcp https://hexpm-mcp.fly.dev/mcp

Add to Settings → Connectors → Add custom connector

https://hexpm-mcp.fly.dev/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "hexpm-mcp": {
      "url": "https://hexpm-mcp.fly.dev/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "hexpm-mcp": {
      "type": "http",
      "url": "https://hexpm-mcp.fly.dev/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "hexpm-mcp": {
      "serverUrl": "https://hexpm-mcp.fly.dev/mcp"
    }
  }
}

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://hexpm-mcp.fly.dev/mcp

Enter a Name (for example "Hex.pm MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "hexpm-mcp": {
      "type": "http",
      "url": "https://hexpm-mcp.fly.dev/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

About Hex.pm MCP

Gives AI clients direct access to the Elixir and Erlang package registry at hex.pm and the documentation hosted on hexdocs.pm. Instead of pasting package pages into a chat, an assistant can look up versions, downloads, maintainers, retirement status and dependency trees on demand.

The server exposes 24 tools grouped around three jobs: looking up individual packages, comparing or scoring several of them side by side, and checking a project's mix.exs or mix.lock for stale, retired or vulnerable dependencies via OSV.dev. It also browses HexDocs module listings and searches within a package's documentation, and includes curated discovery through the Elixir Toolbox.

It runs as a hosted endpoint over Streamable HTTP or locally over stdio, and can be installed as a Claude Code and Codex plugin. It is aimed at Elixir developers who want an assistant to vet a dependency before adding it or to plan an upgrade.

Tools this server provides (24)

Taken from the project documentation; the running server may differ.

search
Search packages by name/keywords with sorting and pagination
info
Package metadata, description, links, download stats
versions
Version history with retirement status
release
Release details, publisher, dependencies, build tools
features
Optional dependencies and extra metadata
dependencies
Dependency list for a version
downloads
Download statistics (all-time, recent, weekly, daily)
owners
Package maintainers
readme
README content as markdown
docs
Module listing (table of contents) from hexdocs.pm
doc_item
Full documentation for a specific module
search_docs
Search within a package's documentation
compare
Side-by-side comparison of 2-5 packages
health
Maintenance, popularity, quality, and risk assessment
audit
Dependency risk audit (retired versions, staleness, bus factor, CVEs)
alternatives
Find and compare similar packages
dep_tree
Recursive dependency tree (BFS, max depth 5)
audit_mix_deps
Audit a deps list for staleness, retirement, CVEs, and bus factor
upgrade_check
Check which deps have newer versions, flag breaking changes
toolbox_groups
Browse the curated taxonomy of groups and categories
toolbox_group
List the categories in a single group
toolbox_category
Curated projects in a category (sortable by name or downloads)
toolbox_trending
Trending Elixir packages
toolbox_search
Search packages with popularity and health signals

What it does

Package lookup tools
Search hex.pm and inspect metadata, versions, releases, dependencies, owners and README content.
Side-by-side comparison
Compare two to five packages on downloads, latest version, license and dependency count.
Dependency auditing
Flag retired versions, staleness, single-maintainer risk and known CVEs across a project's deps.
Upgrade checking
Check mix.exs dependencies for newer versions and call out likely breaking changes.
HexDocs browsing
List module tables of contents, read full module docs and search within a package's documentation.
Curated discovery
Browse Elixir Toolbox groups, categories and trending packages with popularity and health signals.

Good for

  • Vetting an Elixir library for maintenance activity and risk before adding it to a project
  • Auditing a mix.exs deps list for retired versions and known vulnerabilities
  • Planning dependency upgrades and spotting breaking changes ahead of time
  • Looking up HexDocs module references while writing code against a package
  • Comparing alternative Elixir libraries on downloads and dependency footprint

Pricing

Open source

Free and MIT-licensed; self-hosting is supported.

Hex.pm MCP FAQ

How do I connect to the hosted version?

A public instance runs at https://hexpm-mcp.fly.dev/mcp. Add it to your MCP client config using the http type and that URL.

Can I run Hex.pm MCP locally?

Yes. A standalone binary is available for macOS, Linux and Windows and runs over stdio by default, or over HTTP with the transport flag. It can also be used as an Elixir library.

Which MCP protocol versions are supported?

The server speaks MCP revisions 2026-07-28, 2025-11-25 and 2025-06-18 over stdio and Streamable HTTP. Older revisions from 0.3.7 and earlier are no longer served.

Which clients have a plugin install?

Running hexpm_mcp init installs it as a plugin for Claude Code and Codex, including a skill for evaluating and auditing dependencies.

Is Hex.pm MCP free?

Yes. Hex.pm MCP is open source, so you can use and self-host it for free.

How do I add Hex.pm MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http hexpm-mcp https://hexpm-mcp.fly.dev/mcp

What are the best alternatives to Hex.pm MCP?

The closest alternatives to Hex.pm MCP are Zephex, Dependency Health MCP, Package Intel, Freshdeps MCP and Dependency MCP.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers