NHANES (design-correct survey analysis)
v0.5.1Design-correct NHANES analysis: survey weights, pooled cycles, CIs and NCHS reliability flags.
Values you need
| Variable | What it is | |
|---|---|---|
NHANES_MCP_CACHE | optional | Folder for downloaded NHANES files (default ~/.cache/nhanes-mcp) |
NHANES_MCP_DATA_DIR | optional | Folder of manually downloaded .xpt files, for offline use |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add nhanes-mcp -- uvx nhanes-mcp==0.5.1Add to
claude_desktop_config.json{
"mcpServers": {
"nhanes-mcp": {
"args": [
"nhanes-mcp==0.5.1"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"nhanes-mcp": {
"args": [
"nhanes-mcp==0.5.1"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"nhanes-mcp": {
"args": [
"nhanes-mcp==0.5.1"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.nhanes-mcp]
command = "uvx"
args = ["nhanes-mcp==0.5.1"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_cycles, analysis_guidance, list_files, search_variables, describe_variable, build_dataset, describe_dataset, set_weight, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json