Global law
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
U.S. government economic data (FRED, BLS, BEA, Census, Treasury and more), cited and audited.
제작자가 쓴 원문
목록은 사용 점수(100점 만점)로 정렬되며 구성은 다음과 같습니다
| 인기 | 0/80 | GitHub 별 또는 주간 다운로드: 큰 쪽 60, 작은 쪽 20 |
|---|---|---|
| 최신성 | 12/12 | 30일 안에 릴리스나 코드 변경이 있으면 만점 |
| 응답 중 | 0/8 | 마지막 점검 때 클라우드 엔드포인트가 응답 |
| 사용 점수 | 12/100 |
품질: 기본 점검 3/3개 통과(표시만, 정렬에는 안 씀) · 상승세: 데이터 없음 (급상승 탭에서만 사용)
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
한 문장으로 AI에게 설치 맡기기
US Government Data Analyst 설치해 줘. https://mcp.popnx.com/i/zsu-data-analyst-mcp.md 를 따라 하고, 명령을 먼저 보여 주고 내가 승인하면 실행해.내 컴퓨터에서 작업하는 AI(Claude Code, Cursor 등)에 붙여 넣으세요. 단계를 읽고 명령을 보여 준 뒤 승인을 기다립니다. 키도 가입도 필요 없습니다. · AI가 읽을 전체 내용 보기
검사 3/3 통과 · 내 컴퓨터에서 실행돼요 · ✓ 명령 확인 2026년 11월 21일
먼저: 어떤 AI를 쓰시나요?
쓰는 앱을 고르면 아래에 단계가 나옵니다.
Claude에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
이 메시지를 Claude 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Claude에 MCP server US Government Data Analyst을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "data-analyst": { "command": "npx", "args": [ "-y", "data-analyst-mcp" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 US Government Data Analyst의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
node -vMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v
한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다
SettingsDeveloperEdit Config
{
"mcpServers": {
"data-analyst": {
"command": "npx",
"args": [
"-y",
"data-analyst-mcp"
]
}
}
}US Government Data Analyst을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude가 US Government Data Analyst을 쓰고 있다고 하거나 답에 US Government Data Analyst 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
DATA_GOV_API_KEY 무료 api.data.gov 키(Congress.gov, FDA, FEC, GovInfo 등 6개 추가). 선택 사항 FRED_API_KEY 검색, vintages 및 GeoFRED용 무료 FRED 키; 선택 사항 BLS_API_KEY 더 높은 한도와 연평균을 위한 무료 BLS 키; 선택 사항 BEA_API_KEY API 전용 데이터셋용 무료 BEA 키; 선택 사항 CENSUS_API_KEY 무료 Census 키; 없으면 Census는 수동 다운로드를 제공합니다; 선택 사항 설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
ChatGPT는 아직 US Government Data Analyst에 연결할 수 없어요
US Government Data Analyst는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요
A · US Government Data Analyst에 연결되는 앱 쓰기
B · 법률 및 정부 데이터에서 ChatGPT에 연결되는 다른 서버
같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요
Claude Code에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
이 메시지를 Claude Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Claude Code에 MCP server US Government Data Analyst을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): claude mcp add --scope user data-analyst -- npx -y data-analyst-mcp 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 US Government Data Analyst의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
node -vMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v
한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다
Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기
claude mcp add --scope user data-analyst -- npx -y data-analyst-mcpUS Government Data Analyst이 목록에 있고 연결됨으로 보이면 돼요
US Government Data Analyst을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude Code가 US Government Data Analyst을 쓰고 있다고 하거나 답에 US Government Data Analyst 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
DATA_GOV_API_KEY 무료 api.data.gov 키(Congress.gov, FDA, FEC, GovInfo 등 6개 추가). 선택 사항 FRED_API_KEY 검색, vintages 및 GeoFRED용 무료 FRED 키; 선택 사항 BLS_API_KEY 더 높은 한도와 연평균을 위한 무료 BLS 키; 선택 사항 BEA_API_KEY API 전용 데이터셋용 무료 BEA 키; 선택 사항 CENSUS_API_KEY 무료 Census 키; 없으면 Census는 수동 다운로드를 제공합니다; 선택 사항 설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Cursor에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
이 메시지를 Cursor 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Cursor에 MCP server US Government Data Analyst을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "data-analyst": { "command": "npx", "args": [ "-y", "data-analyst-mcp" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 US Government Data Analyst의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
node -vMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v
한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다
US Government Data Analyst을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Cursor가 US Government Data Analyst을 쓰고 있다고 하거나 답에 US Government Data Analyst 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
DATA_GOV_API_KEY 무료 api.data.gov 키(Congress.gov, FDA, FEC, GovInfo 등 6개 추가). 선택 사항 FRED_API_KEY 검색, vintages 및 GeoFRED용 무료 FRED 키; 선택 사항 BLS_API_KEY 더 높은 한도와 연평균을 위한 무료 BLS 키; 선택 사항 BEA_API_KEY API 전용 데이터셋용 무료 BEA 키; 선택 사항 CENSUS_API_KEY 무료 Census 키; 없으면 Census는 수동 다운로드를 제공합니다; 선택 사항 설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
VS Code에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
이 메시지를 VS Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 VS Code에 MCP server US Government Data Analyst을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "servers": { "data-analyst": { "type": "stdio", "command": "npx", "args": [ "-y", "data-analyst-mcp" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 US Government Data Analyst의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
node -vMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v
한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다
US Government Data Analyst을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ VS Code가 US Government Data Analyst을 쓰고 있다고 하거나 답에 US Government Data Analyst 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
DATA_GOV_API_KEY 무료 api.data.gov 키(Congress.gov, FDA, FEC, GovInfo 등 6개 추가). 선택 사항 FRED_API_KEY 검색, vintages 및 GeoFRED용 무료 FRED 키; 선택 사항 BLS_API_KEY 더 높은 한도와 연평균을 위한 무료 BLS 키; 선택 사항 BEA_API_KEY API 전용 데이터셋용 무료 BEA 키; 선택 사항 CENSUS_API_KEY 무료 Census 키; 없으면 Census는 수동 다운로드를 제공합니다; 선택 사항 설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Claude Code
claude mcp add --scope user data-analyst -- npx -y data-analyst-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"data-analyst": {
"command": "npx",
"args": [
"-y",
"data-analyst-mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"data-analyst": {
"command": "npx",
"args": [
"-y",
"data-analyst-mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"data-analyst": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"data-analyst-mcp"
]
}
}
}DATA_GOV_API_KEY 비밀 envFRED_API_KEY 비밀 envBLS_API_KEY 비밀 envBEA_API_KEY 비밀 envCENSUS_API_KEY 비밀 env설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
npm: data-analyst-mcp이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
내 컴퓨터에서 실행하는 앱
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 21일 점검
레지스트리 이름이 GitHub 계정 zsu 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
코드 마지막 변경: 오늘
MIT 사용
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
OSV.dev에 data-analyst-mcp@0.11.2 항목이 없습니다
이 버전의 패키지 자체만 확인하며 모든 의존성은 아닙니다 · 확인 2026년 11월 21일
제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.
[](https://mcp.popnx.com/en/servers/zsu-data-analyst-mcp)질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.
아직 리뷰가 없어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 오늘 변경됐고, 최신 버전(0.11.2)은 오늘 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector
같은 카테고리, 다른 제작자, 명령 확인 완료. 공식이 먼저, 그다음 스타 순.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
German court decisions (Rechtsprechung) and laws (Gesetze) with citation graph and citation checks.
Search French, European, Swiss, Belgian, Luxembourg, Dutch and African case law and legal texts.
Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
| 이 항목 US Government Data Analyst | Global law | Open Legal Data (Germany) | LibreJustice | InfraNode | Fedlex Connector | |
|---|---|---|---|---|---|---|
| 실행 위치 | 컴퓨터에 설치 필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 |
| 키 필요 | 아니요 | 아니요 | 아니요 | 아니요 | 아니요 | 아니요 |
| Claude에서 +로 추가 | 아니요 | 아니요 | 아니요 | 아니요 | 아니요 | 아니요 |
| 기본 점검 | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 4/4 |
| 라이선스 | MIT | NOASSERTION | MIT | Apache-2.0 | Apache-2.0 | MIT |
| 가격 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 |
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
data-analyst-mcp)A Model Context Protocol (MCP) server for U.S. economic analysis and official U.S. government data across 77 federal agencies (FRED, BLS, BEA, Census, Treasury, Congress.gov, FDA, CDC, EPA, and more).
Requires Node.js 22 or later. Most sources need no key, so steps 2 and 3 are optional.
Claude Code
claude mcp add data-analyst -- npx -y data-analyst-mcp
Add --scope user to make it available in every project. To pass a key here, put -e before the --, for example claude mcp add data-analyst -e DATA_GOV_API_KEY=your-key -- npx -y data-analyst-mcp.
Claude Desktop: claude_desktop_config.json, in ~/Library/Application Support/Claude/ (macOS) or %APPDATA%\Claude\ (Windows). Settings → Developer → Edit Config opens it. Restart Claude Desktop after editing.
{
"mcpServers": { "data-analyst": { "command": "npx", "args": ["-y", "data-analyst-mcp"], "env": { "DATA_GOV_API_KEY": "your-key" } } } }
Cursor: the same mcpServers block in ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project).
VS Code: .vscode/mcp.json uses servers instead of mcpServers. An inputs entry makes VS Code ask for the key once and store it, so the key is not written into a file you might commit.
{
"inputs": [ { "type": "promptString", "id": "data-gov-key", "description": "api.data.gov API key", "password": true } ], "servers": { "data-analyst": { "type": "stdio", "command": "npx", "args": ["-y", "data-analyst-mcp"], "env": { "DATA_GOV_API_KEY": "${input:data-gov-key}" } } } }
Codex: ~/.codex/config.toml
[mcp_servers.data-analyst]
command = "npx" args = ["-y", "data-analyst-mcp"]
[mcp_servers.data-analyst.env] DATA_GOV_API_KEY = "your-key"
Leave out the env block if you have no keys, or if you store them with setup (step 2).
To run from a clone instead of npm, build it and point the client at the build:
git clone https://github.com/zsu/data-analyst-mcp.git
cd data-analyst-mcp && npm install && npm run build
Then use "command": "node", "args": [" /data-analyst-mcp/dist/bin/cli.js"] in the configs above, and node dist/bin/cli.js setup in place of npx -y data-analyst-mcp setup below.
Each key is free. Without a key, a source either falls back to a keyless route with lower limits, or offers a manual download (manual_bundle): the user downloads the files in a browser, and the server packages them.
| Variable | Sources | Without it | Free key |
|---|---|---|---|
AQS_API_KEY + AQS_EMAIL | epa-aqs | manual download only | aqs.epa.gov |
BEA_API_KEY | bea | bulk files for the main tables; the API-only datasets need the key | apps.bea.gov |
BLS_API_KEY | bls | 25 queries a day, 25 series and 10 years each; no annual averages or catalog titles | data.bls.gov |
CENSUS_API_KEY | census | manual download only | api.census.gov |
DATA_GOV_API_KEY | college-scorecard, congress, fbi, fda, fec, govinfo, nrel, regulations, usda-fooddata, usgs | DEMO_KEY or keyless, at a few requests an hour (fda: 1,000 a day; usgs earthquakes never need a key) | api.data.gov |
DOL_API_KEY | dol | catalog and field lists only; data queries need the key | dataportal.dol.gov |
EIA_API_KEY | eia | DEMO_KEY, about 10 requests an hour | eia.gov |
FRED_API_KEY | fred | observations only; search, vintages, revision history and GeoFRED need the key | fredaccount.stlouisfed.org |
HUD_USER_TOKEN | hud | manual download only | huduser.gov |
IPUMS_API_KEY | ipums | build the extract on the IPUMS website (free account) | account.ipums.org |
LDA_API_KEY | senate-lobbying | 15 requests a minute instead of 120 | lda.gov |
NOAA_API_KEY | noaa | the keyless data and station-search endpoints; Climate Data Online v2 needs the key | ncei.noaa.gov |
USDA_NASS_API_KEY | usda-nass | manual download only | quickstats.nass.usda.gov |
USPTO_API_KEY | uspto | manual download only | data.uspto.gov |
Two settings are not keys. SEC asks every client to identify itself, so set SEC_USER_AGENT to your name and email ("Jane Doe jane@example.com"). NWS_USER_AGENT is optional and does the same for the weather service.
Store a key with `setup` (recommended). It shows the signup link, reads the key with hidden input, and writes it to ~/.config/data-analyst/keys.json. The key stays out of client config files, and every client reads it. It works mid-session, with no restart.
npx -y data-analyst-mcp setup congress
setup takes any source that uses the key: setup congress stores DATA_GOV_API_KEY, and all 10 api.data.gov sources use it. setup epa-aqs also asks for AQS_EMAIL. Or put the variables in the client's env block, as in step 1. API keys lists every place the server looks.
Ask your assistant: *"Is my api.data.gov key set up?"* The check_key tool reports whether the key was found and where, never its value. For census, eia, epa-aqs, noaa, usgs, bea, fred and ipums it also tests the key with one small call to the agency's own site and says whether it was accepted, rejected or the site could not be reached. To list only the sources you can use, start the server with --hide-unconfigured (see Options).
The assistant asks the questions that change the answer first (which measure, which years, which population), then fetches, computes and cites.
To host the server for claude.ai or a team, see docs/hosting.md.
| Tool | What it does |
|---|---|
guide | the method: framing, asking only critical questions, the accuracy checklist, combining sources |
find_sources | ranks the sources for a question, or lists them all |
source_brief | one source's playbook, its questions_to_ask, key status, rules and request index |
request_schema | full parameters of the requests to use; searches a source's catalog |
record_decisions | how each critical question was settled (answered, Don't know, skipped, not asked and why) |
fetch | downloads into the session workspace; returns a summary, the files, the citation and notes |
manual_bundle, ingest | a one-command download for the user's own computer, then packaging what they downloaded |
compute | builds exhibits from the full tables with declarative steps (a whitelisted expression language, no eval); the steps are recorded for rerun |
facts, write_table, cite | register the numbers cited, write the benchmark and sensitivity tables, snapshot cited pages |
audit_answer, rerun | the release gate: every number in the answer is a registered fact, the method record is complete, and the analysis reproduces |
build_report, style_check, audit_report | an HTML report and replication ZIP, only when asked |
handoff | the per-source data hand-off |
check_key | whether a key is set up (never shows it), and tested live where the source allows |
read_file | a small text file from the workspace |
open_workspace | after a server restart (which starts a new, empty workspace), lists the earlier workspaces and reopens one (local server only) |
Asking before fetching is enforced, not just suggested. fetch returns gate_blocked until, for that source, the model has read source_brief and the schemas of the requests it uses, and has recorded how each critical question was settled. The model asks the questions in chat, in one round. A blocking question that the user skips is asked once more. The server also exposes an analyze prompt and source:// resources, for clients that let users pick prompts or attach resources.
Results have one shape. Success: {status: "ok" | "partial", summary, files, citation, notes}. Failure: {status: "error", code, message, fix, retry_after_s?}. The codes are invalid_request, not_found, not_supported, agency_rejected, agency_unavailable, key_missing, key_rejected, rate_limited, gate_blocked, in_progress and server_error. in_progress comes from a rerun (rerun, or an audit with rerun: true) that needs longer than a client waits for one call: the replay continues in a worker thread, the same call made again waits on that same replay, and the finished result is kept until the workspace changes. DATA_ANALYST_RERUN_WAIT_S sets how long a call waits first (default 45 seconds). The replay gets its own heap, DATA_ANALYST_RERUN_HEAP_MB (default: 60 percent of the memory the process may use, a container's limit when it has one); if it runs out, the audit reports that, and the server keeps running.
| Option (flag / environment) | What it does |
|---|---|
--sources fred,treasury / DATA_ANALYST_SOURCES | serve only these sources |
--domains economy,health / DATA_ANALYST_DOMAINS | serve only the sources in these domains |
--hide-unconfigured / DATA_ANALYST_HIDE_UNCONFIGURED=1 | leave out of listings the sources whose required key is not set up |
--workspace / DATA_ANALYST_WORKSPACE | (stdio) one fixed analysis folder, so a fetch is reused after a restart |
{ "mcpServers": { "data-analyst": { "command": "npx", "args": ["-y", "data-analyst-mcp", "--domains", "economy,health"] } } }
The tool list stays the same size whatever is enabled: sources are found with find_sources, not loaded as tools.
Every result lists its upstream requests (requests: method, credential-free URL, status, cached, time), and citation names the publisher, page and retrieval date. Requests are rate-limited per host (a token bucket), retried with backoff on 429 and 5xx (honoring Retry-After), and kept within each agency's per-minute budgets.
Caching follows each source's terms.
cache.mode: persistent) can be cached on disk in DATA_ANALYST_CACHE (default ~/.cache/data-analyst). census and bea do; opm's terms allow it, but its port downloads again for now.--workspace gives reuse across restarts without keeping copies anywhere else.import { route, brief, fetchSource, compute, registerFacts } from "data-analyst-mcp";
const r = await fetchSource("cdc", { description: "NY deaths 2017", requests: [{ name: "ny", endpoint: "query", params: { dataset: "leading_death", $where: "state = 'New York' AND year = '2017'" } }] }, { out: "./out/ny" }); console.log(r.summary.tables[0].rows, r.citation.text);
listSources, route, brief, requestSchema, fetchSource, ingest, manualBundle, compute,