io.github.cyanheads/faostat-mcp-server
UN FAOSTAT global food & agriculture statistics over a local SQLite mirror, via MCP.
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/cyanheads/faostat-mcp-server
- Server address
https://faostat.caseyjhand.com/mcp(streamable-http)- Version
- 0.7.2
- Author
- cyanheads (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 20, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Variables to fill in: FAOSTAT_DOMAINS, FAOSTAT_MIRROR_PATH, FAOSTAT_BULK_BASE_URL, CANVAS_PROVIDER_TYPE, FAOSTAT_DATAFRAME_DROP_ENABLED, FAOSTAT_CLAMP_LIMITS, MCP_LOG_LEVEL.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http faostat-mcp-server https://faostat.caseyjhand.com/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://faostat.caseyjhand.com/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://faostat.caseyjhand.com/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"faostat-mcp-server": {
"url": "https://faostat.caseyjhand.com/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"faostat-mcp-server": {
"type": "http",
"url": "https://faostat.caseyjhand.com/mcp"
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add faostat-mcp-server -e FAOSTAT_DOMAINS=YOUR_FAOSTAT_DOMAINS -e FAOSTAT_MIRROR_PATH=YOUR_FAOSTAT_MIRROR_PATH -e FAOSTAT_BULK_BASE_URL=YOUR_FAOSTAT_BULK_BASE_URL -e CANVAS_PROVIDER_TYPE=YOUR_CANVAS_PROVIDER_TYPE -e FAOSTAT_DATAFRAME_DROP_ENABLED=YOUR_FAOSTAT_DATAFRAME_DROP_ENABLED -e FAOSTAT_CLAMP_LIMITS=YOUR_FAOSTAT_CLAMP_LIMITS -e MCP_LOG_LEVEL=YOUR_MCP_LOG_LEVEL -- npx -y @cyanheads/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"faostat-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"FAOSTAT_DOMAINS": "YOUR_FAOSTAT_DOMAINS",
"FAOSTAT_MIRROR_PATH": "YOUR_FAOSTAT_MIRROR_PATH",
"FAOSTAT_BULK_BASE_URL": "YOUR_FAOSTAT_BULK_BASE_URL",
"CANVAS_PROVIDER_TYPE": "YOUR_CANVAS_PROVIDER_TYPE",
"FAOSTAT_DATAFRAME_DROP_ENABLED": "YOUR_FAOSTAT_DATAFRAME_DROP_ENABLED",
"FAOSTAT_CLAMP_LIMITS": "YOUR_FAOSTAT_CLAMP_LIMITS",
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"faostat-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"FAOSTAT_DOMAINS": "YOUR_FAOSTAT_DOMAINS",
"FAOSTAT_MIRROR_PATH": "YOUR_FAOSTAT_MIRROR_PATH",
"FAOSTAT_BULK_BASE_URL": "YOUR_FAOSTAT_BULK_BASE_URL",
"CANVAS_PROVIDER_TYPE": "YOUR_CANVAS_PROVIDER_TYPE",
"FAOSTAT_DATAFRAME_DROP_ENABLED": "YOUR_FAOSTAT_DATAFRAME_DROP_ENABLED",
"FAOSTAT_CLAMP_LIMITS": "YOUR_FAOSTAT_CLAMP_LIMITS",
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"faostat-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"FAOSTAT_DOMAINS": "YOUR_FAOSTAT_DOMAINS",
"FAOSTAT_MIRROR_PATH": "YOUR_FAOSTAT_MIRROR_PATH",
"FAOSTAT_BULK_BASE_URL": "YOUR_FAOSTAT_BULK_BASE_URL",
"CANVAS_PROVIDER_TYPE": "YOUR_CANVAS_PROVIDER_TYPE",
"FAOSTAT_DATAFRAME_DROP_ENABLED": "YOUR_FAOSTAT_DATAFRAME_DROP_ENABLED",
"FAOSTAT_CLAMP_LIMITS": "YOUR_FAOSTAT_CLAMP_LIMITS",
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 11:34 (test run by L’Atlas)
- Response time
- 1,004 ms (whole test)
- Tools found
- 6
- Announced name
- faostat-mcp-server 0.7.2
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (6)
faostat_list_domains
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 ofaostat_resolve_codes
Resolve labels to the numeric codes or exact alphanumeric item identities faostat_query_observations needs: areas (countries/regions), items (commodities), and elements (metrics). Use query for full-text matching, name_contains for substrinfaostat_query_observations
Query a FAOSTAT domain's data cube by area(s), item(s), element(s), sources, and year range, returning values with units and data-quality flags. Resolve numeric codes or exact alphanumeric item identities with faostat_resolve_codes; elementfaostat_commodity_profile
Assemble a global profile for one QCL item in a single call: top-producing countries, the annual trend, and trade flows (top exporters and importers). The elements follow what the item carries: Production (5510) and tonne trade quantities (faostat_dataframe_query
Run a single-statement SELECT against canvas tables staged by faostat_query_observations and faostat_commodity_profile (faostat_xxxxxxxx). Use DuckDB joins, aggregates, window functions, and CTEs for rankings and time-series analysis. Itemfaostat_dataframe_describe
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 t
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
io.github.cyanheads/faostat-mcp-server · L’Agora · Tested on
[io.github.cyanheads/faostat-mcp-server — L’Agora](https://lagora.dev/en/entry/io.github.cyanheads/faostat-mcp-server)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.cyanheads/faostat-mcp-server)HTML
<a href="https://lagora.dev/en/entry/io.github.cyanheads/faostat-mcp-server"><img src="https://lagora.dev/badge/io.github.cyanheads/faostat-mcp-server.svg?lang=en" alt="io.github.cyanheads/faostat-mcp-server on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
io.github.cyanheads/clinicaltrialsgov-mcp-server Responds
io.github.cyanheads/openlibrary-mcp-server Responds
io.github.cyanheads/arxiv-mcp-server Responds