Oeis MCP Server
概览
作者提供的说明(英文原文)
Identify integer sequences by terms, search the OEIS, read formulas, programs, b-files, cross-refs.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i3 项中通过 3 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 93/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 电脑或云端
- 传输方式: stdio, Streamable HTTP
- 分类: 文档、表格与办公
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:3 项中通过 3 项
- 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
- 可以做 6 件事(工具) oeis_identify_sequence, oeis_search_sequences, oeis_get_sequence, oeis_get_terms …
- 需要你自己填写:
MCP_LOG_LEVEL,OEIS_QUEUE_MAX_WAIT_MS
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
- 打开 Settings → Connectors
- 点击 Add custom connector
- 粘贴下面的地址,然后点击 Add
- 如果要求登录,请登录作者的服务
https://oeis.caseyjhand.com/mcp或者在你的电脑上运行
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"oeis": {
"command": "npx",
"args": [
"-y",
"@cyanheads/oeis-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "your-value",
"OEIS_QUEUE_MAX_WAIT_MS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http oeis https://oeis.caseyjhand.com/mcp或者在你的电脑上运行
claude mcp add oeis --env MCP_LOG_LEVEL=your-value --env OEIS_QUEUE_MAX_WAIT_MS=your-value -- npx -y @cyanheads/oeis-mcp-server运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"oeis": {
"url": "https://oeis.caseyjhand.com/mcp"
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"oeis": {
"command": "npx",
"args": [
"-y",
"@cyanheads/oeis-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "your-value",
"OEIS_QUEUE_MAX_WAIT_MS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"oeis": {
"type": "http",
"url": "https://oeis.caseyjhand.com/mcp"
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"oeis": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/oeis-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "your-value",
"OEIS_QUEUE_MAX_WAIT_MS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
- 打开网页版 ChatGPT → Settings → Connectors (Apps)
- 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
- 粘贴下面的地址,起个名字,然后保存
- 如果要求登录,请登录作者的服务
https://oeis.caseyjhand.com/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
MCP_LOG_LEVELenvSets the minimum log level for output (e.g., 'debug', 'info', 'warn').OEIS_QUEUE_MAX_WAIT_MSenvLongest a call waits in the oeis.org request queue (paced to one start per 10 s) before failing with RateLimited and retryAfter, in milliseconds.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
工具名称和描述与服务器在 2026年11月7日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
oeis_identify_sequenceIdentify integer sequences that contain a run of consecutive terms, e.g. "1, 2, 5, 14, 42". Returns up to 10 matches per page in OEIS relevance order, each with the index n at which the supplied run begins. For the best hit rate supply about 6 terms and leave off the first one or
oeis_search_sequencesSearch the OEIS using its query syntax: plain words, "quoted phrases", comma-separated terms, prefixes (keyword:, author:, name:, comment:, formula:, program:, xref:, id:), | for OR, and a leading - to exclude. Returns up to 10 summaries per page. For identifying a sequence from
oeis_get_sequenceFetch one OEIS entry by A-number. Returns the name, data-line terms, offset, keywords, author, dates, and the sections: comments, formulas (recurrences and generating functions), examples, programs (Maple, Mathematica, PARI, Python, …), references, links, cross-references, and ex
oeis_get_termsList terms a(n) of a sequence with their indices n. Reads the entry's b-file when it has one — often thousands of terms beyond the data line — and otherwise the data line itself. Values are exact decimal strings of any size. A slice stops at limit terms (at most 1000 per call), a
oeis_get_cross_refsList sequences related to an OEIS entry. direction outgoing returns the A-numbers named in the entry's cross-reference (Cf.) lines, with any parenthetical note beside each; direction incoming returns entries that mention this A-number anywhere. Each row carries the related sequen
oeis_list_referenceLook up OEIS vocabulary used by the other tools: keyword flags (nonn, core, tabl, cons, …), search syntax (prefixes, operators, wildcards, sort orders, paging window), and identifier conventions (A-numbers, legacy M/N numbers, offsets, b-files).
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 cyanheads 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- ✓ 通过
端点有响应
在 154 毫秒内响应(HTTP 200)
- – 不适用
使用 OAuth 登录
无需登录
- ✓ 通过
工具描述中没有隐藏指令
已读取 6 个工具描述,未发现针对 AI 的隐藏指令
与“文档、表格与办公”中的其他服务器比较i
- 星标数多于此分类中其他 3588 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3588 个服务器的 60% 更新
- 基础检查结果等于或优于此分类中其他 3588 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Oeis MCP Server 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.1.3)于21天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
有什么可以替代它?
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Excel MCP Server
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP Server for Excel
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
@cyanheads/oeis-mcp-server Identify integer sequences by terms, search the OEIS, read formulas, programs, b-files, cross-refs via MCP. STDIO or Streamable HTTP. 6 Tools • 1 Resource
Public Hosted Server: https://oeis.caseyjhand.com/mcp
Overview
Integer sequences from the On-Line Encyclopedia of Integer Sequences (OEIS). Identify a sequence from a few observed terms, search with OEIS's own query syntax, read an entry's formulas and programs, page through extended terms from its b-file, and walk its cross-references. Every result links to its oeis.org page. No API key required.
Tools
| Tool | Description |
|---|---|
oeis_identify_sequence | Identify sequences that contain a run of consecutive terms, in OEIS relevance order, with the index where the run begins |
oeis_search_sequences | Search with OEIS query syntax: words, quoted phrases, term lists, and prefixes such as keyword: and author: |
oeis_get_sequence | Fetch one entry by A-number: terms, offset, keywords, formulas, programs, comments, references, links, and cross-references |
oeis_get_terms | List terms a(n) with their indices from the entry's b-file, or from its data line when it has none |
oeis_get_cross_refs | List the sequences an entry cross-references, or the entries that mention it |
oeis_list_reference | Decode keyword flags, search syntax, and identifier and offset conventions, with no upstream call |
Resources
| Resource | Description |
|---|---|
oeis://sequence/{aNumber} | One entry by A-number as JSON, always whole |
The same record is available through oeis_get_sequence for clients that only call tools.
Capability reference
oeis_identify_sequence tool
terms: up to 60 consecutive terms separated by commas or spaces (a bracketed list or a trailing...is accepted), each an integer of at most 200 digits or_for one unknown term;matchSigns(defaultfalse) ignores signs unless set- Up to 10 candidates per page,
start0–100 in steps of 10; each row carries theoeis_search_sequencesrow fields plusmatchStartIndex, the n where the run begins in that entry's data line (absent when the run isn't there) - No match and "too many results" both return an empty page; the
noticesays which and how to retry (drop leading terms, divide out a common factor, or add terms). OEIS matches a run only within each entry's data line (at most about 270 characters), never its b-file, and a zero-hit notice says so when every nonzero term has 10 or more digits, five or more terms of 4 or more digits lie within 10% of each other, or the run passes 270 characters
oeis_search_sequences tool
query(1–1,000 characters) is sent as written: words,"quoted phrases", term lists, prefixes such askeyword:,author:,name:,formula:,xref:, andid:,|for OR, and a leading-to excludesort:relevance(default),number,created, ormodified; 10 per page,start0–100 in steps of 10- Rows carry
name,terms,offset/firstIndex,keywords,author,legacyIds,modified(the last edit, ISO 8601 with offset), andurl, inoeis_get_sequence's formats;authorandlegacyIdsare absent where OEIS has none - Reports
totalCountandeffectiveQuery, the query as OEIS parsed it. A query OEIS parses as one run of terms (effectiveQueryreadsseq:orsigned:and the terms, as for bare numbers separated by commas) is matched within each entry's data line, as inoeis_identify_sequence, and its zero-hit notice names that limit under the same conditions - With spaces alone between numbers, OEIS starts a new run at a negative term after the first and does not join fewer than three numbers; when
effectiveQueryshows that split, the notice says so and gives the terms joined by commas to search as one run
oeis_get_sequence tool
- Returns
name,terms,offset/firstIndex,keywords,author,legacyIds,referenceCount,revision,created/modified,url, andbFileUrl, plus eight sections:comments,formulas,examples,programs,references,links,crossReferences,extensions - When the sections exceed 24,000 characters of serialized JSON,
kind: "outline"returns the core fields and a sizedsectionslist; passsections(e.g.["formulas", "programs"]) to get the chosen ones - A selection past 100,000 bytes comes back in parts cut between whole items; pass each part's
nextFromItemasfromItem, with the samesections, for the next. AfromItemnaming a section not insectionsfails asfrom_item_not_selected - An unknown A-number fails as
sequence_not_found; withdrawn (dead), reserved, and recycled entries come back with anotice
oeis_get_terms tool
fromIndex(default: the first available index) andlimit(default 100; one call returns at most 1,000 terms, so a largerlimitis served as 1,000); a slice also stops at about 100,000 bytes or at the end of a 1 MiB part of the b-file, andnextFromIndexcontinues itsource: "bfile"reads the entry's b-file in 1 MiB parts, so afromIndexpast the first 1 MiB costs one or two more paced requests;bFileCut: truemeans the file goes on pastlastAvailableIndex.source: "data"means the entry has no b-file and the terms are its data line- Terms come back as
{ n, value },valuean exact decimal string; an unknown A-number fails assequence_not_found - A b-file line that is not blank, a
#comment, or ann a(n)pair is skipped, and thenoticesays how many; a b-file that holds no pair at all fails asupstream_unparseableand is not cached
oeis_get_cross_refs tool
direction: "outgoing"(default) lists the A-numbers named in the entry's cross-reference lines, with thenotewritten beside each and thelinesverbatim;"incoming"lists the entries that mention the A-number- 10 rows per page,
start0–100 in steps of 10; every row carriesurl, and resolved rows add the name, terms, offset, keywords, author, legacy IDs, and last edit (modified) - If the name lookup for an outgoing page is rate-limited, unavailable, or times out, rows come back
resolved: falsewith a retry notice instead of failing;sequence_not_foundapplies tooutgoingonly
oeis_list_reference tool
topic:keywords(flags such asnonn,core,tabl,cons),search_syntax(prefixes, operators, wildcards, sort orders, paging), oridentifiers(A-numbers, legacy M/N numbers, offsets, b-files)- Returns
entries(name,description) andnotesfrom static tables
oeis://sequence/{aNumber} resource
- The full entry as
application/json: the recordoeis_get_sequencereturns withkind: "full", never outlined aNumbertakes the same forms as the tools (oeis://sequence/A108reads A000108); an unknown A-number fails assequence_not_found
Features
Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
OEIS-specific:
- One paced, cached oeis.org client (see Pacing and caching); searches tell "no results" apart from "too many results" and report the match total
- Forgiving A-numbers:
A000045,a000045,A45,45, and an oeis.org sequence URL all resolve in every tool; a legacy M/N book number is pointed tooeis_search_sequences - Exact terms: every term and b-file value is a decimal string, so values past 2^53 keep every digit
- Pasted term runs are normalized: brackets, a trailing
..., the Unicode minus sign, and mixed comma and space separators
Agent-friendly output:
- Paging context on every page (
truncated,shown,cap, plustotalCountandeffectiveQuerywhere OEIS reports them) and anoticethat says how to narrow or continue - Typed failures with recovery hints:
sequence_not_found,from_item_not_selected,upstream_unparseable,pacer_shed, andupstream_rate_limited, the rate-limit errors carryingretryAfterwhen one is known - Discriminated outputs (
kind,source, per-rowresolved), so callers branch on data, not string parsing - Every record and row carries its
https://oeis.org/A######URL; contributor-written text renders as code spans and code fences, so a markdown client shows formulas and names exactly as written, and onlyhttpandhttpslink URLs are kept
Pacing and caching
oeis.org asks automated clients to wait 10 seconds between requests. The server sends one upstream request at a time and starts each at least 10 seconds after the last, across every tool. Results are cached in memory, so a repeated lookup returns at once and costs oeis.org nothing: records for 24 hours, or until a search result shows a later edit (then revalidated with a conditional request), search pages for 1 hour, and b-file parts for 7 days. An entry's cached "no b-file" answer is dropped as soon as a fetched record lists a b-file.
A call with nothing cached waits its turn in the queue. When the wait would pass OEIS_QUEUE_MAX_WAIT_MS (default 30,000 ms), the call fails with pacer_shed and a retryAfter instead of hanging. If oeis.org answers 429, the server holds every queued call back before trying again, and reports upstream_rate_limited once its retries are spent. The pace is per server process.
Known limitations
- Anonymous paging is capped upstream at 110 results per query (
start≤ 100); A000045's 6,161 incoming references, for example, are reachable only through their first 110. - A query OEIS judges too broad returns no rows ("Too many results"), which is common f
只显示了开头部分;其余内容请在仓库中阅读