Example requests
Send these as HTTP POST requests to /mcp with Content-Type: application/json.
Initialize
{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {}
}
Calculate one known street
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "calculate_alignment",
"arguments": {
"lat": 40.7534,
"lon": -73.9807,
"bearing": 299.1,
"body": "sun",
"streetName": "West 42nd Street",
"placeName": "Manhattan, New York"
}
}
}
Scan nearby named streets
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "scan_alignments_nearby",
"arguments": {
"lat": 54.68783,
"lon": 25.27555,
"radius": 1200,
"body": "sun",
"placeName": "Vilnius, Lithuania"
}
}
}
Caveats and privacy
Streethenge calculates geometric alignments. It does not model local horizon elevation, building blockage, trees, weather, safety, or access. Place search uses Nominatim, road lookup and nearby scans use Overpass API, map display uses OpenStreetMap tiles on the website, and hosting is on Vercel.
The public MCP endpoint is read-only. It does not create accounts, save searches on the server, upload files, or send email. For issues, contact streethenge@gmail.com. See also Privacy.