F

FAOSTAT MCP

MCP server · by berba-q

Developer Tools Python v1.3.0

FAOSTAT data for 245 countries: crops, trade, food security, and emissions via 23 MCP tools.

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 1.3.0

Python
uvx faostat-mcp

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "faostat-mcp": {
      "command": "uvx",
      "args": [
        "faostat-mcp"
      ],
      "env": {
        "FAOSTAT_API_TOKEN": "<YOUR_FAOSTAT_API_TOKEN>",
        "FAOSTAT_USERNAME": "<YOUR_FAOSTAT_USERNAME>",
        "FAOSTAT_PASSWORD": "<YOUR_FAOSTAT_PASSWORD>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • FAOSTAT_API_TOKEN secret — Optional. A FAOSTAT access token from the Developer Portal. Tokens expire after 1 hour, so prefer FAOSTAT_USERNAME + FAOSTAT_PASSWORD, which refresh automatically.
  • FAOSTAT_USERNAME required — FAOSTAT account email (free account at https://www.fao.org/faostat/en/#developer-portal). Used to obtain and refresh tokens automatically.
  • FAOSTAT_PASSWORD required secret — FAOSTAT account password. Used with FAOSTAT_USERNAME to obtain and refresh tokens automatically.

GitHub

⭐ 18 stars · 最近更新于 48 天前 · MIT license

About this server

Distributed as Python, listed under Developer Tools. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install FAOSTAT MCP?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is FAOSTAT MCP free to use?

The MCP server itself is free to install. The source is public on https://github.com/berba-q/faostat-mcp. Any third-party service it calls may require its own API key and account.

Which clients support FAOSTAT MCP?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/faostat-mcp.svg)](https://mcpnav.net/server/faostat-mcp/)

HTML

<a href="https://mcpnav.net/server/faostat-mcp/"><img src="https://mcpnav.net/badge/faostat-mcp.svg" alt="Listed on MCPNav" height="20"></a>