Nicholastempleman commited on
Commit
fdb15f0
·
verified ·
1 Parent(s): cc1dcf0

Correction: the MCP registry read in this dataset was 2 pages, not complete

Browse files

totals.json said mcp_registry_enumeration_complete: true from 2 pages / 100 entries. A full read on 2026-09-25 walked 359 pages (35,873 latest-version servers). Producer fixed on lane census-frame-20260925. Original bytes at cc1dcf041b9a1f61807e434759bd700be3007b2d.

Files changed (4) hide show
  1. CORRECTION.md +82 -0
  2. README.md +2 -0
  3. census-frame-2026-09-25/summary.json +154 -0
  4. totals.json +20 -3
CORRECTION.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Correction: `csoai/agent-interop-census` claims a complete MCP registry read from 2 pages
2
+
3
+ **Status: CORRECTED 2026-09-25.** This dataset now carries this note, a README banner, and `totals.json` with `mcp_registry_enumeration_complete: false`. The original bytes remain at revision `cc1dcf041b9a1f61807e434759bd700be3007b2d`.
4
+ Until it is republished, do not quote any `mcp_registry_*` figure from it as a total.
5
+
6
+ ## The published claim
7
+
8
+ `totals.json` in the Hugging Face dataset `csoai/agent-interop-census`, revision
9
+ `cc1dcf041b9a1f61807e434759bd700be3007b2d` (lastModified 2026-09-14T10:48:18Z, `as_of`
10
+ 2026-09-14T10:48:11Z), read on 2026-09-25:
11
+
12
+ | field | published value |
13
+ |---|---|
14
+ | `mcp_registry_unique_entries` | `100` |
15
+ | `mcp_registry_pages_read` | `2` |
16
+ | `mcp_registry_stop_reason` | `"cursor exhausted — clean end of registry"` |
17
+ | `mcp_registry_enumeration_complete` | **`true`** |
18
+ | `rows_by_source.modelcontextprotocol-registry` | `100` |
19
+
20
+ The dataset card built from it also says "This build's registry enumeration is COMPLETE".
21
+
22
+ ## What was measured
23
+
24
+ | read | when (UTC) | pages | rows | read_state |
25
+ |---|---|---|---|---|
26
+ | survey walk, `version=latest` | 2026-09-25 05:24 to 05:31 | 359 | 35,870 | cursor exhausted |
27
+ | `scripts/census/frame.py`, `version=latest` | 2026-09-25, run of `/evac-bulk/census-frame-2026-09-25/` | 359 | **35,873** | **EXHAUSTED** (every page HTTP 200 with `servers[]` and `metadata{}`; `nextCursor` absent on page 359) |
28
+
29
+ The frame run's page set digest is `60482de9b0b1121b6532d24721d2f2911393816466427bb734d11c5333d52ffb`
30
+ (sha256 of the 359 page sha256s, one per line, in order). The raw pages are kept on
31
+ oracle-micro-2 under `/evac-bulk/census-frame-2026-09-25/raw/mcp-registry/`.
32
+
33
+ **The units differ, so this note does not state a ratio.** The published figure counts
34
+ `(name, version)` pairs across all versions. The measured figure counts latest-version servers.
35
+ The all-versions population was **not** re-measured here. Every latest server is one
36
+ `(name, version)` pair, so that population is at least 35,873. That is a floor, not a total.
37
+ What the measurement does settle is that a 2-page, 100-entry read was not a complete read of
38
+ the registry.
39
+
40
+ ## The producer, and the fix
41
+
42
+ The published case comes from the collector, `scripts/census/collect-mcp-registry.py`:
43
+ it parsed any JSON body as a page, never checked the HTTP status or the page shape, and
44
+ recorded "no `metadata.nextCursor`" as `cursor exhausted — clean end of registry`. Page 2 added
45
+ no new rows and carried no `nextCursor`. The collector kept no response bodies, so whether page 2
46
+ was an error object or an empty page cannot be recovered. Either way it was not the end.
47
+
48
+ The builder, `scripts/census/build-agent-interop-census.py`, then set
49
+ `mcp_registry_enumeration_complete = stop_reason != "in-progress"`. Under that test every
50
+ non-checkpoint stop counts as complete: a fetch failure, a repeated cursor, or the bounded
51
+ fallback file `/tmp/mcp_census2.json`.
52
+
53
+ Fixed on lane `census-frame-20260925`. Both fixes fail closed:
54
+
55
+ - `collect-mcp-registry.py`: a response counts as a page only if it is HTTP 200, complete
56
+ JSON, and has `servers[]` and `metadata{}`. Anything else stops the walk as PARTIAL. The
57
+ collector now writes `read_state` and `pages_valid` explicitly.
58
+ - `read_state.py` (new): `walk_read_state()` returns EXHAUSTED only if the collector wrote
59
+ `read_state: EXHAUSTED` and `pages_valid == pages`. Legacy files without `read_state`,
60
+ including the one behind the published figures, are PARTIAL. So is the bounded fallback file.
61
+ - `build-agent-interop-census.py` now publishes `mcp_registry_read_state` and derives
62
+ `mcp_registry_enumeration_complete` from it. `mcp_registry_population_total` is null
63
+ unless the read is EXHAUSTED. The same applies to `hf_spaces_read_state`.
64
+ - `collect-hf-spaces.py` had the same failure mode: a non-JSON body or an error object ended
65
+ the loop silently, and a 400-page cap was never reported. It now writes `read_state` too.
66
+ - Tests: `scripts/census/test_frame.py` → `CensusReadState` (the published legacy document
67
+ evaluates to PARTIAL), plus `RegistryWalk.test_error_object_is_not_an_end`.
68
+
69
+ ## Other published figures this does not re-measure
70
+
71
+ - `huggingface-spaces: 6,588` came from `search=mcp`. That query differs from the frame's
72
+ `filter=mcp-server` (10,822, EXHAUSTED), so the two numbers are not comparable. The old HF
73
+ collector recorded no read state, so treat 6,588 as a read count, not a population.
74
+ - `smithery_unique_collected: 272` against `smithery_declared_total: 14,625` was already
75
+ labelled as capped. The frame reads the same cap (500 rows served, 264 distinct, declared
76
+ 17,186) and records it as PARTIAL.
77
+
78
+ ## To close this note
79
+
80
+ Rebuild with the fixed collector and builder, confirm that `mcp_registry_read_state` is
81
+ `EXHAUSTED`, and republish with this note linked from the card. Every row stays an index
82
+ entry: DISCOVERED and UNMEASURED.
README.md CHANGED
@@ -23,6 +23,8 @@ configs:
23
  path: census.jsonl
24
  ---
25
 
 
 
26
  <!-- csoai-hubcard-v2 -->
27
 
28
  # Agent Interop Census
 
23
  path: census.jsonl
24
  ---
25
 
26
+ > **CORRECTION (2026-09-25).** The MCP registry figures in this dataset are **not** a complete read. `totals.json` said `mcp_registry_enumeration_complete: true` from 2 pages and 100 entries; a full read on 2026-09-25 walked 359 pages and found **35,873 latest-version servers** (a different unit — the published 100 counted name+version pairs — so no ratio is stated). The collector treated an error or empty page as the end of the registry; that producer is fixed. Do not quote any `mcp_registry_*` figure below as a total. Details: [`CORRECTION.md`](CORRECTION.md); measured read: [`census-frame-2026-09-25/summary.json`](census-frame-2026-09-25/summary.json). Original bytes: revision `cc1dcf041b9a1f61807e434759bd700be3007b2d`.
27
+
28
  <!-- csoai-hubcard-v2 -->
29
 
30
  # Agent Interop Census
census-frame-2026-09-25/summary.json ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "csoai.census-frame/0.1",
3
+ "run_started": "2026-09-25T05:45:50Z",
4
+ "run_finished": "2026-09-25T05:54:05Z",
5
+ "user_agent": "CSOAI-census/0.1 (+https://councilof.ai)",
6
+ "min_interval_s": 1.0,
7
+ "requests": 384,
8
+ "retry_after_waits": 0,
9
+ "sources": {
10
+ "mcp-registry": {
11
+ "read_state": "EXHAUSTED",
12
+ "reason": "metadata.nextCursor absent on page 359: upstream end",
13
+ "declared_total": null,
14
+ "rows_read": 35873,
15
+ "distinct_ids": 35873,
16
+ "duplicates_skipped": 0,
17
+ "population_total": 35873,
18
+ "pages": 359,
19
+ "pages_valid": 359,
20
+ "page_set_sha256": "60482de9b0b1121b6532d24721d2f2911393816466427bb734d11c5333d52ffb",
21
+ "seconds": 464.0,
22
+ "distinct_endpoints": 21958,
23
+ "endpoint_listings": 22353,
24
+ "entries_without_endpoint": 14063,
25
+ "endpoint_rejects": {
26
+ "templated host": 122
27
+ }
28
+ },
29
+ "hf-spaces": {
30
+ "read_state": "EXHAUSTED",
31
+ "reason": "no rel=next Link after page 11: upstream end",
32
+ "declared_total": null,
33
+ "rows_read": 10822,
34
+ "distinct_ids": 10822,
35
+ "duplicates_skipped": 0,
36
+ "population_total": 10822,
37
+ "pages": 11,
38
+ "pages_valid": 11,
39
+ "page_set_sha256": "a6297b951e5c7660c9663d1159b39f80181597dbca1a583f44d6423811aea2fc",
40
+ "seconds": 10.7,
41
+ "distinct_endpoints": 10822,
42
+ "endpoint_listings": 10822,
43
+ "entries_without_endpoint": 0,
44
+ "endpoint_rejects": {}
45
+ },
46
+ "a2aregistry": {
47
+ "read_state": "EXHAUSTED",
48
+ "reason": "offset reached declared total 443; 443 distinct ids == declared",
49
+ "declared_total": 443,
50
+ "rows_read": 443,
51
+ "distinct_ids": 443,
52
+ "duplicates_skipped": 0,
53
+ "population_total": 443,
54
+ "pages": 5,
55
+ "pages_valid": 5,
56
+ "page_set_sha256": "9363da3cb7ebd07c9de57333d449eae9366824beec89becc59230cab0014e9f9",
57
+ "seconds": 5.3,
58
+ "distinct_endpoints": 440,
59
+ "endpoint_listings": 443,
60
+ "entries_without_endpoint": 0,
61
+ "endpoint_rejects": {}
62
+ },
63
+ "docker-mcp-registry": {
64
+ "read_state": "EXHAUSTED",
65
+ "reason": "commit 49b643ce3fc7: tree lists 328 servers/*/server.yaml; tarball of the same commit parsed all 328",
66
+ "declared_total": 328,
67
+ "commit": "49b643ce3fc73e6ee80bb962719b6e2990e3d397",
68
+ "rows_read": 328,
69
+ "distinct_ids": 328,
70
+ "duplicates_skipped": 0,
71
+ "population_total": 328,
72
+ "pages": 3,
73
+ "pages_valid": 1,
74
+ "page_set_sha256": "84d9a779dbba9a6763428696dbfcaa52de380229f48633bc02ea245f05447654",
75
+ "seconds": 6.1,
76
+ "distinct_endpoints": 77,
77
+ "endpoint_listings": 77,
78
+ "entries_without_endpoint": 251,
79
+ "endpoint_rejects": {}
80
+ },
81
+ "smithery": {
82
+ "read_state": "PARTIAL",
83
+ "reason": "anonymous API advertises totalPages=5 at pageSize 100 (500 rows served, 264 distinct) against declared totalCount=17186; page 6 returned 0 servers. The listing carries no endpoint URL. Reading further needs an API key.",
84
+ "declared_total": 17186,
85
+ "rows_read": 500,
86
+ "distinct_ids": 264,
87
+ "duplicates_skipped": 236,
88
+ "population_total": null,
89
+ "pages": 6,
90
+ "pages_valid": 5,
91
+ "page_set_sha256": "f78a5f7f1658417279b96a72bd1b6604b7414b92f0a0318f2dc651a7ffe1e789",
92
+ "seconds": 5.4,
93
+ "distinct_endpoints": 0,
94
+ "endpoint_listings": 0,
95
+ "entries_without_endpoint": 264,
96
+ "endpoint_rejects": {}
97
+ }
98
+ },
99
+ "union": {
100
+ "endpoints_in_file": 33261,
101
+ "hosts_in_file": 25526,
102
+ "population_total": null,
103
+ "population_total_null_because": [
104
+ "smithery: PARTIAL"
105
+ ],
106
+ "note": "endpoints_in_file counts rows of endpoints.jsonl.gz - what was read. It is a population total only when population_total is non-null."
107
+ },
108
+ "overlap": {
109
+ "endpoint_level": {
110
+ "n": 33261,
111
+ "listed_by_k_catalogues": {
112
+ "1": 33225,
113
+ "2": 36
114
+ },
115
+ "in_2plus_catalogues": 36,
116
+ "pairwise": {
117
+ "a2aregistry&mcp-registry": 4,
118
+ "docker-mcp-registry&mcp-registry": 32
119
+ },
120
+ "combinations_2plus": {
121
+ "docker-mcp-registry+mcp-registry": 32,
122
+ "a2aregistry+mcp-registry": 4
123
+ }
124
+ },
125
+ "host_level": {
126
+ "n": 25526,
127
+ "listed_by_k_catalogues": {
128
+ "1": 25264,
129
+ "2": 262
130
+ },
131
+ "in_2plus_catalogues": 262,
132
+ "pairwise": {
133
+ "a2aregistry&mcp-registry": 223,
134
+ "docker-mcp-registry&mcp-registry": 36,
135
+ "hf-spaces&mcp-registry": 3
136
+ },
137
+ "combinations_2plus": {
138
+ "a2aregistry+mcp-registry": 223,
139
+ "docker-mcp-registry+mcp-registry": 36,
140
+ "hf-spaces+mcp-registry": 3
141
+ }
142
+ }
143
+ },
144
+ "canonicalisation": "scheme + lowercased host (+non-default port) + path; query and fragment dropped; '{var}' -> '{}' (flagged templated); trailing '/' removed; templated host = reject. HF Spaces rows carry the Space base URL https://<subdomain>.hf.space/, not a declared MCP path, so they meet registry rows at host level, rarely at endpoint level.",
145
+ "not_read_by_this_frame": {
146
+ "x402 bazaars": "read to exhaustion daily by scripts/census/x402-bazaar-conformance.py"
147
+ },
148
+ "what_a_row_is": "an endpoint URL a public catalogue lists. DISCOVERED, UNMEASURED.",
149
+ "what_it_never_proves": "that the endpoint is live, speaks its protocol, is safe, or is good.",
150
+ "files": {
151
+ "entries.jsonl.gz": "7932d3c69a283b9d04e581d37acd4d50526a32b9a7a1048ba6fe788c032c7e15",
152
+ "endpoints.jsonl.gz": "d8d230f4b3f2a02d90230928e78284e6c20af0677a7b7561f79f134d95e1b9b3"
153
+ }
154
+ }
totals.json CHANGED
@@ -13,7 +13,7 @@
13
  "mcp_registry_pages_read": 2,
14
  "mcp_registry_source_file": "/tmp/mcp_census_full.json",
15
  "mcp_registry_stop_reason": "cursor exhausted \u2014 clean end of registry",
16
- "mcp_registry_enumeration_complete": true,
17
  "mcp_registry_is_latest": 65,
18
  "mcp_registry_exposing_remote_endpoint": 342,
19
  "hf_spaces_pages_read": 66,
@@ -48,5 +48,22 @@
48
  "glama_excluded": "401 without an API key, and its API Data Licence requires visible Glama attribution on every page displaying the data. Not collected.",
49
  "reachability_observation": null,
50
  "graded_rows": 0,
51
- "grading_note": "Zero rows carry a measurement. This is a census: an index of what exists and is publicly reachable. A grade requires a run against a frozen bank, and none was done here."
52
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  "mcp_registry_pages_read": 2,
14
  "mcp_registry_source_file": "/tmp/mcp_census_full.json",
15
  "mcp_registry_stop_reason": "cursor exhausted \u2014 clean end of registry",
16
+ "mcp_registry_enumeration_complete": false,
17
  "mcp_registry_is_latest": 65,
18
  "mcp_registry_exposing_remote_endpoint": 342,
19
  "hf_spaces_pages_read": 66,
 
48
  "glama_excluded": "401 without an API key, and its API Data Licence requires visible Glama attribution on every page displaying the data. Not collected.",
49
  "reachability_observation": null,
50
  "graded_rows": 0,
51
+ "grading_note": "Zero rows carry a measurement. This is a census: an index of what exists and is publicly reachable. A grade requires a run against a frozen bank, and none was done here.",
52
+ "correction": {
53
+ "date": "2026-09-25",
54
+ "file": "CORRECTION.md",
55
+ "prior_revision": "cc1dcf041b9a1f61807e434759bd700be3007b2d",
56
+ "was": {
57
+ "mcp_registry_enumeration_complete": true,
58
+ "mcp_registry_pages_read": 2,
59
+ "mcp_registry_unique_entries": 100
60
+ },
61
+ "measured_2026_09_25": {
62
+ "source": "census-frame-2026-09-25/summary.json",
63
+ "pages": 359,
64
+ "latest_version_servers": 35873,
65
+ "read_state": "EXHAUSTED",
66
+ "note": "different unit from the published 100 (name+version pairs); 35,873 is a floor for that population"
67
+ }
68
+ }
69
+ }