Compatibility evidence from real builds: does this library API work on your versions and runtime?
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Tested. Not guessed.
Languages: English · 한국어 · 日本語 · 简体中文 · Español · Français · Deutsch · Português (BR) · Русский
CodeSampleX is an open compatibility testing network for developer libraries, runtimes and toolchains. It does not summarize documentation and it does not collect anecdotes. It records what real builds actually did, in environments recorded rather than assumed — then shows you where things worked, where they broke, and in which environment.
Two things are the asset, and a third is a bonus:
Which is why a miss is not empty. When nothing has been proven for your case the grade stays NO_SAFE_MATCH — and the recorded observations come back with it, as recorded.
CodeSampleX is no longer just a search command. The shipped product now exposes several surfaces, all backed by the same evidence model:
| Surface | Current role |
|---|---|
| Compatibility | browse recorded compatibility by package, version, symbol and environment |
| Dependencies | reverse dependency atlas: which recorded parent releases pulled a dependency release; an edge is not a compatibility verdict |
| Gaps | completeness census across Sample / Evidence / Dependency, replacing the old website Wanted ranking |
| Findings | measured contradictions and version/environment boundaries backed by reproducible samples |
| Features | current MCP tool contracts and public read API |
| Samples · Adapters · Stats | verified artifacts, ecosystem capability matrix, and public network rollups |
The CLI is the canonical local interface. csx help is generated from the commands in the binary; this table is pinned to it by a test so a new command cannot silently outgrow the README.
| Command | What it does |
|---|---|
config | read or change local settings |
daemon | run, start, stop, or inspect the background sync daemon |
hook | enable, disable, inspect, or self-test the automatic build-failure lookup installed into supported coding agents |
init | choose community/local-only mode, configure agents, warm the first cache, and start background sync |
login | sign in with GitHub when you want attributed sample publishing |
mcp | run the stdio MCP server used by agent clients |
mcp-config | print JSON/TOML/path configuration for MCP clients |
run | run a command and record sanitized evidence for public dependencies |
sample | propose, create, preview, verify, publish, remove, list, or review pending clean-room samples |
sample-worker | operate the private authoring work/session handoff lane |
scan | detect public dependencies without running a build |
search | search verified samples graded against the target environment |
stats | show local cache, queue, hit, and adoption counters |
sync | warm compatibility shards and flush queued community uploads (--uploads-only when needed) |
ui | open the local dashboard and privacy preview |
update | securely check, install, inspect, or roll back signed updates |
version | print the installed csx version |
worker | contribute Docker-isolated cross/matrix verification work |
The network also installs an optional build-failure hook into supported coding agents. When an agent's shell build fails, the hook classifies the failing build step, sanitizes the error locally, searches CodeSampleX, and stays silent on a miss or unrelated command. csx hook status shows what is installed; csx hook check proves the registered hook path with a throwaway failing build.
Every result is tied to the environment that produced it, so the same data can be pivoted into version × symbol, OS × runtime, version × architecture, browser/runtime, libc, and other recorded dimensions. Use the live compatibility explorer or a package page such as pgx/v5 for current counts; the README deliberately does not freeze live network numbers into a dated screenshot. The shape below is illustrative only:
A matrix cell carries observations and, when available, a sample document. Observation counts say what recorded builds reached — compile, typecheck, test — and are counts of neither users nor machines. The sample document says that a reproducible contract exists at that coordinate; its state reflects those sample verification runs. Those two evidence classes are deliberately never added together.
A project compiling is therefore never presented as an individual symbol working. — remains unknown, and a missing sample remains a missing sample. The map records what happened at the coordinate instead of promoting a small set of runs into a universal PASS verdict.
The rules that keep the map honest:
UNKNOWN. A wrong HIT is worse than a MISS — NO_SAFE_MATCH is a real answer.The CLI is the local tester: it wraps your real builds, turns their outcomes into anonymous evidence, and answers from the network.
Windows (PowerShell):
macOS / Linux:
That line needs curl and CA certificates, which minimal images (debian-slim, alpine, most agent containers) do not have — and curl … | sh exits 0 when curl is missing, because a pipeline reports the last command's status. Install prerequisites first, or use wget:
On Windows the installer keeps the stable launcher at %LOCALAPPDATA%\csx\csx.exe and adds %LOCALAPPDATA%\csx to the user PATH. On macOS/Linux the default is ${CSX_INSTALL_DIR:-$HOME/.local/bin}/csx; if that directory is not already on PATH, add it:
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/codesamplex)<a href="https://allmcps.com/mcp/codesamplex"><img src="https://allmcps.com/api/badge/codesamplex?style=directory" alt="CodeSampleX on AllMCPs" /></a>