Skip to content
Eden Engine

Rick and Morty Location Search by Name

rickandmortyapi/search-locations

Searches The Rick and Morty API for locations whose name contains the text you give, 20 per page, and returns the paging info (match count, page count, next and previous page links) with the locations on the requested page. A search with no match is a validation error rather than an empty page. Data from rickandmortyapi.com, served by Eden Engine; not an official Rick and Morty API 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

The Rick and Morty API

Data from The Rick and Morty API (https://rickandmortyapi.com). Served by Eden Engine; not an official Rick and Morty API 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: "rickandmortyapi/search-locations" })

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

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "rickandmortyapi/search-locations", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "rickandmortyapi/search-locations", 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 25, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "Text the location name contains (case-insensitive)."
    },
    "page": {
      "type": "integer",
      "default": 1,
      "maximum": 1000,
      "minimum": 1,
      "description": "Page number, 1-based; 20 results per page."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "info",
    "results"
  ],
  "properties": {
    "info": {
      "type": "object",
      "required": [
        "count",
        "pages"
      ],
      "properties": {
        "next": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL of the next page; null on the last page."
        },
        "prev": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL of the previous page; null on the first page."
        },
        "count": {
          "type": "integer",
          "description": "Matches across all pages."
        },
        "pages": {
          "type": "integer",
          "description": "Number of pages."
        }
      },
      "description": "Paging info.",
      "additionalProperties": true
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "description": "Location id."
          },
          "url": {
            "type": "string",
            "description": "The location's own URL."
          },
          "name": {
            "type": "string",
            "description": "Name."
          },
          "type": {
            "type": "string",
            "description": "Type."
          },
          "created": {
            "type": "string",
            "description": "When the record was created, UTC."
          },
          "dimension": {
            "type": "string",
            "description": "Dimension."
          },
          "residents": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "A character URL."
            },
            "description": "Character URLs of residents."
          }
        },
        "description": "A location.",
        "additionalProperties": true
      },
      "description": "The locations on this page (up to 20)."
    }
  },
  "description": "One page of locations.",
  "additionalProperties": true
}