Skip to content
Eden Engine

Search Hex Packages

hexpm/search-packages

Searches the Hex package registry (Elixir and Erlang) by name, description or prefix and returns up to 100 packages per page with description, licences, latest version, release count, download counts and links, sorted by name, downloads, publication or update time. 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.

activeper callv1

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

Hex

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.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "hexpm/search-packages" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "hexpm/search-packages" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "hexpm/search-packages", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "hexpm/search-packages", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not 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.

ChargePrice
Per call
$0.0026
Updated
Oct 26, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "q"
  ],
  "properties": {
    "q": {
      "type": "string",
      "pattern": "\\S",
      "maxLength": 100,
      "minLength": 1,
      "description": "Search text or a field query, for example json, name:phoenix* or description:parser."
    },
    "page": {
      "type": "integer",
      "default": 1,
      "maximum": 1000,
      "minimum": 1,
      "description": "Page number, starting at 1; every page holds up to 100 packages."
    },
    "sort": {
      "enum": [
        "name",
        "recent_downloads",
        "total_downloads",
        "inserted_at",
        "updated_at"
      ],
      "type": "string",
      "default": "name",
      "description": "name is A to Z; recent_downloads and total_downloads are most first; inserted_at is newest published first; updated_at is most recently updated first."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "items"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "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
          },
          "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."
          },
          "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."
          },
          "latest_stable_version": {
            "type": [
              "string",
              "null"
            ],
            "description": "Latest stable version."
          }
        },
        "description": "A package.",
        "additionalProperties": true
      },
      "description": "Matching packages, up to 100; fewer than 100 means the last page."
    }
  },
  "additionalProperties": true
}