loading…
Search for a command to run...
loading…
Enables IP address location and latitude/longitude address queries, providing detailed geographic information such as country, province, city, and district.
Enables IP address location and latitude/longitude address queries, providing detailed geographic information such as country, province, city, and district.
中文 / English
A location server based on MCP (Model Context Protocol) that provides IP address location and latitude/longitude query functionality.
npm install @v8tech/mcp-server-location -g
The server provides two main tools:
IP Location (ip_location)
Latitude/Longitude Location (latlng_location)
git clone https://github.com/v5tech/mcp-server-location.git
cd mcp-server-location
npm install
npm run build
npm run watch
{
"location": {
"ip": "8.8.8.8",
"coordinates": {
"latitude": 37.751,
"longitude": -97.822
},
"address": {
"country": "United States",
"province": "Kansas",
"city": "Wichita",
"district": "",
"adcode": "US"
}
}
}
{
"location": {
"coordinates": {
"latitude": 39.9042,
"longitude": 116.4074
},
"address": {
"country": "China",
"province": "Beijing",
"city": "Beijing",
"district": "Dongcheng",
"detail": "Tiananmen Square",
"areaName": "Dongcheng District"
}
}
}
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any problems while using this project, please feel free to submit them on the GitHub Issues page.
Выполни в терминале:
claude mcp add location-mcp-server -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.