Koskamo

faostat-mcp-server

An MCP server that provides access to UN FAOSTAT global food and agriculture statistics. It serves data from a local SQLite mirror, allowing agents to list domains, resolve codes, query observations, and run SQL queries against the data for analysis of production, trade, and food security metrics.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

faostat-mcp-server logo, by cyanheadsCommunity listingLocal stdioSource reviewed; not executedPublished by cyanheads
Vendor documentation

What you can do with it

  • Query FAOSTAT statistical domains and their codes
  • Resolve human terms to integer codes for areas and items
  • Query observations by area, item, element, and year range
  • Run read-only SQL SELECT queries against staged canvas tables

Source and maintenance

Community listingRegistry 0.5.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@cyanheads/faostat-mcp-server 0.5.0

npmnpx
@cyanheads/faostat-mcp-server package definition
{
  "version": "0.5.0",
  "transport": "stdio",
  "identifier": "@cyanheads/faostat-mcp-server",
  "runtimeHint": "npx",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "environmentVariables": [
    {
      "name": "FAOSTAT_DOMAINS",
      "format": "string",
      "default": "QCL,TCL,FBS,FS,RL,GLE,RFN,QV",
      "description": "Comma-separated FAOSTAT domain codes to index into the local mirror."
    },
    {
      "name": "FAOSTAT_MIRROR_PATH",
      "format": "string",
      "default": "./.faostat-mirror",
      "description": "Directory holding the per-domain SQLite mirror databases and the shared dimension database."
    },
    {
      "name": "FAOSTAT_BULK_BASE_URL",
      "format": "string",
      "default": "https://bulks-faostat.fao.org/production",
      "description": "FAOSTAT bulk-download service base URL (manifest + per-domain ZIPs)."
    },
    {
      "name": "CANVAS_PROVIDER_TYPE",
      "format": "string",
      "default": "duckdb",
      "description": "DataCanvas engine for SQL over large result sets. Defaults to 'duckdb'; set 'none' to disable analytical staging."
    },
    {
      "name": "FAOSTAT_DATAFRAME_DROP_ENABLED",
      "format": "boolean",
      "default": "false",
      "description": "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."
    },
    {
      "name": "MCP_LOG_LEVEL",
      "format": "string",
      "default": "info",
      "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "faostat-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/faostat-mcp-server@0.5.0"
      ],
      "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>",
        "MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "faostat-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/faostat-mcp-server@0.5.0"
      ],
      "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>",
        "MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "faostat-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/faostat-mcp-server@0.5.0"
      ],
      "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>",
        "MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "faostat-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/faostat-mcp-server@0.5.0"
      ],
      "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>",
        "MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
      }
    }
  }
}

Let your agent find its tools

Find servers like faostat-mcp-server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.