Skip to content
mcp/skillhub

Faostat MCP Server

by cyanheadsio.github.cyanheads/faostat-mcp-serverv0.3.0

UN FAOSTAT global food & agriculture statistics over a local SQLite mirror, via MCP.

2Node.jsstdioremoteofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Active6d ago

Install Faostat MCP server

Install in Claude Code

claude mcp add faostat-cyanheads -- npx -y @cyanheads/faostat-mcp-server

Configuration

VariableRequiredSecretDescription
FAOSTAT_DOMAINS——Comma-separated FAOSTAT domain codes to index into the local mirror.
FAOSTAT_MIRROR_PATH——Directory holding the per-domain SQLite mirror databases and the shared dimension database.
FAOSTAT_BULK_BASE_URL——FAOSTAT bulk-download service base URL (manifest + per-domain ZIPs).
CANVAS_PROVIDER_TYPE——Set to 'duckdb' to enable the DataCanvas SQL surface (default), or 'none' to disable analytical staging.
FAOSTAT_DATAFRAME_DROP_ENABLED——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.
MCP_LOG_LEVEL——Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').
MCP_TRANSPORT_TYPE——Selects the HTTP transport.
MCP_HTTP_HOST——The hostname for the HTTP server.
MCP_HTTP_PORT——The port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATH——The endpoint path for the MCP server.
MCP_AUTH_MODE——Authentication mode to use: 'none', 'jwt', or 'oauth'.
FAOSTAT_REFRESH_CRON——Cron expression for the in-process incremental mirror refresh (HTTP transport only). Omit to disable.

Remote endpoints

  • streamable-httphttps://faostat.caseyjhand.com/mcp

Freshness

Active — last maintenance signal 6d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-04 · 6d ago · GitHub

  2. Latest release

    2026-10-04 · 6d ago · GitHub · v0.3.0

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-10-04 · 6d ago · official registry · v0.3.0

FAQ

›How do I install the Faostat MCP server in Claude Code?

Run: claude mcp add faostat-cyanheads -- npx -y @cyanheads/faostat-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Faostat require an API key?

No required environment variables are declared in its published metadata.

›Can I use Faostat as a remote (hosted) MCP server?

Yes — it offers both a hosted endpoint and a local stdio package.

›Is Faostat in the official MCP registry?

Yes, as io.github.cyanheads/faostat-mcp-server.

Alternatives to Faostat

Other database MCP servers.

View all