Mcp Oeis

io.github.daedalusPublished by GitHub account daedalusv0.1.0Updated Oct 24, 2026

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

VerifiedSTDIODesktop onlyWeb Search & ScrapingData & Analytics

Overview

AI-generated overview

A local MCP server that lets an assistant look up and search integer sequences in the OEIS (Online Encyclopedia of Integer Sequences).

What you can do
Look up a sequence by its OEIS ID and get its terms and details, such as A000045 for Fibonacci numbers. Search OEIS sequences by supplying integer terms, for example 1, 1, 2, 3, 5, 8 to find the Fibonacci sequence. Search OEIS sequences by name or keyword, such as prime or Fibonacci.
When to use it
Useful when working with number sequences, combinatorics, or mathematical research and you want the assistant to identify a sequence from its terms or find related OEIS entries by name.
Requirements
Runs as a local process installed from PyPI with pip install mcp-oeis, so Python and pip are needed. It is configured in MCP settings with the mcp-oeis command. No authentication, environment variables, or headers are declared. Network access to the OEIS API is implied by its purpose.
Before you install
Queries are sent to the external OEIS API, so search terms and sequence values leave your machine. No credentials, payments, or write actions are declared.

Installation

In SourceWeft

  1. Open Mcp Oeis in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

mcp-oeis

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

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

[PyPI] [Python] [Ruff]

Install

bash
pip install mcp-oeis

Usage

As an MCP Server

Configure in your MCP settings:

json
{  "mcpServers": {    "mcp-oeis": {      "command": "mcp-oeis"    }  }}

Python API

python
from mcp_oeis import mcp
# Get a sequence by IDresult = mcp.get_sequence_by_id("A000109")print(result["terms"])  # [1, 1, 1, 2, 5, 14, ...]
# Search by termsresults = mcp.search_by_terms([1, 1, 2, 3, 5, 8])print(results[0]["name"])  # "Fibonacci numbers"
# Search by nameresults = 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

bash
git clone https://github.com/daedalus/mcp-oeis.gitcd mcp-oeispip install -e ".[test]"
# run testspytest
# formatruff format src/ tests/
# lintruff check src/ tests/
# type checkmypy src/

Source: README.md at commit 20497c2

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts