Country MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
DEMO Country MCP Server
A modular MCP server exposing tools for country and state lookups. Ready for use as a CLI or plug-in agent.
Quick Start
Clone and set up your environment
git clone <REPO_URL> cd mcp-server
Build the package
python -m build
Install globally with pipx
pipx install dist/country_mcp_server-*.whl --force
Run the server
country-mcp-server
Or, for development with Inspector UI:
mcp dev country_server_mcp/main.py
Related MCP server: DuckDuckGo MCP Server
Add Your Own Tools
Put new modules in
country_server_mcp/tools/.Each module should define a
register(mcp)function and add tools using@mcp.tool().Import and call each new tool's
register(mcp)inmain.py.Rebuild and reinstall with
pipx install dist/… --force.
Example Project Layout
country_server_mcp/
__init__.py
main.py
tools/
__init__.py
countries.py
states.py
pyproject.toml
README.mdUse as an MCP agent
Add to your orchestrator config:
{
"mcpServers": {
"country": {
"command": "country-mcp-server",
"args": []
}
}
}Notes
If you update tools, rebuild and reinstall the package.
Make sure your CLI binary is in your PATH (
~/.local/binfor pipx by default).For dev mode, editable install:
pip install -e .
Let me know if you want it even more minimal or need a specific “getting started” blurb for a team!
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides country-related data from the REST Countries API, allowing users to query information about countries through natural language.ISC
- -licenseNot gradedqualityNot gradedmaintenanceA basic MCP server with example tools including message echo functionality and server information retrieval. Built with FastMCP framework and supports both stdio and HTTP transports.-
- FlicenseNot gradedqualityDmaintenanceA simple demonstration MCP server that provides an echo tool and resource for learning how to build MCP servers. Serves as a starting point and template for creating custom MCP server implementations.1-
- AlicenseNot gradedqualityDmaintenanceA minimal, well-commented MCP server designed to teach how MCP servers work, with example tools like adding numbers, formatting text, and getting the current time.8 npmISC