DEMO Country MCP Server
A modular server providing tools for country and state lookups, usable as a CLI or plug-in agent.
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
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.md
Use 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!
संबंधित सर्वर
MSSQL MCP Server
Interact with Microsoft SQL Server (MSSQL) databases. List tables, read data, and execute SQL queries with controlled access.
Keboola MCP Server
An MCP server for interacting with the Keboola Connection data platform.
Sanity MCP Server
Connects Sanity projects with AI tools, allowing AI models to understand content structure and perform operations using natural language.
Property Comps MCP Server
Property comparable sales data across 11 global markets (UK, France, NYC, Singapore, Dubai + 6 more). 4.2M+ government-sourced transactions.
Tabular MCP Server
An MCP server for local Tabular Models like PowerBI. It allows LLM clients to debug, analyze, and compose DAX queries by connecting to a local Tabular model instance.
libSQL by xexr
MCP server for libSQL databases with comprehensive security and management tools. Supports file, local HTTP, and remote Turso databases with connection pooling, transaction support, and 6 specialized database tools.
Unofficial ChEMBL MCP Server
Access the ChEMBL chemical database for drug discovery, chemical informatics, and bioactivity research using specialized tools via its REST API.
Memory
Knowledge graph-based persistent memory system
Neo4j
MCP server for Neo4j — run Cypher queries, explore schema, and inspect database info over stdio
Couchbase
Interact with Couchbase databases using natural language. Perform CRUD operations, query buckets, and execute N1QL queries.