search_sequence

Pack: oeis · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/search_sequence for the schema, then POST the same URL with its arguments for the data.

Search the OEIS (On-Line Encyclopedia of Integer Sequences), the authoritative database of integer sequences. Identify a sequence from its first terms by passing a comma-separated list of integers (e.g. “1,1,2,3,5,8” finds the Fibonacci numbers), look up a specific sequence by A-number (e.g. “A000045”), or search free-text keywords (e.g. “prime gaps”). Returns up to 10 matching sequences per page with their A-number, name, terms, keywords, author, and offset. Use the start argument to paginate (10 results at a time).

Parameters

NameTypeRequiredDescription
querystringyesA comma-separated list of integers (e.g. “1,1,2,3,5,8”), an A-number (e.g. “A000045”), or free-text keywords (e.g. “prime gaps”).
startnumbernoPagination offset; results come 10 at a time. Default 0.

Example call

Arguments

{
  "query": "1,1,2,3,5,8"
}

curl

curl -X POST https://gateway.pipeworx.io/oeis/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_sequence","arguments":{"query":"1,1,2,3,5,8"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search_sequence', {
  "query": "1,1,2,3,5,8"
});

More examples

{
  "query": "A000045"
}
{
  "query": "prime gaps",
  "start": 0
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the oeis pack
{
  "mcpServers": {
    "oeis": {
      "url": "https://gateway.pipeworx.io/oeis/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 22, 2026