# Radar MCP for AI Agents AI Agent Connect

> Radar MCP gives your AI agent the ability to handle geolocation data like a pro. It converts addresses to coordinates, maps out routes, checks geofences, and identifies locations from IP addresses. It turns raw spatial data into actionable info for your app or analysis.

## Overview
- **Category:** cloud-infrastructure
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_eSpgWjdp768p0dPq7oo40SuSdNVfftLeN2IJW5wW/ai-agent-connect
- **Tags:** geolocation, spatial-lookup, routing, reverse-geocoding, mapping, api-integration

## Description

You're trying to build something that understands where things are, but dealing with raw latitude and longitude is a headache. Radar changes that by giving your AI agent a direct line to enterprise-grade location intelligence. Instead of having your agent guess or hallucinate distances, it can actually calculate real driving times and route distances between dozens of points at once. If you're building a delivery app, a logistics dashboard, or a tool that needs to know if a user is inside a specific store, Radar handles the heavy lifting. It handles the messy stuff like cleaning up structured addresses or turning an IP address into a readable region. Because Vinkius makes it easy to connect these tools to your existing workflow, you can just ask your agent to find the nearest coffee shop to these coordinates or tell me if this user is in the delivery zone and get an accurate answer every time.

## Tools

### search_geofences
Finds active geofences near a specific location to check for proximity or entry.

### autocomplete
Provides real-time address and place suggestions as a user types into a search field.

### calculate_route_distance
Finds the specific travel distance and duration between two precise points.

### calculate_routing_matrix
Calculates travel times and distances between multiple origins and destinations for large-scale logistics.

### forward_geocode
Converts a human-readable street address into precise latitude and longitude coordinates.

### get_location_context
Retrieves specific details for a location, including nearby geofences and local weather data.

### ip_geocode
Identifies the geographic location of a device or user based solely on its IP address.

### reverse_geocode
Takes a set of coordinates and returns the corresponding human-readable street address.

### search_places
Searches for nearby points of interest, like restaurants or shops, based on coordinates.

### validate_address
Cleans and validates a structured address to ensure it's a real, deliverable location.

## Prompt Examples

**Prompt:** 
```
I have a list of 5 addresses in NYC. Can you find the total driving time to get to all of them starting from 5th Ave?
```

**Response:** 
```
Sure. Here is the estimated route and total travel time:

| Destination | Est. Driving Time |
| :--- | :--- |
| 123 Wall St | 12 mins |
| 45 Broadway | 15 mins |
| 10 Pier St | 18 mins |
| 200 Park Ave | 22 mins |
| 500 6th Ave | 25 mins |

**Total estimated time:** 1 hour 15 minutes.
```

**Prompt:** 
```
Is the user at IP 1.2.3.4 inside our downtown delivery zone?
```

**Response:** 
```
I checked the IP **1.2.3.4**. It resolves to **Chicago, IL**. Based on our current geofences, that is outside the downtown delivery zone.
```

**Prompt:** 
```
Find the nearest three coffee shops to the Empire State Building.
```

**Response:** 
```
Here are the closest spots:

* **Blue Bottle Coffee** - 0.3 miles
* **Stumptown Coffee** - 0.4 miles
* **Joe Coffee** - 0.5 miles

All are within a 0.5 mile radius.
```

## Capabilities

### Convert addresses to coordinates
Turn human-readable street names into precise GPS points.

### Calculate travel times
Get accurate driving durations and distances between multiple locations.

### Identify locations from IPs
Determine a user's general region or country based on their IP address.

### Check geofence status
Verify if a specific set of coordinates falls within a defined boundary.

### Find nearby points of interest
Search for businesses or landmarks based on coordinates.

### Clean up messy addresses
Validate and standardize structured address data for better accuracy.

### Provide address suggestions
Offer autocomplete options as users start typing in a search bar.

## Use Cases

### Delivery Route Optimization
A logistics manager asks the agent to find the fastest route for a 10-stop delivery run using calculate_routing_matrix.

### Store Proximity Alerts
A retail app owner wants to know if a customer is within 500 meters of a store using search_geofences and get_location_context.

### Data Cleaning for Sales
A data analyst asks the agent to take a list of 1,000 IP addresses and categorize them by country using ip_geocode.

### Address Verification
A real estate developer uses validate_address to ensure all submitted property addresses are valid before they hit the database.

## Benefits

- Stop guessing distances. Use calculate_route_distance to get real-world travel times that account for actual road networks.
- Clean up messy user input. Use validate_address to ensure your database doesn't get filled with fake or unparseable addresses.
- Simplify regional analysis. Use ip_geocode to quickly group users by country or city without manual mapping.
- Build smarter geofencing. Use search_geofences to let your agent check if a user has entered a specific store or zone.
- Enhance search UX. Use autocomplete to provide your users with accurate location suggestions in real-time.
- Handle complex logistics. Use calculate_routing_matrix to plan multi-stop routes for fleets or delivery services.

## How It Works

The bottom line is you get a reliable spatial intelligence layer that lets your AI handle geography without the guesswork.

1. Connect your Radar Publishable API Key to the Connector.
2. Connect the Connector to your AI client through the Vinkius catalog.
3. Ask your agent to perform spatial lookups or route calculations.

## Frequently Asked Questions

**Can Radar help me calculate delivery routes?**
Yes, it can calculate the distance and driving time between multiple stops so you can plan efficient routes.

**Does Radar work for international addresses?**
Yes, it handles geocoding and address validation for locations worldwide.

**How does Radar handle IP addresses?**
It can identify the country, region, or city associated with an IP address for your analytics.

**Can I use Radar to see if a user is in a specific store?**
Yes, you can use geofencing tools to check if coordinates fall within a specific boundary.

**Does Radar provide address suggestions?**
It includes an autocomplete feature that gives users real-time suggestions as they type an address.

**Can Radar clean up my existing address data?**
Yes, it can validate and standardize structured addresses to make them more accurate.

**Where do I find my Radar API key?**
Log into your Radar dashboard. Under 'Project Settings' or the dedicated API keys section, look for your 'Publishable Key'. This is the standard read-only key used for client integrations and MCP operations.

**Should I use the Publishable Key or the Secret Key?**
Always use the **Publishable Key** for this Connector instance if possible, as the operations (geocoding, routing, lookup) are typically safe read-only spatial actions.

**Can it calculate multi-stop routes like a delivery app?**
Yes, but indirectly through distance comparisons. The basic routing API fetches times from Point A to Point B. The AI can chain these requests together to establish an estimated schedule contextually in your chat.