Context7
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Description from the maker (original English)
MCP server for hex.pm and hexdocs.pm: search, inspect, compare, and audit Elixir packages
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Works in Claude on the web, desktop and mobile:
https://hexpm-mcp.fly.dev/mcpRun this in your terminal
claude mcp add --transport http hexpm https://hexpm-mcp.fly.dev/mcpPaste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"hexpm": {
"url": "https://hexpm-mcp.fly.dev/mcp"
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"hexpm": {
"type": "http",
"url": "https://hexpm-mcp.fly.dev/mcp"
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
ChatGPT connects only to servers on the internet:
https://hexpm-mcp.fly.dev/mcpMenu names can differ slightly by plan and over time.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
We have not read this server’s tool list yet; we check endpoints in rotation.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 8, 2026
The registry name was verified with the GitHub account joshrotenberg, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
Not checked yet; we check endpoints in rotation
Not checked yet; we check endpoints in rotation
Not checked yet; we read the tool list when we check the endpoint
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs in the maker’s cloud. Connect over the internet with nothing to install, but what you send passes through the maker’s servers.
The GitHub repo last changed –, and the latest version (0.3.1) reached the registry 5 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT in developer mode.
In the same category: Context7, Codebase Memory, Exa
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
MCP server for querying hex.pm and hexdocs.pm -- the Elixir/Erlang package registry and documentation hosting.
Built with snodo. It speaks MCP 2026-07-28, 2025-11-25, and 2025-06-18 over stdio and Streamable HTTP. See Protocol compatibility for what the older revisions lack.
It provides 24 tools, six prompts, and package resources. Tool arguments are validated against their JSON Schemas, each list fits on one page with cache hints, and prompt and resource arguments complete package names. The package_review prompt asks for its focus (quality, security, or upgrade) when the argument is omitted and the client supports elicitation. Otherwise the review covers all three.
The server sends instructions that name the tools to start with for each task. hexpm_mcp init installs it as a Claude Code and Codex plugin, together with a skill for evaluating, upgrading and auditing dependencies.
A public instance is running at https://hexpm-mcp.fly.dev/mcp. Add it to your MCP client config (Claude Desktop, Claude Code, or any MCP client):
{
"mcpServers": { "hexpm": { "type": "http", "url": "https://hexpm-mcp.fly.dev/mcp" } } }
| MCP revision | stdio | Streamable HTTP |
|---|---|---|
2026-07-28 | Yes | Yes |
2025-11-25 | Yes | Yes |
2025-06-18 | Yes | Yes |
2025-03-26, 2024-11-05 | No | No |
A client that proposes a revision not in this table is offered 2025-11-25.
On 2025-11-25 and 2025-06-18:
package_review without a focus returns a review across all three focuses instead of asking.initialize issues no Mcp-Session-Id, every later request needs an MCP-Protocol-Version header, and GET and DELETE on /mcp return 405.Upgrading from 0.3.7. 0.3.7 and earlier were built on anubis_mcp. They
also served
2025-03-26and2024-11-05, and kept HTTP sessions with aGET
event stream. Clients that depend on those can no longer connect.
Checked over stdio on 2026-09-26: Codex 0.157.1 negotiates 2025-06-18, and Claude Code 2.1.283 uses 2026-07-28.
Three ways to get it, depending on how you want to use it.
A self-contained binary for macOS, Linux, and Windows. It bundles the Erlang runtime, so no Elixir toolchain is required.
curl -fsSL https://raw.githubusercontent.com/joshrotenberg/hexpm-mcp/main/scripts/install.sh | sh
The installer resolves the latest release, picks the asset for your OS and architecture, verifies its sha256, and installs to ~/.local/bin. It will tell you if that directory is not on your PATH.
To choose a different directory or pin a version, pass the flags through sh:
curl -fsSL https://raw.githubusercontent.com/joshrotenberg/hexpm-mcp/main/scripts/install.sh | sh -s -- --install-dir /usr/local/bin
curl -fsSL https://raw.githubusercontent.com/joshrotenberg/hexpm-mcp/main/scripts/install.sh | sh -s -- --version v0.3.6
Windows uses the PowerShell equivalent:
iex (irm https://raw.githubusercontent.com/joshrotenberg/hexpm-mcp/main/scripts/install.ps1)
Every release also attaches the archives and a combined checksums-sha256.txt if you would rather install by hand.
Verify it works:
hexpm_mcp --version
See Usage for the MCP client config, and macOS: "Apple could not verify hexpm_mcp" if Gatekeeper blocks a browser-downloaded copy. For Claude Code and Codex, hexpm_mcp init sets it up in one step.
For the public API from iex or your own code, without running an MCP server:
def deps do
[{:hexpm_mcp, "~> 0.3"}] end
git clone https://github.com/joshrotenberg/hexpm-mcp.git
cd hexpm-mcp mix deps.get
hexpm_mcp init| Tool | Description |
|---|---|
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 |
| Tool | Description |
|---|---|
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 |
| Tool | Description |
|---|---|
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) |
| Tool | Description |
|---|---|
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 |
Curated discovery via the Elixir Toolbox API. Project results carry GitHub/GitLab stats, a popularity score, and health signals not exposed by the raw hex.pm API.
| Tool | Description |
|---|---|
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 |
# Health Check: req
# Package Comparison
| Metric | req | httpoison | finch |
|---|---|---|---|
| Downloads (all) | 11.5M | 129.2M | 54.1M |
| Downloads (90d) | 1.6M | 1.6M | 2.4M |
| Latest version | 0.5.17 | 2.3.0 | 0.21.0 |
| Last updated | 2026-02-07 | 2025-11-14 | 2026-01-22 |
| License | Apache-2.0 | MIT | MIT |
| Dependencies | 7 | 1 | 5 |
# Dependency Audit: phoenix v1.8.5
Checked 10 dependencies. 8 warning(s) across 7 package(s).
hexpm_mcp init)From 0.3.9, the binary installs itself as a plugin for Claude Code and Codex. The plugin bundles the MCP server with a skill that tells the agent when to use these tools: before adding a dependency, when upgrading, when auditing a project, and when writing code against a package's API. In Claude Code it also adds a hook that suggests audit_mix_deps and upgrade_check after an edit to mix.exs or mix.lock.
hexpm_mcp init --dry-run
hexpm_mcp init
--dry-run shows the files and host commands without changing anything. init writes a local plugin marketplace, including a copy of the binary, to ~/.local/share/hexpm_mcp (or $XDG_DATA_HOME/hexpm_mcp). It then registers the marketplace with claude plugin and codex plugin. It configures whichever of the two is installed, and --host claude or --host codex picks one. It does not edit either host's configuration files directly. Reload plugins or start a new session afterwards.
Run hexpm_mcp init again after upgrading the binary to update the plugin.
If you already added hexpm-mcp as an MCP server by hand, init lists that entry when it finishes. The agent would otherwise see every tool twice, so remove one of them, for example with claude mcp remove hexpm.
To remove the plugin:
claude plugin uninstall hexpm@hexpm-local --scope user
claude plugin marketplace remove hexpm-local codex plugin remove hexpm@hexpm-local codex plugin marketplace remove hexpm-local
init is not supported on Windows yet.
Once installed:
{
"mcpServers": { "hexpm": { "command": "hexpm_mcp", "args": ["--transport", "stdio"] } } }
The binary defaults to stdio, so args can be omitted. Run hexpm_mcp --help for the full option list.
To serve over HTTP instead, pass --transport http. MCP is served at /mcp:
hexpm_mcp --transport http --port 1234
The binaries are not code-signed or notarized. macOS attaches a quarantine attribute to anything downloaded by a browser, and refuses to run an unsigned executable carrying it:
"hexpm_mcp" Not Opened. Apple could not verify "hexpm_mcp" is free of
malware that may harm your Mac or compromise your privacy.
Choose Done, not Move to Trash, then clear the attribute:
xattr -d com.apple.quarantine /path/to/hexpm_mcp
The System Settings route works too: Privacy & Security, then Open Anyway next to the blocked-binary notice.
The installer above is unaffected, because curl does not set the quarantine attribute. Only browser downloads do, so installing with curl or wget avoids this entirely. If you do download the tarball in a browser, extract it with tar -xzf from a terminal rather than double-clicking, since Archive Utility propagates the attribute to the extracted files.
To run from a checkout, e.g. for development:
{
"mcpServers": { "hexpm": { "command": "mix", "args"
Only the beginning is shown; read the rest in the repo