search

Pack: trakt · Endpoint: https://gateway.pipeworx.io/trakt/mcp

Full-text search across Trakt’s movie, TV show, episode, person, and list catalog. Returns ranked matches with Trakt IDs usable in get_movie/get_show. Filter by type, year range, genre, country, or language.

Parameters

NameTypeRequiredDescription
querystringyesSearch term
typestringnomovie | show | episode | person | list (comma-sep ok)
fieldsstringnoRestrict matched fields (title | tagline | overview | people | translations | aliases | …)
yearsstringnoRestrict to year/range (e.g., “1999” or “1999-2005”)
genresstringnoGenre slug filter (comma-sep ok)
countriesstringnoCountry code filter (comma-sep)
languagesstringnoLanguage code filter
pagenumberno1-based page (default 1)
limitnumberno1-100 (default 10)

Example call

Arguments

{
  "query": "The Matrix"
}

curl

curl -X POST https://gateway.pipeworx.io/trakt/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"The Matrix"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('search', {
  "query": "The Matrix"
});

More examples

{
  "query": "Breaking Bad",
  "type": "show",
  "years": "2008-2013",
  "limit": 5
}

Response shape

Always returns: items, count

FieldTypeDescription
itemsarrayArray of search results with score and matched object
countintegerNumber of items returned.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "Array of search results with score and matched object",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Result type: movie, show, episode, person, or list"
          },
          "score": {
            "type": "number",
            "description": "Relevance score for the match"
          },
          "movie": {
            "type": "object",
            "description": "Movie object if type is movie"
          },
          "show": {
            "type": "object",
            "description": "Show object if type is show"
          },
          "episode": {
            "type": "object",
            "description": "Episode object if type is episode"
          },
          "person": {
            "type": "object",
            "description": "Person object if type is person"
          },
          "list": {
            "type": "object",
            "description": "List object if type is list"
          }
        },
        "required": [
          "type",
          "score"
        ]
      }
    },
    "count": {
      "type": "integer",
      "description": "Number of items returned."
    }
  },
  "required": [
    "items",
    "count"
  ]
}

Connect

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

{
  "mcpServers": {
    "trakt": {
      "url": "https://gateway.pipeworx.io/trakt/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026