io.github.daedalus/mcp-oeis

Official registry Other

MCP server for the OEIS (Online Encyclopedia of Integer Sequences) API

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

PYPI package mcp-oeis
Claude Code
claude mcp add mcp-oeis -- uvx mcp-oeis==0.1.0
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "mcp-oeis": {
            "command": "uvx",
            "args": [
                "mcp-oeis==0.1.0"
            ]
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. mcp-oeis
  2. Install
  3. Usage
  4. MCP Tools
  5. Development

mcp-oeis

MCP server for the OEIS (Online Encyclopedia of Integer Sequences) API

mcp-name: io.github.daedalus/mcp-oeis

Install

pip install mcp-oeis

Usage

As an MCP Server

Configure in your MCP settings:

{
  "mcpServers": {
    "mcp-oeis": {
      "command": "mcp-oeis"
    }
  }
}
Python API
from mcp_oeis import mcp

# Get a sequence by ID
result = mcp.get_sequence_by_id("A000109")
print(result["terms"])  # [1, 1, 1, 2, 5, 14, ...]

# Search by terms
results = mcp.search_by_terms([1, 1, 2, 3, 5, 8])
print(results[0]["name"])  # "Fibonacci numbers"

# Search by name
results = mcp.search_by_name("prime")
print(results[0]["id"])  # "A000040"

MCP Tools

get_sequence_by_id

Get a sequence by its OEIS ID (e.g., "A000109" for simplicial polyhedra, "A000045" for Fibonacci).

search_by_terms

Search OEIS sequences by providing integer terms. For example, searching [1,1,2,3,5,8] will find the Fibonacci sequence.

search_by_name

Search OEIS sequences by name or keyword. For example, searching "Fibonacci" will find Fibonacci-related sequences.

Development

git clone https://github.com/daedalus/mcp-oeis.git
cd mcp-oeis
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/

Frequently asked questions

What is io.github.daedalus/mcp-oeis?

MCP server for the OEIS (Online Encyclopedia of Integer Sequences) API

How do I install io.github.daedalus/mcp-oeis?

It runs on your machine. In Claude Code: claude mcp add mcp-oeis -- uvx mcp-oeis==0.1.0. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.daedalus/mcp-oeis need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is io.github.daedalus/mcp-oeis open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains io.github.daedalus/mcp-oeis?

It is published by daedalus. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.