search_sequence

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

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

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":{}}}'

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build June 8, 2026