Action1 MCP by usefulapi
Read endpoints, missing updates, CVE vulnerabilities, installed software and reports in Action1.
Description from the maker (original English)
FAOSTAT data for 245 countries: crops, trade, food security, and emissions via 23 MCP tools.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
FAOSTAT_API_TOKEN, FAOSTAT_USERNAME, FAOSTAT_PASSWORDValues marked secret are keys to your account. Never share them or paste them into a chat.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"faostat": {
"command": "uvx",
"args": [
"faostat-mcp"
],
"env": {
"FAOSTAT_API_TOKEN": "your-value",
"FAOSTAT_USERNAME": "your-value",
"FAOSTAT_PASSWORD": "your-value"
}
}
}
}Run this in your terminal
claude mcp add faostat --env FAOSTAT_API_TOKEN=your-value --env FAOSTAT_USERNAME=your-value --env FAOSTAT_PASSWORD=your-value -- uvx faostat-mcpFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"faostat": {
"command": "uvx",
"args": [
"faostat-mcp"
],
"env": {
"FAOSTAT_API_TOKEN": "your-value",
"FAOSTAT_USERNAME": "your-value",
"FAOSTAT_PASSWORD": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"faostat": {
"type": "stdio",
"command": "uvx",
"args": [
"faostat-mcp"
],
"env": {
"FAOSTAT_API_TOKEN": "your-value",
"FAOSTAT_USERNAME": "your-value",
"FAOSTAT_PASSWORD": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 8, 2026
The registry name was verified with the GitHub account berba-q, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: FAOSTAT_API_TOKEN, FAOSTAT_USERNAME, FAOSTAT_PASSWORD
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (1.3.0) reached the registry 36 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: Action1 MCP by usefulapi, ipdata MCP by usefulapi, MaxMind minFraud MCP by usefulapi
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Read endpoints, missing updates, CVE vulnerabilities, installed software and reports in Action1.
Look up location, network, company and threat data for IP addresses and ASNs in ipdata.
MCP server for MaxMind minFraud — score transactions for fraud risk from your AI assistant.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Query UN food and agriculture statistics with AI — powered by the Model Context Protocol
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).
Keywords: FAOSTAT, MCP server, Model Context Protocol, AI agriculture data, FAO statistics, food security AI, agricultural data Python, UN data, crop production statistics, Claude, Cursor, Windsurf
Researchers, data journalists, policy analysts, and developers can ask natural-language questions and get answers directly from FAOSTAT — without writing a single API call. Your AI assistant handles domain discovery, filtering, and interpretation automatically.
Who is this for?
FAOSTAT is the statistical database of the United Nations Food and Agriculture Organization (FAO). It is the world's most comprehensive freely available source of data on food and agriculture, covering:
Data spans from 1961 to the present, across 245 countries and territories, in multiple languages.
The Model Context Protocol is an open standard that lets AI assistants call external tools at runtime. This server registers all FAOSTAT API endpoints as discoverable tools — your AI assistant automatically selects and chains the right calls when you ask a question.
faostat_setup — store credentials once, never touch a config file againfaostat_search_codes — agents ask before guessing ambiguous codesListed on the official MCP Registry — discoverable directly from Claude Desktop, Cursor, and any MCP-compatible client.
# Install with pip or uvx (no virtual env needed):
pip install faostat-mcp uvx faostat-mcp
Updating: uvx faostat-mcp picks up new releases when your AI client restarts the server; if you still see an old version, run uvx faostat-mcp@latest once. pip and uv tool install don't upgrade on their own: run pip install -U faostat-mcp or uv tool upgrade faostat-mcp, then restart your client. The server also checks PyPI once per session and logs a notice to stderr when a newer version exists (opt out with FAOSTAT_NO_UPDATE_CHECK=1).
git clone https://github.com/berba-q/faostat-mcp.git
cd faostat-mcp pip install -e .
Easiest — use the `faostat_setup` tool (no config files needed):
Once the server is running and connected to your AI client, ask your assistant:
"Call faostat_setup with my FAOSTAT username and password."
The tool validates your credentials against the API, then stores them securely in your system keychain (macOS/Windows) or ~/.config/faostat-mcp/credentials.json (Linux/Docker). All subsequent sessions authenticate automatically — no env vars or .env file required.
Alternative — environment variables (CI/CD, Docker, advanced):
cp .env.example .env
Register for a free FAOSTAT API account at the FAOSTAT Developer Portal.
The server works without Redis (SQLite disk cache is used instead). For shared or high-volume setups, launch Redis via Docker:
docker run -p 6379:6379 -it redis/redis-stack:latest
Then set REDIS_HOST_IP_ADDRESS, REDIS_HOST_PORT_NUMBER, and REDIS_DATABASE in .env.
mcp dev faostat_mcp/server.py
Opens a browser UI at http://localhost:5173 where you can browse and test all 23 tools interactively.
python -m faostat_mcp.server
faostat-mcp
The server uses a 3-tier cache to minimise redundant API calls. FAOSTAT data updates at most daily, so most repeated queries are served instantly.
| Tier | TTL | Scope | Notes |
|---|---|---|---|
| In-memory | 20 min | Current session | Fastest; reset on server restart |
| SQLite disk | 24 h | Cross-session | ~/.cache/faostat-mcp/cache.db; no extra infra |
| Redis | 30 min | Multi-user shared | Optional; set REDIS_* env vars to enable |
Cache lookup order: memory → disk → Redis → API call. A disk or Redis hit promotes the value to memory for the rest of the session.
To disable the disk cache (e.g. on a read-only filesystem), set FAOSTAT_DISK_CACHE=false.
The server speaks standard MCP over stdio, so it works with any compatible client.
{
"mcpServers": { "faostat": { "command": "uvx", "args": ["faostat-mcp"] } } }
{
"mcpServers": { "faostat": { "command": "python", "args": ["-m", "faostat_mcp.server"], "cwd": "/path/to/faostat-mcp", "env": { "FAOSTAT_USERNAME": "your_email", "FAOSTAT_PASSWORD": "your_password" } } } }
Add one of the blocks above to:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonRestart Claude Desktop — faostat will appear in the tools panel.
Add the block to .cursor/mcp.json in your project root, or to your global Cursor MCP settings. See the Cursor MCP docs for details.
Any client that supports MCP stdio servers accepts the same config shape. Consult your client's documentation for the config file location.
Once connected, ask your AI assistant questions like:
| Domain | Example Question |
|---|---|
| Crop production | *"What were the top 10 wheat-producing countries in 2022?"* |
| Food security | *"Show me food security indicators for Ethiopia from 2015 to 2020"* |
| Trade | *"Which countries are most dependent on food imports?"* |
| Yield comparison | *"Compare maize yields between the USA and Brazil over the last decade"* |
| Emissions | *"What are greenhouse gas emissions from agriculture in Sub-Saharan Africa?"* |
| Discovery | *"What agricultural datasets does FAOSTAT have for trade?"* |
Your AI assistant will automatically:
faostat_list_groups or faostat_groups_and_domains to find the right domainfaostat_search_codes to look up a code by name — if multiple codes match (e.g. "production" matches both *Production* and *Gross Production Index*), the assistant pauses and asks you to choose before proceedingfaostat_resolve_name — if no matching FAOSTAT definition is found for your request (e.g. *"Global South"*), the assistant tells you so and offers the FAO-defined alternatives (e.g. *"West Africa"* → *Western Africa*) instead of inventing onefaostat_get_data or faostat_get_rankings with the confirmed codes| Tool | Description |
|---|---|
faostat_ping | Check API health |
faostat_list_groups | List all data groups |
faostat_groups_and_domains | Full domain tree |
faostat_list_domains | Domains within a group |
faostat_get_dimensions | Available filters for a domain |
faostat_get_codes | Browse all country/item/element filter codes |
faostat_search_codes | Search codes by name — returns requires_confirmation=true when multiple codes match, forcing the agent to ask you before proceeding |
faostat_get_definitions | Domain definitions |
faostat_get_definitions_by_type | Definitions by type within a domain |
faostat_definition_types | All definition types |
faostat_get_definition_type | FAO-wide definitions for one type, no domain needed (regions/areagroup, countries, indicators, items, units, flags…) with search and limit |
faostat_resolve_name | Check a region, country or indicator name against FAO definitions — returns no_matching_definition when the lookup finds no match; definition codes require domain filter lookup |
faostat_get_metadata | Full domain metadata |
faostat_get_metadata_print | Printable metadata |
| Tool | Description |
|---|---|
faostat_get_data | Fetch actual statistics |
faostat_get_datasize | Estimate query result size before fetching |
faostat_get_rankings | Top-N country rankings |
faostat_get_report_data | Report data |
faostat_get_report_headers | Report column headers |
faostat_list_bulk_downloads | Bulk download file listing |
|
Only the beginning is shown; read the rest in the repo