tc39-mcp is an MCP server published by io.github.xyzzylabs, hosted at mcp.xyzzylabs.ai. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 17 tools, including spec.about, clause.get, clause.list, spec.search, proposal.list.
Independent MCP server for the TC39 specs (ECMA-262 + ECMA-402): clauses, search, diffs, history.
3 connections through 5 shared values. Tap any node.
Self-description of this MCP server: package name + version, per-snapshot pin metadata (sha, fetched_at, biblio_commit, clause_count) for every supported (spec, edition), plus test262 + proposals index headers when present.
No parameters.
{
"name": "spec.about",
"description": "Self-description of this MCP server: package name + version, per-snapshot pin metadata (sha, fetched_at, biblio_commit, clause_count) for every supported (spec, edition), plus test262 + proposals index headers when present.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}Fetch a parsed TC39 clause as structured JSON. `spec` selects '262' (default) or '402'. `edition` defaults to 'latest'. `at: '<sha>'` pins to a historical main snapshot (only valid for edition='main'); omit to query the live snapshot.
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| Parameter | Type | Description |
|---|---|---|
| at | string | Optional historical SHA pin (hex, 4-40 chars). Only valid when edition='main'; released editions have no per-SHA history to address. |
| id * | string | |
| spec | string | one of ["262","402"] |
| edition | string |
{
"name": "clause.get",
"description": "Fetch a parsed TC39 clause as structured JSON. `spec` selects '262' (default) or '402'. `edition` defaults to 'latest'. `at: '<sha>'` pins to a historical main snapshot (only valid for edition='main'); omit to query the live snapshot.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"at": {
"type": "string",
"description": "Optional historical SHA pin (hex, 4-40 chars). Only valid when edition='main'; released editions have no per-SHA history to address."
},
"id": {
"type": "string"
},
"spec": {
"enum": [
"262",
"402"
],
"type": "string"
},
"edition": {
"type": "string"
}
}
}
}List parsed spec clauses with optional filters (kind, section prefix, has_algorithm). `spec` selects '262' or '402'. `at: '<sha>'` queries a historical main snapshot.
| Parameter | Type | Description |
|---|---|---|
| at | string | |
| kind | string | |
| spec | string | one of ["262","402"] |
| limit | number | |
| edition | string | |
| section | string | |
| has_algorithm | boolean |
{
"name": "clause.list",
"description": "List parsed spec clauses with optional filters (kind, section prefix, has_algorithm). `spec` selects '262' or '402'. `at: '<sha>'` queries a historical main snapshot.",
"inputSchema": {
"type": "object",
"properties": {
"at": {
"type": "string"
},
"kind": {
"type": "string"
},
"spec": {
"enum": [
"262",
"402"
],
"type": "string"
},
"limit": {
"type": "number"
},
"edition": {
"type": "string"
},
"section": {
"type": "string"
},
"has_algorithm": {
"type": "boolean"
}
}
}
}Search the parsed spec by clause id / aoid / title (+ step text with `search_steps`). Aoid-exact ranks first. `at: '<sha>'` searches a historical main snapshot.
| Parameter | Type | Description |
|---|---|---|
| at | string | |
| spec | string | one of ["262","402"] |
| limit | number | |
| query * | string | |
| edition | string | |
| search_steps | boolean |
{
"name": "spec.search",
"description": "Search the parsed spec by clause id / aoid / title (+ step text with `search_steps`). Aoid-exact ranks first. `at: '<sha>'` searches a historical main snapshot.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"at": {
"type": "string"
},
"spec": {
"enum": [
"262",
"402"
],
"type": "string"
},
"limit": {
"type": "number"
},
"query": {
"type": "string"
},
"edition": {
"type": "string"
},
"search_steps": {
"type": "boolean"
}
}
}
}List TC39 proposals from the static index (tc39/proposals). Filter by spec ('262'|'402'), stage ('0'|'1'|'2'|'2.7'|'3'|'finished'|'inactive'|'active'), champion (substring), or contains (name/slug substring).
| Parameter | Type | Description |
|---|---|---|
| spec | string | one of ["262","402"] |
| limit | number | |
| stage | string | |
| champion | string | |
| contains | string |
{
"name": "proposal.list",
"description": "List TC39 proposals from the static index (tc39/proposals). Filter by spec ('262'|'402'), stage ('0'|'1'|'2'|'2.7'|'3'|'finished'|'inactive'|'active'), champion (substring), or contains (name/slug substring).",
"inputSchema": {
"type": "object",
"properties": {
"spec": {
"enum": [
"262",
"402"
],
"type": "string"
},
"limit": {
"type": "number"
},
"stage": {
"type": "string"
},
"champion": {
"type": "string"
},
"contains": {
"type": "string"
}
}
}
}Fetch one TC39 proposal by slug (exact) or name (case-insensitive).
| Parameter | Type | Description |
|---|---|---|
| name * | string |
{
"name": "proposal.get",
"description": "Fetch one TC39 proposal by slug (exact) or name (case-insensitive).",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
}
}
}
}Query grammar productions captured from the spec's `<emu-grammar>` blocks. `{ nonterminal }` returns every production for that non-terminal (exact match); `{ contains }` filters by RHS / name substring; neither lists all non-terminals + their production counts. `include_sdo` folds in SDO-attached productions (off by default).
| Parameter | Type | Description |
|---|---|---|
| spec | string | one of ["262","402"] |
| limit | number | |
| edition | string | |
| contains | string | |
| include_sdo | boolean | |
| nonterminal | string |
{
"name": "spec.grammar",
"description": "Query grammar productions captured from the spec's `<emu-grammar>` blocks. `{ nonterminal }` returns every production for that non-terminal (exact match); `{ contains }` filters by RHS / name substring; neither lists all non-terminals + their production counts. `include_sdo` folds in SDO-attached productions (off by default).",
"inputSchema": {
"type": "object",
"properties": {
"spec": {
"enum": [
"262",
"402"
],
"type": "string"
},
"limit": {
"type": "number"
},
"edition": {
"type": "string"
},
"contains": {
"type": "string"
},
"include_sdo": {
"type": "boolean"
},
"nonterminal": {
"type": "string"
}
}
}
}List or fetch parsed `<emu-table>` content. `{ id }` returns exactly that table (full columns + rows); otherwise list table summaries, optionally narrowed by a `filter` substring over the caption or id.
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| spec | string | one of ["262","402"] |
| limit | number | |
| filter | string | |
| edition | string |
{
"name": "spec.tables",
"description": "List or fetch parsed `<emu-table>` content. `{ id }` returns exactly that table (full columns + rows); otherwise list table summaries, optionally narrowed by a `filter` substring over the caption or id.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"spec": {
"enum": [
"262",
"402"
],
"type": "string"
},
"limit": {
"type": "number"
},
"filter": {
"type": "string"
},
"edition": {
"type": "string"
}
}
}
}Index Syntax-Directed Operations by the grammar production they're defined on. `by: 'production'` (default) groups SDOs under each production; `by: 'sdo'` groups productions under each SDO title. `filter` narrows to keys containing a substring (case-insensitive).
| Parameter | Type | Description |
|---|---|---|
| by | string | one of ["production","sdo"] |
| spec | string | one of ["262","402"] |
| limit | number | |
| filter | string | |
| edition | string |
{
"name": "spec.sdo_index",
"description": "Index Syntax-Directed Operations by the grammar production they're defined on. `by: 'production'` (default) groups SDOs under each production; `by: 'sdo'` groups productions under each SDO title. `filter` narrows to keys containing a substring (case-insensitive).",
"inputSchema": {
"type": "object",
"properties": {
"by": {
"enum": [
"production",
"sdo"
],
"type": "string"
},
"spec": {
"enum": [
"262",
"402"
],
"type": "string"
},
"limit": {
"type": "number"
},
"filter": {
"type": "string"
},
"edition": {
"type": "string"
}
}
}
}Return the section tree (table of contents) for a parsed (spec, edition). `depth` caps how deep the tree descends (1 = top-level only); `under` limits the tree to descendants of one clause id.
| Parameter | Type | Description |
|---|---|---|
| spec | string | one of ["262","402"] |
| depth | number | |
| under | string | |
| edition | string |
{
"name": "clause.outline",
"description": "Return the section tree (table of contents) for a parsed (spec, edition). `depth` caps how deep the tree descends (1 = top-level only); `under` limits the tree to descendants of one clause id.",
"inputSchema": {
"type": "object",
"properties": {
"spec": {
"enum": [
"262",
"402"
],
"type": "string"
},
"depth": {
"type": "number"
},
"under": {
"type": "string"
},
"edition": {
"type": "string"
}
}
}
}Run spec.search across both ECMA-262 and ECMA-402 in one call and interleave hits by score. Each hit is tagged with the spec it came from. Use it when you don't know which spec defines a symbol. `search_steps` also matches algorithm step text.
| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| query * | string | |
| search_steps | boolean |
{
"name": "spec.global_search",
"description": "Run spec.search across both ECMA-262 and ECMA-402 in one call and interleave hits by score. Each hit is tagged with the spec it came from. Use it when you don't know which spec defines a symbol. `search_steps` also matches algorithm step text.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "number"
},
"query": {
"type": "string"
},
"search_steps": {
"type": "boolean"
}
}
}
}List the live (spec, edition, sha, fetched_at) snapshots the hosted Worker is serving from R2. Filter by `spec` ('262'|'402') or `edition` (e.g. 'main', 'es2026'). Historical SHA-pinned copies are reachable via `at:` on clause.get / spec.search but aren't enumerated here.
| Parameter | Type | Description |
|---|---|---|
| spec | string | one of ["262","402"] |
| edition | string |
{
"name": "spec.snapshots",
"description": "List the live (spec, edition, sha, fetched_at) snapshots the hosted Worker is serving from R2. Filter by `spec` ('262'|'402') or `edition` (e.g. 'main', 'es2026'). Historical SHA-pinned copies are reachable via `at:` on clause.get / spec.search but aren't enumerated here.",
"inputSchema": {
"type": "object",
"properties": {
"spec": {
"enum": [
"262",
"402"
],
"type": "string"
},
"edition": {
"type": "string"
}
}
}
}Resolve spec notation like `[[Prototype]]` (internal slot), `%Object.prototype%` (well-known intrinsic), or `~number~` (sigil enum): return clauses that mention or define it, ranked by occurrence with a bump for definition-y sections.
| Parameter | Type | Description |
|---|---|---|
| spec | string | one of ["262","402"] |
| limit | number | |
| edition | string | |
| notation * | string |
{
"name": "spec.symbol_resolve",
"description": "Resolve spec notation like `[[Prototype]]` (internal slot), `%Object.prototype%` (well-known intrinsic), or `~number~` (sigil enum): return clauses that mention or define it, ranked by occurrence with a bump for definition-y sections.",
"inputSchema": {
"type": "object",
"required": [
"notation"
],
"properties": {
"spec": {
"enum": [
"262",
"402"
],
"type": "string"
},
"limit": {
"type": "number"
},
"edition": {
"type": "string"
},
"notation": {
"type": "string"
}
}
}
}Enumerate the well-known intrinsics in a spec with their probable defining clauses. Driven from the canonical §6.1.7.4 WKI table when present (ECMA-262), else a `%X%` prose scan (e.g. ECMA-402). `filter` narrows by bare-name substring.
| Parameter | Type | Description |
|---|---|---|
| spec | string | one of ["262","402"] |
| limit | number | |
| filter | string | |
| edition | string |
{
"name": "spec.well_known_intrinsics",
"description": "Enumerate the well-known intrinsics in a spec with their probable defining clauses. Driven from the canonical §6.1.7.4 WKI table when present (ECMA-262), else a `%X%` prose scan (e.g. ECMA-402). `filter` narrows by bare-name substring.",
"inputSchema": {
"type": "object",
"properties": {
"spec": {
"enum": [
"262",
"402"
],
"type": "string"
},
"limit": {
"type": "number"
},
"filter": {
"type": "string"
},
"edition": {
"type": "string"
}
}
}
}Clause-level diff of one clause across two editions of a spec. Reports identical / modified / added / removed plus a field-level breakdown (title, signature, step count, reworded step indices, notes, crossrefs). `from` defaults to the latest stable release, `to` to main.
| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| to | string | |
| from | string | |
| spec | string | one of ["262","402"] |
{
"name": "spec.diff",
"description": "Clause-level diff of one clause across two editions of a spec. Reports identical / modified / added / removed plus a field-level breakdown (title, signature, step count, reworded step indices, notes, crossrefs). `from` defaults to the latest stable release, `to` to main.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"to": {
"type": "string"
},
"from": {
"type": "string"
},
"spec": {
"enum": [
"262",
"402"
],
"type": "string"
}
}
}
}For a clause id, return its outgoing references (clauses it cites) and/or incoming references (clauses that cite it — the back-reference index the parse alone doesn't expose). The reverse index is AOID-densified from step text. `direction`: 'in' | 'out' | 'both' (default). Outgoing also carries an `external` category: the clause's citations to external specs (Unicode, IETF, WHATWG) as resolvable URLs. Set `include_cross_spec: true` to also resolve outgoing references from ECMA-262 → ECMA-402 (or vice versa).
| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| spec | string | one of ["262","402"] |
| limit | number | |
| edition | string | |
| direction | string | one of ["in","out","both"] |
| include_cross_spec | boolean |
{
"name": "spec.crossrefs",
"description": "For a clause id, return its outgoing references (clauses it cites) and/or incoming references (clauses that cite it — the back-reference index the parse alone doesn't expose). The reverse index is AOID-densified from step text. `direction`: 'in' | 'out' | 'both' (default). Outgoing also carries an `external` category: the clause's citations to external specs (Unicode, IETF, WHATWG) as resolvable URLs. Set `include_cross_spec: true` to also resolve outgoing references from ECMA-262 → ECMA-402 (or vice versa).",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"spec": {
"enum": [
"262",
"402"
],
"type": "string"
},
"limit": {
"type": "number"
},
"edition": {
"type": "string"
},
"direction": {
"enum": [
"in",
"out",
"both"
],
"type": "string"
},
"include_cross_spec": {
"type": "boolean"
}
}
}
}Search the tc39/test262 conformance suite from its indexed front-matter. `query` AND-matches whitespace tokens (case-insensitive) across each test's description + path; `esid` prefix-matches the front-matter esid. Returns ranked hits (path, GitHub url at the indexed SHA, esid, description, features, flags), capped at `limit` (default 20). Supply at least one of `query` / `esid`.
| Parameter | Type | Description |
|---|---|---|
| esid | string | |
| limit | number | |
| query | string |
{
"name": "test262.search",
"description": "Search the tc39/test262 conformance suite from its indexed front-matter. `query` AND-matches whitespace tokens (case-insensitive) across each test's description + path; `esid` prefix-matches the front-matter esid. Returns ranked hits (path, GitHub url at the indexed SHA, esid, description, features, flags), capped at `limit` (default 20). Supply at least one of `query` / `esid`.",
"inputSchema": {
"type": "object",
"properties": {
"esid": {
"type": "string"
},
"limit": {
"type": "number"
},
"query": {
"type": "string"
}
}
}
}tc39-mcp serves read-only structured data from the TC39 specs (ECMA-262 + ECMA-402), tc39/test262, and tc39/proposals. Every response is deterministic over data pinned to specific upstream SHAs. Independent project — not an official Ecma International or TC39 publication. This is the hosted Cloudflare Worker deployment — 17 of the 19 tools (call tools/list for the set). The 2 stdio-only ones (spec.history, test262.get) are available via the stdio server (npx tc39-mcp). Common workflow: 1. `spec.about` — call first to see what SHAs and editions the server is serving. Returns per-snapshot pin metadata. 2. `spec.search` — find a clause from a name or symptom. Hits rank aoid-exact > aoid-substring > title > id; follow up with `clause.get { id }` to read the full clause. To find clauses by what they DO (e.g. which clauses invoke OrdinaryGetOwnProperty), pass search_steps: true to also scan algorithm step text — off by default since it is slower + noisier. 3. `clause.get { id, spec?, edition? }` — full structured clause. A clause id is also a test262 esid — test262.search { esid: <clause-id> } returns the conformance tests for that clause. Edition semantics. `latest` is spec-aware: - On 262, `latest` → current stable release (es2026 today). - On 402, `latest` → current stable release (es2026 today). - `main` is always the working draft. Historical pinning. `main` moves. Pass `at: "<sha>"` to query a specific historical snapshot (4-40 hex chars, prefix-matched). The hosted Worker retains every `main` SHA it has deployed since launch; the live snapshot is `at`-less. Released editions like `es2026` have no per-SHA history, so `at` doesn't apply — it only addresses `main`. Missing data is never an error. Tools return null, empty arrays, or a `hint:` field. `source: "none"` on `proposal.list` means the offline index isn't present in R2 — surface the hint to the user. MCP prompts (workflow templates) — prefer these when the user wants a guided multi-tool sequence. Available prompts: explain-clause, compare-editions, find-and-read, trace-crossrefs, proposal-status, test262-for-feature, cite-reproducibly. Call prompts/list for their argument shapes. All data is read-only: no tool modifies anything upstream, no tool runs user-supplied code. Safe to call freely.
Names, descriptions and schemas were written by the server and are shown as data.