Hex.pm MCP is an MCP server published by io.github.joshrotenberg, hosted at hexpm-mcp.fly.dev. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 24 tools, including alternatives, audit, audit_mix_deps, compare, dep_tree.
MCP server for hex.pm and hexdocs.pm: search, inspect, compare, and audit Elixir packages
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Find alternative packages
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
{
"name": "alternatives",
"description": "Find alternative packages",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
}
}
},
"annotations": {}
}Audit package dependencies for risks
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
| version | string | Release version (defaults to latest) |
{
"name": "audit",
"description": "Audit package dependencies for risks",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
},
"version": {
"type": "string",
"description": "Release version (defaults to latest)"
}
}
},
"annotations": {}
}Audit mix.exs dependencies for risks
| Parameter | Type | Description |
|---|---|---|
| deps * | string | Mix.exs deps list as text, e.g. {:phoenix, "~> 1.7"}, {:ecto, "~> 3.10"} |
{
"name": "audit_mix_deps",
"description": "Audit mix.exs dependencies for risks",
"inputSchema": {
"type": "object",
"required": [
"deps"
],
"properties": {
"deps": {
"type": "string",
"description": "Mix.exs deps list as text, e.g. {:phoenix, \"~> 1.7\"}, {:ecto, \"~> 3.10\"}"
}
}
},
"annotations": {}
}Compare 2-5 packages side by side
| Parameter | Type | Description |
|---|---|---|
| packages * | string | Comma-separated list of package names (2-5 packages) |
{
"name": "compare",
"description": "Compare 2-5 packages side by side",
"inputSchema": {
"type": "object",
"required": [
"packages"
],
"properties": {
"packages": {
"type": "string",
"description": "Comma-separated list of package names (2-5 packages)"
}
}
},
"annotations": {}
}Build a package dependency tree
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
| version | string | Release version (defaults to latest) |
| max_depth | integer | Maximum depth to traverse (default 5, max 5) |
{
"name": "dep_tree",
"description": "Build a package dependency tree",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
},
"version": {
"type": "string",
"description": "Release version (defaults to latest)"
},
"max_depth": {
"type": "integer",
"description": "Maximum depth to traverse (default 5, max 5)"
}
}
},
"annotations": {}
}Get dependencies for a package version
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
| version | string | Release version (defaults to latest) |
{
"name": "dependencies",
"description": "Get dependencies for a package version",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
},
"version": {
"type": "string",
"description": "Release version (defaults to latest)"
}
}
},
"annotations": {}
}Get documentation for a module or function
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
| module * | string | Module name (e.g. "Plug.Conn") |
| version | string | Package version (defaults to latest) |
{
"name": "doc_item",
"description": "Get documentation for a module or function",
"inputSchema": {
"type": "object",
"required": [
"name",
"module"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
},
"module": {
"type": "string",
"description": "Module name (e.g. \"Plug.Conn\")"
},
"version": {
"type": "string",
"description": "Package version (defaults to latest)"
}
}
},
"annotations": {}
}Browse a package documentation module listing
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
| version | string | Package version (defaults to latest) |
{
"name": "docs",
"description": "Browse a package documentation module listing",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
},
"version": {
"type": "string",
"description": "Package version (defaults to latest)"
}
}
},
"annotations": {}
}Get package download statistics
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
{
"name": "downloads",
"description": "Get package download statistics",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
}
}
},
"annotations": {}
}Get optional features for a package release
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
| version | string | Release version (defaults to latest) |
{
"name": "features",
"description": "Get optional features for a package release",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
},
"version": {
"type": "string",
"description": "Release version (defaults to latest)"
}
}
},
"annotations": {}
}Run a comprehensive package health check
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
{
"name": "health",
"description": "Run a comprehensive package health check",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
}
}
},
"annotations": {}
}Get detailed package information
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
{
"name": "info",
"description": "Get detailed package information",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
}
}
},
"annotations": {}
}Get package owners and maintainers
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
{
"name": "owners",
"description": "Get package owners and maintainers",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
}
}
},
"annotations": {}
}Get package README content
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
| version | string | Package version (defaults to latest) |
{
"name": "readme",
"description": "Get package README content",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
},
"version": {
"type": "string",
"description": "Package version (defaults to latest)"
}
}
},
"annotations": {}
}Get detailed package release information
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
| version * | string | Release version (e.g. "1.8.5") |
{
"name": "release",
"description": "Get detailed package release information",
"inputSchema": {
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
},
"version": {
"type": "string",
"description": "Release version (e.g. \"1.8.5\")"
}
}
},
"annotations": {}
}Search hex.pm packages
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (default 1) |
| sort | string | Sort by: name, recent_downloads, total_downloads, inserted_at, updated_at |
| query * | string | Search query string |
{
"name": "search",
"description": "Search hex.pm packages",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"page": {
"type": "integer",
"description": "Page number (default 1)"
},
"sort": {
"type": "string",
"description": "Sort by: name, recent_downloads, total_downloads, inserted_at, updated_at"
},
"query": {
"type": "string",
"description": "Search query string"
}
}
},
"annotations": {}
}Search within package documentation
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
| query * | string | Search query |
| version | string | Package version (defaults to latest) |
{
"name": "search_docs",
"description": "Search within package documentation",
"inputSchema": {
"type": "object",
"required": [
"name",
"query"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
},
"query": {
"type": "string",
"description": "Search query"
},
"version": {
"type": "string",
"description": "Package version (defaults to latest)"
}
}
},
"annotations": {}
}List projects in a Toolbox category
| Parameter | Type | Description |
|---|---|---|
| sort | string | Ordering: "name" (alphabetical) or "downloads"; defaults to popularity order |
| group * | string | Group slug (e.g. "web", "ai") |
| category * | string | Category slug within the group (e.g. "frameworks") |
{
"name": "toolbox_category",
"description": "List projects in a Toolbox category",
"inputSchema": {
"type": "object",
"required": [
"group",
"category"
],
"properties": {
"sort": {
"type": "string",
"description": "Ordering: \"name\" (alphabetical) or \"downloads\"; defaults to popularity order"
},
"group": {
"type": "string",
"description": "Group slug (e.g. \"web\", \"ai\")"
},
"category": {
"type": "string",
"description": "Category slug within the group (e.g. \"frameworks\")"
}
}
},
"annotations": {}
}List categories in a Toolbox group
| Parameter | Type | Description |
|---|---|---|
| group * | string | Group slug (e.g. "web", "ai") |
{
"name": "toolbox_group",
"description": "List categories in a Toolbox group",
"inputSchema": {
"type": "object",
"required": [
"group"
],
"properties": {
"group": {
"type": "string",
"description": "Group slug (e.g. \"web\", \"ai\")"
}
}
},
"annotations": {}
}Browse the Elixir Toolbox taxonomy
No parameters.
{
"name": "toolbox_groups",
"description": "Browse the Elixir Toolbox taxonomy",
"inputSchema": {
"type": "object"
},
"annotations": {}
}Search packages through Elixir Toolbox
| Parameter | Type | Description |
|---|---|---|
| query * | string | Search query string |
{
"name": "toolbox_search",
"description": "Search packages through Elixir Toolbox",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Search query string"
}
}
},
"annotations": {}
}List trending Elixir packages
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of projects to return |
{
"name": "toolbox_trending",
"description": "List trending Elixir packages",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"description": "Maximum number of projects to return"
}
}
},
"annotations": {}
}Check mix.exs dependencies for upgrades
| Parameter | Type | Description |
|---|---|---|
| deps * | string | Mix.exs deps list as text, e.g. {:phoenix, "~> 1.7"}, {:ecto, "~> 3.10"} |
{
"name": "upgrade_check",
"description": "Check mix.exs dependencies for upgrades",
"inputSchema": {
"type": "object",
"required": [
"deps"
],
"properties": {
"deps": {
"type": "string",
"description": "Mix.exs deps list as text, e.g. {:phoenix, \"~> 1.7\"}, {:ecto, \"~> 3.10\"}"
}
}
},
"annotations": {}
}List all package versions
| Parameter | Type | Description |
|---|---|---|
| name * | string | Package name on hex.pm |
{
"name": "versions",
"description": "List all package versions",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Package name on hex.pm"
}
}
},
"annotations": {}
}Package data for the Elixir and Erlang ecosystem: hex.pm packages, releases, owners and downloads; HexDocs module and function documentation; OSV.dev security advisories; and the curated Elixir Toolbox catalog. Use it when choosing, evaluating, upgrading or auditing a Hex dependency, and to read a package's API on HexDocs instead of recalling it. Where to start: - Find packages: search, toolbox_search, toolbox_groups, toolbox_trending. - Evaluate one: health, then audit, compare, alternatives or dep_tree. - A project's dependencies: audit_mix_deps and upgrade_check take the deps list from mix.exs as text. - API lookups: docs lists a package's modules, search_docs finds an item, doc_item returns a module's documentation. Pass the version the project locks. Resources: hex://{name}/info, hex://{name}/readme, hex://{name}/docs, toolbox://groups, toolbox://{group}/{category}.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.