Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
제작자가 쓴 설명(영어 원문)
FAOSTAT data for 245 countries: crops, trade, food security, and emissions via 23 MCP tools.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
FAOSTAT_API_TOKEN, FAOSTAT_USERNAME, FAOSTAT_PASSWORD비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"faostat": {
"command": "uvx",
"args": [
"faostat-mcp"
],
"env": {
"FAOSTAT_API_TOKEN": "your-value",
"FAOSTAT_USERNAME": "your-value",
"FAOSTAT_PASSWORD": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add faostat --env FAOSTAT_API_TOKEN=your-value --env FAOSTAT_USERNAME=your-value --env FAOSTAT_PASSWORD=your-value -- uvx faostat-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"faostat": {
"command": "uvx",
"args": [
"faostat-mcp"
],
"env": {
"FAOSTAT_API_TOKEN": "your-value",
"FAOSTAT_USERNAME": "your-value",
"FAOSTAT_PASSWORD": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"faostat": {
"type": "stdio",
"command": "uvx",
"args": [
"faostat-mcp"
],
"env": {
"FAOSTAT_API_TOKEN": "your-value",
"FAOSTAT_USERNAME": "your-value",
"FAOSTAT_PASSWORD": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 berba-q 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: FAOSTAT_API_TOKEN, FAOSTAT_USERNAME, FAOSTAT_PASSWORD
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.3.0)은 36일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.
같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, Asset Notation
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Read and maintain an Asset Notation file on disk: net worth, holdings, valuations, CSV import.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Query UN food and agriculture statistics with AI — powered by the Model Context Protocol
An MCP (Model Context Protocol) server that exposes the full FAOSTAT API as tools for AI assistants. Connect any MCP-compatible client — Claude, Cursor, Windsurf, Zed, or your own agent — to the world's most comprehensive database of food, agriculture, fisheries, forestry, and nutrition statistics, covering 245 countries and territories from the United Nations Food and Agriculture Organization (FAO).
Keywords: FAOSTAT, MCP server, Model Context Protocol, AI agriculture data, FAO statistics, food security AI, agricultural data Python, UN data, crop production statistics, Claude, Cursor, Windsurf
Researchers, data journalists, policy analysts, and developers can ask natural-language questions and get answers directly from FAOSTAT — without writing a single API call. Your AI assistant handles domain discovery, filtering, and interpretation automatically.
Who is this for?
FAOSTAT is the statistical database of the United Nations Food and Agriculture Organization (FAO). It is the world's most comprehensive freely available source of data on food and agriculture, covering:
Data spans from 1961 to the present, across 245 countries and territories, in multiple languages.
The Model Context Protocol is an open standard that lets AI assistants call external tools at runtime. This server registers all FAOSTAT API endpoints as discoverable tools — your AI assistant automatically selects and chains the right calls when you ask a question.
faostat_setup — store credentials once, never touch a config file againfaostat_search_codes — agents ask before guessing ambiguous codesListed on the official MCP Registry — discoverable directly from Claude Desktop, Cursor, and any MCP-compatible client.
# Install with pip or uvx (no virtual env needed):
pip install faostat-mcp uvx faostat-mcp
Updating: uvx faostat-mcp picks up new releases when your AI client restarts the server; if you still see an old version, run uvx faostat-mcp@latest once. pip and uv tool install don't upgrade on their own: run pip install -U faostat-mcp or uv tool upgrade faostat-mcp, then restart your client. The server also checks PyPI once per session and logs a notice to stderr when a newer version exists (opt out with FAOSTAT_NO_UPDATE_CHECK=1).
git clone https://github.com/berba-q/faostat-mcp.git
cd faostat-mcp pip install -e .
Easiest — use the `faostat_setup` tool (no config files needed):
Once the server is running and connected to your AI client, ask your assistant:
"Call faostat_setup with my FAOSTAT username and password."
The tool validates your credentials against the API, then stores them securely in your system keychain (macOS/Windows) or ~/.config/faostat-mcp/credentials.json (Linux/Docker). All subsequent sessions authenticate automatically — no env vars or .env file required.
Alternative — environment variables (CI/CD, Docker, advanced):
cp .env.example .env
Register for a free FAOSTAT API account at the FAOSTAT Developer Portal.
The server works without Redis (SQLite disk cache is used instead). For shared or high-volume setups, launch Redis via Docker:
docker run -p 6379:6379 -it redis/redis-stack:latest
Then set REDIS_HOST_IP_ADDRESS, REDIS_HOST_PORT_NUMBER, and REDIS_DATABASE in .env.
mcp dev faostat_mcp/server.py
Opens a browser UI at http://localhost:5173 where you can browse and test all 23 tools interactively.
python -m faostat_mcp.server
faostat-mcp
The server uses a 3-tier cache to minimise redundant API calls. FAOSTAT data updates at most daily, so most repeated queries are served instantly.
| Tier | TTL | Scope | Notes |
|---|---|---|---|
| In-memory | 20 min | Current session | Fastest; reset on server restart |
| SQLite disk | 24 h | Cross-session | ~/.cache/faostat-mcp/cache.db; no extra infra |
| Redis | 30 min | Multi-user shared | Optional; set REDIS_* env vars to enable |
Cache lookup order: memory → disk → Redis → API call. A disk or Redis hit promotes the value to memory for the rest of the session.
To disable the disk cache (e.g. on a read-only filesystem), set FAOSTAT_DISK_CACHE=false.
The server speaks standard MCP over stdio, so it works with any compatible client.
{
"mcpServers": { "faostat": { "command": "uvx", "args": ["faostat-mcp"] } } }
{
"mcpServers": { "faostat": { "command": "python", "args": ["-m", "faostat_mcp.server"], "cwd": "/path/to/faostat-mcp", "env": { "FAOSTAT_USERNAME": "your_email", "FAOSTAT_PASSWORD": "your_password" } } } }
Add one of the blocks above to:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonRestart Claude Desktop — faostat will appear in the tools panel.
Add the block to .cursor/mcp.json in your project root, or to your global Cursor MCP settings. See the Cursor MCP docs for details.
Any client that supports MCP stdio servers accepts the same config shape. Consult your client's documentation for the config file location.
Once connected, ask your AI assistant questions like:
| Domain | Example Question |
|---|---|
| Crop production | *"What were the top 10 wheat-producing countries in 2022?"* |
| Food security | *"Show me food security indicators for Ethiopia from 2015 to 2020"* |
| Trade | *"Which countries are most dependent on food imports?"* |
| Yield comparison | *"Compare maize yields between the USA and Brazil over the last decade"* |
| Emissions | *"What are greenhouse gas emissions from agriculture in Sub-Saharan Africa?"* |
| Discovery | *"What agricultural datasets does FAOSTAT have for trade?"* |
Your AI assistant will automatically:
faostat_list_groups or faostat_groups_and_domains to find the right domainfaostat_search_codes to look up a code by name — if multiple codes match (e.g. "production" matches both *Production* and *Gross Production Index*), the assistant pauses and asks you to choose before proceedingfaostat_resolve_name — if no matching FAOSTAT definition is found for your request (e.g. *"Global South"*), the assistant tells you so and offers the FAO-defined alternatives (e.g. *"West Africa"* → *Western Africa*) instead of inventing onefaostat_get_data or faostat_get_rankings with the confirmed codes| Tool | Description |
|---|---|
faostat_ping | Check API health |
faostat_list_groups | List all data groups |
faostat_groups_and_domains | Full domain tree |
faostat_list_domains | Domains within a group |
faostat_get_dimensions | Available filters for a domain |
faostat_get_codes | Browse all country/item/element filter codes |
faostat_search_codes | Search codes by name — returns requires_confirmation=true when multiple codes match, forcing the agent to ask you before proceeding |
faostat_get_definitions | Domain definitions |
faostat_get_definitions_by_type | Definitions by type within a domain |
faostat_definition_types | All definition types |
faostat_get_definition_type | FAO-wide definitions for one type, no domain needed (regions/areagroup, countries, indicators, items, units, flags…) with search and limit |
faostat_resolve_name | Check a region, country or indicator name against FAO definitions — returns no_matching_definition when the lookup finds no match; definition codes require domain filter lookup |
faostat_get_metadata | Full domain metadata |
faostat_get_metadata_print | Printable metadata |
| Tool | Description |
|---|---|
faostat_get_data | Fetch actual statistics |
faostat_get_datasize | Estimate query result size before fetching |
faostat_get_rankings | Top-N country rankings |
faostat_get_report_data | Report data |
faostat_get_report_headers | Report column headers |
faostat_list_bulk_downloads | Bulk download file listing |
|
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요