Faostat Mcp Server
by github.com/cyanheads · v0.7.2 · updated Nov 20, 2026
UN FAOSTAT global food & agriculture statistics over a local SQLite mirror, via MCP.
Connect to the hosted server
Add this URL as a custom connector in your AI client.
Server URL
https://faostat.caseyjhand.com/mcpClaude Code
claude mcp add --transport http faostat-mcp-server https://faostat.caseyjhand.com/mcpRun it locally
Install the package and point your AI client at it.
npm
npx -y @cyanheads/[email protected]Environment variables
FAOSTAT_DOMAINSComma-separated FAOSTAT domain codes to index into the local mirror.
FAOSTAT_MIRROR_PATHDirectory holding the per-domain SQLite mirror databases and the shared dimension database.
FAOSTAT_BULK_BASE_URLFAOSTAT bulk-download service base URL (manifest + per-domain ZIPs).
CANVAS_PROVIDER_TYPEDataCanvas engine for SQL over large result sets. Defaults to 'duckdb'; set 'none' to disable analytical staging.
FAOSTAT_DATAFRAME_DROP_ENABLEDSet 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.
FAOSTAT_CLAMP_LIMITSA 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.
MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
npm
npx -y @cyanheads/[email protected]Environment variables
MCP_TRANSPORT_TYPESelects the HTTP transport.
MCP_HTTP_HOSTThe hostname for the HTTP server.
MCP_HTTP_PORTThe port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATHThe endpoint path for the MCP server.
MCP_AUTH_MODEAuthentication mode to use: 'none', 'jwt', or 'oauth'.
FAOSTAT_DOMAINSComma-separated FAOSTAT domain codes to index into the local mirror.
FAOSTAT_MIRROR_PATHDirectory holding the per-domain SQLite mirror databases and the shared dimension database.
FAOSTAT_BULK_BASE_URLFAOSTAT bulk-download service base URL (manifest + per-domain ZIPs).
FAOSTAT_REFRESH_CRONCron expression for the in-process incremental mirror refresh (HTTP transport only). Omit to disable.
CANVAS_PROVIDER_TYPEDataCanvas engine for SQL over large result sets. Defaults to 'duckdb'; set 'none' to disable analytical staging.
FAOSTAT_DATAFRAME_DROP_ENABLEDSet 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.
FAOSTAT_CLAMP_LIMITSA 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.
MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
More from github.com/cyanheads
Gdelt Mcp Server
github.com/cyanheads
Search and analyze global news coverage and US TV transcripts via the GDELT Project APIs.
Openfoodfacts Mcp Server
github.com/cyanheads
Barcode lookup, nutrition search, and product comparison for 3M+ crowd-sourced food products.
Pubchem Mcp Server
github.com/cyanheads
Search PubChem compounds, properties, safety data, bioactivity, and cross-references.
Pubmed Mcp Server
github.com/cyanheads
Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms.
Canada Parliament Mcp Server
github.com/cyanheads
Track Canadian federal bills, MPs, House votes, and Hansard speeches.
Nasa Power Mcp Server
github.com/cyanheads
Query NASA POWER solar, wind, building, and agroclimatology data.
More MCP servers
Codify Mcp
github.com/cybairfly
Easily create reusable automation tools from casual browser actions using Apify Agent
Database Admin
github.com/cybeleri
Database admin MCP: schema inspection, query optimization for PostgreSQL and MySQL
Finance
github.com/cybeleri
Financial data MCP server: stock quotes, crypto prices, portfolio tracking, market analysis
SoleScout
github.com/cyberLdy
Live sneaker & streetwear prices and in-stock sizes across 600+ US stores, by style code.
code-graph
github.com/cyberchronos00
Local dependency graph: callers, entry points and file:line evidence for what a change affects.
OpsecForge
github.com/cyberdroid2077
Local MCP tools that keep secrets out of agent context: redact files, scan commits, verify webhooks.