Riyadh Districts MCP Server
An MCP (Model Context Protocol) server that provides tools for finding distances between districts in Riyadh, Saudi Arabia.
Features
192 Riyadh districts with coordinates
Arabic & English name support with normalization
5 MCP tools for querying district data
Distance calculation using Haversine formula
MCP Tools
Tool | Description |
| Get top N nearest districts to a given district |
| Calculate distance (km) between two districts |
| List all available Riyadh districts |
| Search districts by partial name (Arabic/English) |
| Get district details including coordinates |
Installation
Usage
As MCP Server (for Cursor/Claude)
Add to your MCP configuration (.cursor/mcp.json or Claude Desktop config):
As HTTP Server
Health check: http://localhost:4501/health
CLI Usage (Legacy)
Data Source
District data sourced from alioh/Saudi-Districts-Dataset.
License
MIT