impeccable
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
Design-correct NHANES analysis: survey weights, pooled cycles, CIs and NCHS reliability flags.
Skills that teach the AI this kind of work; they work alongside this one
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi. 45 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.
Create beautiful slides on the web using a coding agent's frontend skills
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 6/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 7/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 13/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install NHANES (design-correct survey analysis). Follow https://mcp.popnx.com/i/blackswancausallabs-nhanes-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server NHANES (design-correct survey analysis) for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "nhanes": { "command": "uvx", "args": [ "nhanes-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the NHANES (design-correct survey analysis) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
SettingsDeveloperEdit Config
{
"mcpServers": {
"nhanes": {
"command": "uvx",
"args": [
"nhanes-mcp"
]
}
}
}Use NHANES (design-correct survey analysis) and tell me what you can do for me, then show me one thing✓ If Claude says it is using NHANES (design-correct survey analysis) or shows a NHANES (design-correct survey analysis) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
NHANES_MCP_CACHE Folder for downloaded NHANES files (default ~/.cache/nhanes-mcp)NHANES_MCP_DATA_DIR Folder of manually downloaded .xpt files, for offline useDescriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect NHANES (design-correct survey analysis) yet
NHANES (design-correct survey analysis) runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect NHANES (design-correct survey analysis)
B · Others in Design, images & audio that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
Install Python (uv) on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server NHANES (design-correct survey analysis) for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user nhanes -- uvx nhanes-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the NHANES (design-correct survey analysis) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user nhanes -- uvx nhanes-mcpYou should see NHANES (design-correct survey analysis) listed as connected
Use NHANES (design-correct survey analysis) and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using NHANES (design-correct survey analysis) or shows a NHANES (design-correct survey analysis) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
NHANES_MCP_CACHE Folder for downloaded NHANES files (default ~/.cache/nhanes-mcp)NHANES_MCP_DATA_DIR Folder of manually downloaded .xpt files, for offline useDescriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
Install Python (uv) on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server NHANES (design-correct survey analysis) for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "nhanes": { "command": "uvx", "args": [ "nhanes-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the NHANES (design-correct survey analysis) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Use NHANES (design-correct survey analysis) and tell me what you can do for me, then show me one thing✓ If Cursor says it is using NHANES (design-correct survey analysis) or shows a NHANES (design-correct survey analysis) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
NHANES_MCP_CACHE Folder for downloaded NHANES files (default ~/.cache/nhanes-mcp)NHANES_MCP_DATA_DIR Folder of manually downloaded .xpt files, for offline useDescriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
Install Python (uv) on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server NHANES (design-correct survey analysis) for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "nhanes": { "type": "stdio", "command": "uvx", "args": [ "nhanes-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the NHANES (design-correct survey analysis) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Use NHANES (design-correct survey analysis) and tell me what you can do for me, then show me one thing✓ If VS Code says it is using NHANES (design-correct survey analysis) or shows a NHANES (design-correct survey analysis) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
NHANES_MCP_CACHE Folder for downloaded NHANES files (default ~/.cache/nhanes-mcp)NHANES_MCP_DATA_DIR Folder of manually downloaded .xpt files, for offline useDescriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Claude Code
claude mcp add --scope user nhanes -- uvx nhanes-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"nhanes": {
"command": "uvx",
"args": [
"nhanes-mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"nhanes": {
"command": "uvx",
"args": [
"nhanes-mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"nhanes": {
"type": "stdio",
"command": "uvx",
"args": [
"nhanes-mcp"
]
}
}
}NHANES_MCP_CACHE envNHANES_MCP_DATA_DIR envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
pypi: nhanes-mcpBased on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026
The registry name was verified against the domain blackswancausallabs.com (the registry checks domain ownership)
Code last changed 2 months ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for nhanes-mcp@0.5.1
Checks only this package version, not every dependency · checked Nov 15, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/blackswancausallabs-nhanes-mcp)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 2 months ago, and the latest version (0.5.1) reached the registry 2 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: HyperFrames by HeyGen, Pascal 3D Editor, draw.io, Figma MCP Server, Remocn: Remotion MCP server
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Official HyperFrames by HeyGen: the best AI video editor in chat. Captions, motion graphics, MP4.
Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.
Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.
Figma’s official server gives AI your design data so it can turn designs into code or describe them accurately. Connects to Figma’s cloud.
Hosted MCP for Remotion videos: search Remocn components, read docs, plan a video, preview it.
| This one NHANES (design-correct survey analysis) | HyperFrames by HeyGen | Pascal 3D Editor | draw.io | Figma MCP Server | Remocn: Remotion MCP server | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Cloud or install on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | No | No | No | No | No | No |
| Add with + in Claude | No | Yes | No | No | Yes | No |
| Basic checks | 3/3 | 4/4 | 5/5 | 4/4 | 4/4 | 4/4 |
| License | MIT | Apache-2.0 | MIT | Apache-2.0 | – | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
An MCP server for design-correct, conversational access to NHANES public-use data. Black Swan Causal Labs · MIT license · v0.5 · PyPI · MCP Registry
Most "chat with a dataset" layers let an agent compute an unweighted mean. With NHANES that answer is wrong. This server makes the defensible analysis the default: the agent asks a question in plain language, and the server finds the files, merges them on SEQN, picks the right weight, keeps the full survey design, and reports design-based estimates with NCHS reliability flags.
Not affiliated with, or endorsed by, NCHS or CDC. Data are the public-use NHANES files
published by the National Center for Health Statistics and downloaded directly from cdc.gov.
Users are responsible for following the NCHS data use agreement.
| Pitfall | What the server does |
|---|---|
| Wrong / no weight | build_dataset picks the most restrictive weight (interview → MEC → fasting / phlebotomy / surplus-serum subsample → dietary day-1/day-2), explains why, and stores it in WT_ANALYSIS. Overrides (build_dataset(weight=...), set_weight) are reported with every result; WT_ANALYSIS cannot be overwritten silently |
| Subsetting before estimation | domain= expressions keep the full design (zero weight outside the domain) |
| Pooling cycles | Weights rescaled by cycle years / total years (2017–March 2020 counts as 3.2 years); 1999–2002 uses 4-year weights; strata made cycle-unique; refuses 2017–2018 + 2017–2020 overlap |
| Long-format tables (e.g. prescriptions) | Refuses to join tables with repeated SEQN (which would silently duplicate weights); flag_from_long_table collapses them to one row per person |
| Refused / don't-know codes | describe_variable reads the CDC codebook and suggests sentinel codes; set_missing recodes them |
| Silent 0 for missing | derive_variable propagates missingness (any / all / none); coalesce, fillna, isna, notna, where handle missingness deliberately |
| Irregular file names | Tries known variants (e.g. 1999–2000 surplus-serum files SSCMV_A, SSMUMP_A) |
| Variance | Taylor linearization, strata × PSU, design df; Korn–Graubard CIs and NCHS 2017 reliability flags for proportions |
| Age adjustment | Direct adjustment to the 2000 US standard (20–39 / 40–59 / 60+) with linearized SE, or to any caller-supplied standard (age groups + population), with a warning for in-domain records outside the groups |
| Mortality | Optional join of the public-use Linked Mortality File (follow-up through 2019) and a design-based Cox model |
| Step | Tools |
|---|---|
| Orient | list_cycles, analysis_guidance |
| Find | list_files, search_variables, describe_variable |
| Build | build_dataset (optional mortality join), describe_dataset |
| Clean / derive | set_missing, derive_variable, flag_from_long_table, set_weight |
| Analyze | survey_frequency, survey_estimate, survey_regression (linear / logistic), survey_cox (Cox PH, Binder variance) |
| Present | show_results — text + structured results; interactive view with the optional Results Explorer add-on |
| Export | export_dataset |
Cycles: 1999–2000 through 2017–2018, 2017–March 2020 (pre-pandemic, P_ files) and August 2021–August 2023.
show_results returns design-based results as text plus structured data in every client. With the optional NHANES Results Explorer add-on installed, MCP Apps hosts (Claude Desktop/web, ChatGPT, VS Code, Goose) also render an interactive view: headline estimate with CI and NCHS reliability badge, a crude / age-adjusted toggle that re-runs the estimate on the server, the analysis plan, subgroup panels, server warnings, benchmarks against published estimates, and design provenance.
The add-on is a separate package from Black Swan Causal Labs under the PolyForm Noncommercial License 1.0.0 (free for academic, public-health and other noncommercial use; commercial use needs a license — https://blackswancausallabs.com). It is not part of this MIT repository. nhanes-mcp finds it if it is installed in the same Python environment, if NHANES_MCP_EXPLORER_PATH points to it, or if a folder named nhanes-mcp-explorer sits next to the nhanes-mcp folder.
Estimates were checked against published NCHS results (validation/):
tests/benchmark_nchs.py. Before v0.4 the server silently used MEC weights here and could not load the 1999–2000 file.tests/): variance checked against an independent loop implementation and a delete-one-PSU jackknife; Cox model checked against statsmodels PHReg and a jackknife; weight selection, pooling, guards, expression semantics, long-table and dietary-weight handling.Paste this into Claude (Cowork or Claude Code), or any agent that can run commands on your computer:
Install the nhanes-mcp MCP server (PyPI package
nhanes-mcp) for Claude Desktop. Installuvif it is
missing, then add this entry to my Claude Desktop config (
claude_desktop_config.json), using the full
path to
uvx:"nhanes": {"command": "uvx", "args": ["nhanes-mcp"]}.
Keep my existing servers. Then tell me to restart Claude Desktop.
With uv installed, add to claude_desktop_config.json and restart Claude Desktop (on macOS use the full path from which uvx, e.g. /Users/ /.local/bin/uvx):
"nhanes": {
"command": "uvx", "args": ["nhanes-mcp"] }
uvx fetches the server from PyPI into an isolated environment on first launch; no clone or virtual environment to manage. To run the latest code from GitHub instead, use "args": ["--from", "git+https://github.com/Black-Swan-Causal-Labs/nhanes-mcp", "nhanes-mcp"].
python3 -m venv ~/.nhanes-mcp-venv
~/.nhanes-mcp-venv/bin/pip install "mcp>=1.2,<2" pandas numpy scipy pyreadstat httpx beautifulsoup4 lxml git clone https://github.com/Black-Swan-Causal-Labs/nhanes-mcp.git ~/nhanes-mcp
"nhanes": {
"command": "/Users/ /.nhanes-mcp-venv/bin/python", "args": ["-m", "nhanes_mcp"], "env": {"PYTHONPATH": "/Users/ /nhanes-mcp"} }
Any MCP client that runs local stdio servers works the same way. Data are downloaded from cdc.gov on first use and cached in ~/.cache/nhanes-mcp (override with NHANES_MCP_CACHE). Set NHANES_MCP_DATA_DIR to a folder of manually downloaded .xpt files to work offline.
Need help setting it up for your team, or adapting it to another survey or dataset? Contact Black Swan Causal Labs.
python tests/test_offline.py # synthetic NHANES-shaped data, no network
python tests/test_cox.py python tests/test_long_and_dietary.py python tests/benchmark_nchs.py # reproduces published NCHS estimates (needs network)
uvx nhanes-mcp) and the official MCP Registry (com.blackswancausallabs/nhanes-mcp). Packaging metadata only; no analysis changes.show_results tool (text + structured results; interactive view via the optional Results Explorer add-on); one-command install with uvx; analysis guidance rule 11.where(BPQ020 == 1, fillna(BPQ150, 2) == 1, 0) are missing (not 0) for people never asked the screener. Hypertension benchmark (NCHS Data Brief 511) added.2Y/4Y suffixes are detected and pooled; 1999–2000 _A file names resolved; build_dataset(weight=...) and new set_weight tool, both recorded in every result; design columns protected from derive_variable; missing-aware expression functions; custom age standards; CMV benchmark added.