MCP Hub
Back to servers

Countries MCP Server

MCP Server that gives AI assistants access to comprehensive country data from 250+ countries.

glama
Updated
Mar 28, 2026

Countries MCP Server

🌍 Countries MCP Server

A Model Context Protocol (MCP) server that gives AI assistants access to comprehensive country data from 250+ countries.

CI License: MIT npm version VS Code Marketplace


Wraps the REST Countries API v3.1 — a free, open-source API serving data on 250+ countries. No API key required. The MCP server exposes 13 tools for searching, filtering, comparing, and exploring country data — optimized for AI consumption.

✨ Features

CategoryToolsWhat AI Can Do
🔍 Lookup3 toolsGet country by name, code, or exact full name
🔎 Search3 toolsFind by currency, language, or capital city
🌐 Filter3 toolsFilter by region, subregion, or demonym
📦 Bulk2 toolsGet all countries or multiple by codes
⚖️ Compare1 toolSide-by-side country comparison
🗺️ Neighbors1 toolDiscover bordering countries

📦 Packages

PackageDescriptionDocs
countries-mcp-serverMCP server (npm package)Server README →
countries-mcp-vscodeVS Code extensionExtension README →

🚀 Quick Start

VS Code Extension (recommended)

Install from the VS Code Marketplace or search "Countries MCP" in Extensions. The MCP server appears automatically in VS Code's MCP servers list with start/stop/restart controls.

npm (standalone)

npm install -g countries-mcp-server

Then add to your AI client's MCP configuration. See the Server README for details.

📄 License

MIT © bhayanak

Reviews

No reviews yet

Sign in to write a review