Get Hex Package
hexpm/get-package
Returns one Hex package: description, licences, links, latest and latest stable version, download counts, owner usernames, retired versions with reasons, the number of security advisories, config snippets for mix.exs, rebar.config and erlang.mk, and the newest 50 releases. Package metadata from Hex, https://hex.pm, the Elixir and Erlang package manager, reduced to the fields listed (e-mail addresses and security-advisory texts are not returned) and served by Eden Engine; not an official Hex or Six Colors product.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.
Data source
Package metadata from Hex, https://hex.pm, the Elixir and Erlang package manager, reduced to the fields listed (e-mail addresses and security-advisory texts are not returned) and served by Eden Engine; not an official Hex or Six Colors product.
Use it
Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.
Connect once and your AI can find and run this tool, and any other it needs.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "hexpm/get-package" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "hexpm/get-package" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "hexpm/get-package", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "hexpm/get-package", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 26, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 100,
"minLength": 1,
"description": "Hex package name, lower case with underscores, for example phoenix or ecto_sql."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Package name."
},
"links": {
"type": "object",
"description": "Link name to URL, for example GitHub or Changelog.",
"additionalProperties": true
},
"owners": {
"type": "array",
"items": {
"type": "string",
"description": "A username."
},
"description": "Owner usernames; e-mail addresses are not returned."
},
"created": {
"type": [
"string",
"null"
],
"description": "First published, UTC."
},
"updated": {
"type": [
"string",
"null"
],
"description": "Last updated, UTC."
},
"docs_url": {
"type": [
"string",
"null"
],
"description": "Documentation on hexdocs.pm."
},
"html_url": {
"type": [
"string",
"null"
],
"description": "Package page on hex.pm."
},
"licenses": {
"type": "array",
"items": {
"type": "string",
"description": "A licence, usually an SPDX id."
},
"description": "Licences."
},
"releases": {
"type": "array",
"items": {
"type": "object",
"properties": {
"version": {
"type": [
"string",
"null"
],
"description": "Version."
},
"has_docs": {
"type": [
"boolean",
"null"
],
"description": "True when docs are published."
},
"published": {
"type": [
"string",
"null"
],
"description": "Publish time, UTC."
}
},
"description": "A release.",
"additionalProperties": true
},
"description": "Newest 50 releases, newest first."
},
"downloads": {
"type": "object",
"properties": {
"all": {
"type": [
"integer",
"null"
],
"description": "Downloads since the package was published."
},
"day": {
"type": [
"integer",
"null"
],
"description": "Downloads in the last day."
},
"week": {
"type": [
"integer",
"null"
],
"description": "Downloads in the last 7 days."
},
"recent": {
"type": [
"integer",
"null"
],
"description": "Downloads in the last 90 days."
}
},
"description": "Download counts.",
"additionalProperties": true
},
"repository": {
"type": [
"string",
"null"
],
"description": "Hex repository, hexpm for the public one."
},
"description": {
"type": [
"string",
"null"
],
"description": "Description."
},
"release_count": {
"type": [
"integer",
"null"
],
"description": "Number of releases."
},
"latest_version": {
"type": [
"string",
"null"
],
"description": "Latest version, including pre-releases."
},
"config_snippets": {
"type": "object",
"description": "Dependency line per build tool: mix.exs, rebar.config, erlang.mk.",
"additionalProperties": true
},
"releases_omitted": {
"type": "integer",
"description": "Releases older than the 50 listed."
},
"retired_versions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"reason": {
"type": [
"string",
"null"
],
"description": "renounced, security, deprecated, invalid or other."
},
"message": {
"type": [
"string",
"null"
],
"description": "Free-text note."
},
"version": {
"type": "string",
"description": "Retired version."
}
},
"description": "A retired release.",
"additionalProperties": true
},
"description": "Retired releases."
},
"latest_stable_version": {
"type": [
"string",
"null"
],
"description": "Latest stable version."
},
"security_advisory_count": {
"type": "integer",
"description": "Number of security advisories Hex lists for the package. The advisory texts are not returned."
}
},
"additionalProperties": true
}