mcp-oeis
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-oeis search for sequence starting with 1,1,2,3,5,8"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-oeis
MCP server for the OEIS (Online Encyclopedia of Integer Sequences) API
mcp-name: io.github.daedalus/mcp-oeis
Install
pip install mcp-oeisRelated MCP server: ls-apis-mcp
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/Available Tools
3 toolsget_sequence_by_idA
Get a sequence by its OEIS ID (e.g., "A000109" for simplicial polyhedra, "A000045" for Fibonacci).
Inputs: id (required). Returns: object
search_by_nameB
Search OEIS sequences by name or keyword.
For example, searching "Fibonacci" will find Fibonacci-related sequences.
Inputs: query (required), max_results. Returns: result
search_by_termsA
Search OEIS sequences by providing integer terms.
For example, searching [1,1,2,3,5,8] will find the Fibonacci sequence.
Inputs: terms (required), max_results. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct purpose: fetching by ID, searching by name, and searching by integer terms. No overlap or confusion possible.
All tool names follow a consistent verb_noun pattern with snake_case (get_sequence_by_id, search_by_name, search_by_terms).
Three tools cover the essential operations for an OEIS server: direct retrieval by ID and two search methods (by name and by terms). This is well-scoped without unnecessary bloat.
The tool surface covers the primary use cases (fetching a specific sequence and searching). A minor gap is the lack of batch retrieval or filtering by other metadata (e.g., author), but the core functionality is present.
Maintenance
Related MCP Connectors
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
MCP server for the Seline Analytics API
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
Related MCP Servers
AlicenseBqualityNot gradedmaintenanceMCP Server for interacting with Old School RuneScape Wiki API and game data files, providing tools to search the OSRS Wiki and access game data definitions through the Model Context Protocol.21990 npm1-- MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for querying the NuGet package registry. Enables searching packages and retrieving metadata, versions, and dependencies.309 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables searching and retrieving integer sequences from the On-Line Encyclopedia of Integer Sequences by passing a list of terms, an A-number, or free-text keywords. Returns full sequence records including names, terms, comments, formulas, keywords, offset, and author, with paginated search results.341 npmMIT