FAOSTAT MCP

An MCP (Model Context Protocol) server that exposes the full FAOSTAT API as tools for AI assistants. Connect any MCP-compatible client - Claude, Cursor, Windsurf, Zed, or your own agent - to the world's most comprehensive database of food, agriculture, fisheries, forestry, and nutrition statistics, covering 245 countries and territories from the United Nations Food and Agriculture Organization (FAO).

People connecting security tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-04-15 · ★ 16 · #95 OF 182 MAINTAINED SECURITY · VERIFIED 2026-08-25

MIT · Python servers · how we verify → /methodology

01 · Install FAOSTAT MCP

before you install - you'll need

Set FAOSTAT_API_TOKEN before connecting.

Claude Code

claude mcp add berba-q-faostat-mcp -- uvx faostat-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "berba-q-faostat-mcp": {
      "command": "uvx",
      "args": [
        "faostat-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package faostat-mcp - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.berba-q is GitHub-verified and matches the repo owner

03 · What FAOSTAT MCP can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Limitations (from the README)

The FAOSTAT API uses two different code systems: filter codes (used in query parameters) and display codes (shown in response data and bulk CSVs). Always use filter codes from faostat_get_codes when calling faostat_get_data. Area, item, and year codes are the same for both. Only element codes differ:

Latest releases

v1.2.2 · 2026-04-13

1.2.2 (2026-04-13) · add MCP Registry server.json and ownership verification comment

v1.2.1 · 2026-04-13

1.2.1 (2026-04-13) · add workflow_dispatch to allow manual PyPI publish trigger · consolidate publish into release-please workflow to bypass GITHUB_TOKEN event restriction

v1.2.0 · 2026-04-13

1.2.0 (2026-04-13) · Upgrade version to 1.2.0 and implement SQLite disk caching

04 · Who maintains FAOSTAT MCP

FAOSTAT MCP is maintained by berba-q. It's the only MCP server we track from this author; the repo dates to Mar 2026.

05 · Facts

category
security - ranked #95 of 182 actively-maintained security servers as of 2026-08-25.
registry
io.github.berba-q/faostat-mcp (active, first published 2026-04-13)
packages
pypi:faostat-mcp

06 · FAOSTAT MCP FAQ

What is FAOSTAT MCP?

An MCP (Model Context Protocol) server that exposes the full FAOSTAT API as tools for AI assistants. Connect any MCP-compatible client - Claude, Cursor, Windsurf, Zed, or your own agent - to the world's most comprehensive database of food, agriculture, fisheries, forestry, and nutrition statistics, covering 245 countries and territories from the United Nations Food and Agriculture Organization (FAO).

Is FAOSTAT MCP still maintained?

Yes - as of 2026-08-25, its last commit was 2026-04-15. We re-verify nightly.

How do I install FAOSTAT MCP?

Run `uvx faostat-mcp`. The README documents one environment variable (FAOSTAT_API_TOKEN) to set first. Set FAOSTAT_API_TOKEN before connecting. You can also paste the ready-made client config above.

Does FAOSTAT MCP run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to FAOSTAT MCP

More security MCP servers · Whoop MCP (briangaoo) · Shodan · Virustotal · Wireshark MCP · Calllint

More Python MCP servers · Genefoundry · RDL MCP Server · OneTool MCP · Veritasgraph · Bielacki Igdb MCP Server · see all