mcp-countries-server
Verified Safeby yuvko24
Overview
Provides an API wrapper for accessing country information from an external REST API (restcountries.com), exposing tools to query country details by name, list by region, or search by language.
Installation
python server.pySecurity Notes
The server uses `urllib.parse.quote` for user-provided input in URLs, which helps prevent URL injection. It uses `httpx` with a timeout, which is good practice for external API calls. No `eval` or hardcoded secrets are present. The primary external risk comes from the reliability and security of the `restcountries.com` API itself, which is beyond the scope of this code's direct control. The server binds to 0.0.0.0, making it externally accessible if deployed without proper firewalling, but this is standard for server applications.
Similar Servers
OECD-MCP-server
Provides AI assistants with programmatic access to OECD's extensive economic and statistical datasets via the SDMX API.
mcp-search-and-fetch
This server provides an API to search and retrieve Minecraft Coder Pack (MCP) mapping data, enhancing accessibility and query capabilities for developers.
mcp-weather
A Model Context Protocol (MCP) server for retrieving weather alerts and forecasts for US locations using the National Weather Service (NWS) API.
numbeo-mcp
Provides a Micro-Capability Platform (MCP) server to access Numbeo API data, offering insights into cost of living, crime rates, healthcare, and quality of life for cities and countries.