Skip to content
Agentmart
Submit a tool

Faostat MCP Server

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

Connector by cyanheads · GitHub account verified by the MCP Registry

IndexedApache-2.0Local (stdio)Remote (HTTP)★ 2
Write a review

Install

Works with Claude Code, VS Code, Codex, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/cyanheads-faostat-mcp-server

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Remote endpoint

  • https://faostat.caseyjhand.com/mcp Remote (HTTP)

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
6 read · 0 write · 0 deleteRead-only
Secrets
None asked for
Install scripts
Not scanned yet
Runs as
Node.js package

Tools by what they do 6

From the running server's own tool list (tools/list) on Oct 25, 2026.

Read 6 · Look things up without changing anything.

  • faostat_commodity_profile
  • faostat_dataframe_describe
  • faostat_dataframe_query
  • faostat_list_domains
  • faostat_query_observations
  • faostat_resolve_codes

Secrets and settings it asks for

Other settings (environment variables or headers).

  • CANVAS_PROVIDER_TYPE
  • FAOSTAT_BULK_BASE_URL
  • FAOSTAT_DATAFRAME_DROP_ENABLED
  • FAOSTAT_DOMAINS
  • FAOSTAT_MIRROR_PATH
  • MCP_LOG_LEVEL

Network hosts it talks to 1

  • faostat.caseyjhand.com · found in remote endpoint, install command

Tools (6)

As the server listed them on Oct 25, 2026. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • faostat_commodity_profilefaostat-mcp-server: commodity profileread-only

    Assemble a global profile for one QCL item in a single call: top-producing countries, the annual production trend, and trade flows (top exporters and importers). Supply item_code or item_query; code wins when both are supplied. A query selects a unique normalized exact label, otherwise a unique relevance match; ambiguous queries require an explicit code. Each ranking uses the selected item at each country's own latest year with data, grouped by unit. The trend is returned inline as year/value points. Country-level only (aggregates excluded). QCL is required; unavailable TCL yields a production…

  • faostat_dataframe_describefaostat-mcp-server: dataframe describeread-only

    List the canvas tables (faostat_xxxxxxxx) staged by faostat_query_observations and faostat_commodity_profile, each with its source tool, the query parameters that produced it, creation/expiry timestamps, row count, and column schema. Call this before faostat_dataframe_query to discover the exact table and column names to reference in SQL. Tables are listed newest-first and paged: pass `name` to describe one table outright, or page with `offset` + `limit` — when the response reports `truncated`, pass the returned `nextOffset` to fetch the rest.

  • faostat_dataframe_queryfaostat-mcp-server: dataframe queryread-only

    Run a single-statement SELECT against the canvas tables staged by faostat_query_observations and faostat_commodity_profile (table names look like faostat_xxxxxxxx). Use this for cross-country and cross-item aggregation, GROUP BY rankings, joins, and time-series analysis over the full result set the inline preview only sampled. Standard DuckDB SQL — joins, aggregates, window functions, CTEs all work. Read-only: writes, DDL, DROP, COPY, PRAGMA, ATTACH, and external-file table functions are rejected; system catalogs (information_schema, sqlite_master, duckdb_*) are denied — list staged tables via…

  • faostat_list_domainsfaostat-mcp-server: list domainsread-only

    Discover FAOSTAT statistical domains (production, trade, food balances, food security, land use, agri-emissions, prices, value) with their codes, descriptions, last-update date, upstream row count, and local index status. Every query keys on a domain code from here. The `indexed` flag tells you which domains are queryable right now; un-indexed domains exist in the catalog but must be added to FAOSTAT_DOMAINS and re-synced before faostat_query_observations can read them. The catalog runs to ~69 domains with long descriptions, so responses are paged: narrow with `topic` / `indexed_only`, pass `c…

  • faostat_query_observationsfaostat-mcp-server: query observationsread-only

    Query a FAOSTAT domain's data cube by area(s), item(s), element(s), and year range, returning observations (area, item, element, year, value, unit, and the data-quality flag). Resolve codes first with faostat_resolve_codes — the cube is unqueryable without them. Aggregate regions (World, continents, economic groupings) are EXCLUDED by default so a naive SUM does not double-count a region with its member countries; set include_aggregates=true to get the regional roll-ups, or pass explicit area_codes to query exactly what you name. Small result sets return inline; large ones spill to a DataCanva…

  • faostat_resolve_codesfaostat-mcp-server: resolve codesread-only

    Resolve human terms to the opaque integer codes faostat_query_observations needs, within a dimension: areas (countries/regions), items (commodities), or elements (metrics like production, yield, import quantity). Pass `query` for fuzzy full-text matching ("maize" → item 56), `name_contains` for a substring filter, or `code` for an exact-code lookup; omit all three to list the whole dimension. Item and element results are scoped to the requested domain — only codes present in that domain's cube are returned, so a resolved code is always queryable there (areas are shared across domains). Page la…

Signals

Stars
2
Forks
0
Open issues
1
Weekly downloads
301
Last commit
Oct 18, 2026 (10 days ago)
Last release
Oct 25, 2026 (3 days ago)
Last package publish
Oct 18, 2026 (10 days ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.cyanheads/faostat-mcp-server
Version
0.4.1
Auth
Auth not stated
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 26, 2026

More from cyanheads

Cite this page

Faostat MCP Server. Agent Mart. https://agentmart.dev/connectors/cyanheads-faostat-mcp-server (last updated 2026-10-26)