get_location

Pack: rick-and-morty · Endpoint: https://gateway.pipeworx.io/rick-and-morty/mcp

Get a single Rick and Morty location/planet/dimension by ID. Returns name, type, dimension, and residents.

Parameters

NameTypeRequiredDescription
idnumberyesLocation ID. Example: 1 = Earth (C-137).

Example call

curl -X POST https://gateway.pipeworx.io/rick-and-morty/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_location","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "rick-and-morty": {
      "url": "https://gateway.pipeworx.io/rick-and-morty/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 12, 2026