faostat-mcp-server MCP Server
UN FAOSTAT global food & agriculture statistics over a local SQLite mirror, via MCP.
faostat-mcp-server scores 44 (Fair), licensed Apache-2.0 and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 8 tools. Filed under Databases. GitHub shows 3 stars. Package registries report about 1,304 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
44 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade D
53/100 for listing completeness. Lost points: no README, 7 of 8 tools barely described, short summary.
How quality is graded
Where the 44 comes from
0 + 20 + 7 + 10 + 4 + 3 = 44. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 7 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cyanheads-faostat-mcp-server": { "command": "npx", "args": [ "-y", "@cyanheads/faostat-mcp-server@0.7.2" ], "env": { "FAOSTAT_DOMAINS": "QCL,TCL,FBS,FS,RL,GLE,RFN,QV", "FAOSTAT_MIRROR_PATH": "./.faostat-mirror", "FAOSTAT_BULK_BASE_URL": "https://bulks-faostat.fao.org/production", "CANVAS_PROVIDER_TYPE": "duckdb", "FAOSTAT_DATAFRAME_DROP_ENABLED": "false", "FAOSTAT_CLAMP_LIMITS": "true", "MCP_LOG_LEVEL": "info" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
FAOSTAT_DOMAINS | Optional | Comma-separated FAOSTAT domain codes to index into the local mirror. |
FAOSTAT_MIRROR_PATH | Optional | Directory holding the per-domain SQLite mirror databases and the shared dimension database. |
FAOSTAT_BULK_BASE_URL | Optional | FAOSTAT bulk-download service base URL (manifest + per-domain ZIPs). |
CANVAS_PROVIDER_TYPE | Optional | DataCanvas engine for SQL over large result sets. Defaults to 'duckdb'; set 'none' to disable analytical staging. |
FAOSTAT_DATAFRAME_DROP_ENABLED | Optional | 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. |
FAOSTAT_CLAMP_LIMITS | Optional | 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. |
MCP_LOG_LEVEL | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
MCP_TRANSPORT_TYPE | Optional | Selects the HTTP transport. |
MCP_HTTP_HOST | Optional | The hostname for the HTTP server. |
MCP_HTTP_PORT | Optional | The port to run the HTTP server on. |
MCP_HTTP_ENDPOINT_PATH | Optional | The endpoint path for the MCP server. |
MCP_AUTH_MODE | Optional | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
FAOSTAT_DOMAINS | Optional | Comma-separated FAOSTAT domain codes to index into the local mirror. |
FAOSTAT_MIRROR_PATH | Optional | Directory holding the per-domain SQLite mirror databases and the shared dimension database. |
FAOSTAT_BULK_BASE_URL | Optional | FAOSTAT bulk-download service base URL (manifest + per-domain ZIPs). |
FAOSTAT_REFRESH_CRON | Optional | Cron expression for the in-process incremental mirror refresh (HTTP transport only). Omit to disable. |
CANVAS_PROVIDER_TYPE | Optional | DataCanvas engine for SQL over large result sets. Defaults to 'duckdb'; set 'none' to disable analytical staging. |
FAOSTAT_DATAFRAME_DROP_ENABLED | Optional | 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. |
FAOSTAT_CLAMP_LIMITS | Optional | 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. |
MCP_LOG_LEVEL | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
Tools8Tool docs quality grade F
All capabilitiesctx.logtoolrequest-scoped logging, ctx.state for tenant-scoped storage
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
About
Global food & agriculture statistics from the UN FAOSTAT bulk-download corpus, served from a local SQLite mirror with a DataCanvas SQL surface, via MCP. STDIO or Streamable HTTP.
Frequently asked questions
What is faostat-mcp-server MCP Server?
UN FAOSTAT global food & agriculture statistics over a local SQLite mirror, via MCP.
How do I install faostat-mcp-server MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. faostat-mcp-server MCP Server runs locally from the npm package @cyanheads/faostat-mcp-server with the command npx -y @cyanheads/faostat-mcp-server@0.7.2.
Is faostat-mcp-server MCP Server free and open source?
Yes. faostat-mcp-server MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does faostat-mcp-server MCP Server support remote (HTTP) connections?
Yes. faostat-mcp-server MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does faostat-mcp-server MCP Server provide?
faostat-mcp-server MCP Server provides 8 tools, including ctx.log, faostat_commodity_profile, faostat_dataframe_describe, and faostat_dataframe_drop. See the full tool list for descriptions and parameters.
How is faostat-mcp-server MCP Server's trust score calculated?
faostat-mcp-server MCP Server scores 44 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.