原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Hex.pm MCP

作者:joshrotenberg版本 0.3.1i★ –i在云端运行
注册名称io.github.joshrotenberg/hexpm-mcp

安装

概览

作者提供的说明(英文原文)

MCP server for hex.pm and hexdocs.pm: search, inspect, compare, and audit Elixir packages

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在云端运行
  • 传输方式: Streamable HTTP
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3
https://hexpm-mcp.fly.dev/mcp

在终端中运行这条命令

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

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

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

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

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

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3
https://hexpm-mcp.fly.dev/mcp

菜单名称可能因套餐和版本不同而略有差异。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 joshrotenberg 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    端点有响应

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    使用 OAuth 登录

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 5676 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5676 个服务器的 18% 更新
  • 基础检查结果等于或优于此分类中其他 5676 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Hex.pm MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.3.1)于5个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT2个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

hexpm-mcp

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.

Quick Start

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" } } }

Protocol compatibility

MCP revisionstdioStreamable HTTP
2026-07-28YesYes
2025-11-25YesYes
2025-06-18YesYes
2025-03-26, 2024-11-05NoNo

A client that proposes a revision not in this table is offered 2025-11-25.

On 2025-11-25 and 2025-06-18:

  • The server sends no requests to the client, so package_review without a focus returns a review across all three focuses instead of asking.
  • HTTP is stateless. 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-26 and 2024-11-05, and kept HTTP sessions with a GET

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.

Installation

Three ways to get it, depending on how you want to use it.

Standalone binary (recommended)

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.

As an Elixir library

For the public API from iex or your own code, without running an MCP server:

def deps do

[{:hexpm_mcp, "~> 0.3"}] end

From source
git clone https://github.com/joshrotenberg/hexpm-mcp.git

cd hexpm-mcp mix deps.get

Features

  • 24 tools for searching, inspecting, comparing, auditing, and discovering hex.pm packages
  • 5 resources for structured package and discovery data access
  • 6 guided analysis prompts
  • Server instructions naming the entry tools for each task
  • A Claude Code and Codex plugin (MCP server, skill, and hook) installed by hexpm_mcp init
  • HexDocs browsing (module listing, doc search, full module docs)
  • Curated package discovery via Elixir Toolbox (groups, trending, enriched search)
  • OSV.dev vulnerability checking
  • Mix.exs dependency auditing and upgrade checking
  • ETS-based response caching with configurable TTL
  • Dual transport: stdio (Claude Code/Desktop) and StreamableHTTP (remote)
  • Public Elixir API usable directly from iex

Tools

Package information
ToolDescription
searchSearch packages by name/keywords with sorting and pagination
infoPackage metadata, description, links, download stats
versionsVersion history with retirement status
releaseRelease details, publisher, dependencies, build tools
featuresOptional dependencies and extra metadata
dependenciesDependency list for a version
downloadsDownload statistics (all-time, recent, weekly, daily)
ownersPackage maintainers
readmeREADME content as markdown
Documentation browsing
ToolDescription
docsModule listing (table of contents) from hexdocs.pm
doc_itemFull documentation for a specific module
search_docsSearch within a package's documentation
Analysis
ToolDescription
compareSide-by-side comparison of 2-5 packages
healthMaintenance, popularity, quality, and risk assessment
auditDependency risk audit (retired versions, staleness, bus factor, CVEs)
alternativesFind and compare similar packages
dep_treeRecursive dependency tree (BFS, max depth 5)
Mix.exs analysis
ToolDescription
audit_mix_depsAudit a deps list for staleness, retirement, CVEs, and bus factor
upgrade_checkCheck which deps have newer versions, flag breaking changes
Discovery (Elixir Toolbox)

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.

ToolDescription
toolbox_groupsBrowse the curated taxonomy of groups and categories
toolbox_groupList the categories in a single group
toolbox_categoryCurated projects in a category (sortable by name or downloads)
toolbox_trendingTrending Elixir packages
toolbox_searchSearch packages with popularity and health signals

Example Output

Health check
# Health Check: req

Maintenance

  • Age: 4 years ago
  • Total versions: 52
  • Status: Active
  • Days since last release: 57

Popularity

  • All-time downloads: 11.5M
  • Recent (90 days): 1.6M
  • Weekly: 141.5K

Quality

  • Documentation: available
  • Licenses: Apache-2.0
  • Dependencies: 3 required, 4 optional
  • Elixir requirement: ~> 1.14

Risk

  • Maintainers: 1 (single maintainer!)
  • Retired versions: 0
Package comparison
# Package Comparison
Metricreqhttpoisonfinch
Downloads (all)11.5M129.2M54.1M
Downloads (90d)1.6M1.6M2.4M
Latest version0.5.172.3.00.21.0
Last updated2026-02-072025-11-142026-01-22
LicenseApache-2.0MITMIT
Dependencies715
Dependency audit
# Dependency Audit: phoenix v1.8.5

Checked 10 dependencies. 8 warning(s) across 7 package(s).

  • bandit: 1 retired version(s)
  • jason: single maintainer
  • plug: 2 retired version(s); 3 known vulnerability(ies)
  • telemetry: no issues

Usage

Claude Code and Codex (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.

Standalone binary (stdio)

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

MCP endpoint: http://localhost:1234/mcp

macOS: "Apple could not verify hexpm_mcp"

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.

From source (stdio)

To run from a checkout, e.g. for development:

{

"mcpServers": { "hexpm": { "command": "mix", "args"

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx