faostat-mcp-server
UN FAOSTAT global food & agriculture statistics over a local SQLite mirror, via MCP.
Documentation & Preview
{ "mcpServers": { "mcp-faostat-mcp-server-1d2f2dd26c4921572ee0": { "command": "npx", "args": [ "-y", "--package", "@cyanheads/faostat-mcp-server@0.7.2", "faostat-mcp-server" ], "env": { "FAOSTAT_DOMAINS": "${ENV_FAOSTAT_DOMAINS}", "FAOSTAT_MIRROR_PATH": "${ENV_FAOSTAT_MIRROR_PATH}", "FAOSTAT_BULK_BASE_URL": "${ENV_FAOSTAT_BULK_BASE_URL}", "CANVAS_PROVIDER_TYPE": "${ENV_CANVAS_PROVIDER_TYPE}", "FAOSTAT_DATAFRAME_DROP_ENABLED": "${ENV_FAOSTAT_DATAFRAME_DROP_ENABLED}", "FAOSTAT_CLAMP_LIMITS": "${ENV_FAOSTAT_CLAMP_LIMITS}", "MCP_LOG_LEVEL": "${ENV_MCP_LOG_LEVEL}" } } }, "setup": { "fields": [ { "id": "ENV_FAOSTAT_DOMAINS", "label": "FAOSTAT_DOMAINS", "description": "Comma-separated FAOSTAT domain codes to index into the local mirror.", "required": false, "secret": false, "default": "QCL,TCL,FBS,FS,RL,GLE,RFN,QV" }, { "id": "ENV_FAOSTAT_MIRROR_PATH", "label": "FAOSTAT_MIRROR_PATH", "description": "Directory holding the per-domain SQLite mirror databases and the shared dimension database.", "required": false, "secret": false, "default": "./.faostat-mirror" }, { "id": "ENV_FAOSTAT_BULK_BASE_URL", "label": "FAOSTAT_BULK_BASE_URL", "description": "FAOSTAT bulk-download service base URL (manifest + per-domain ZIPs).", "required": false, "secret": false, "default": "https://bulks-faostat.fao.org/production" }, { "id": "ENV_CANVAS_PROVIDER_TYPE", "label": "CANVAS_PROVIDER_TYPE", "description": "DataCanvas engine for SQL over large result sets. Defaults to 'duckdb'; set 'none' to disable analytical staging.", "required": false, "secret": false, "default": "duckdb" }, { "id": "ENV_FAOSTAT_DATAFRAME_DROP_ENABLED", "label": "FAOSTAT_DATAFRAME_DROP_ENABLED", "description": "Set to 'true' to make faostat_dataframe_drop callable, so a staged table can be dropped before its 2-hour TTL. Off by default: the tool is registered disabled.", "required": false, "secret": false, "default": "false" }, { "id": "ENV_FAOSTAT_CLAMP_LIMITS", "label": "FAOSTAT_CLAMP_LIMITS", "description": "A count input (limit, top_n, row_limit) above its cap is served at the cap with a notice. Set to 'false' to advertise each cap as a schema maximum and reject a larger value instead.", "required": false, "secret": false, "default": "true" }, { "id": "ENV_MCP_LOG_LEVEL", "label": "MCP_LOG_LEVEL", "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').", "required": false, "secret": false, "default": "info" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.cyanheads/faostat-mcp-server", "registryVersion": "0.7.2", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.cyanheads%2Ffaostat-mcp-server/versions/0.7.2", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "@cyanheads/faostat-mcp-server", "version": "0.7.2", "integrity": "sha512-U3u+mccA5OCCkpSn/sktoQlL1+EaPQfRLAj2mTuuRcJYNhJOkBgh+GmFOxWYUO6ArZH289Bc0qHg0p0PLYR5xQ==", "registryNameMatched": "io.github.cyanheads/faostat-mcp-server", "checkedAt": "2026-11-21T00:20:34.825Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }