- GEOMETRY
- BOUNDARIES
- MAPPING
- REVIEW
Short answer
How can I get building footprint geometries using my AI?
Your AI uses SafeGraph tools to fetch WKT polygons for specific buildings or the larger parent boundaries they sit within. You'll get precise spatial coordinates ready for mapping or analysis. This breakdown shows how the data flows from the request to your final output.
Data outcomes
Where the data lands.
What your AI produces from a request.
GEOMETRY
Precise WKT polygons
The AI pulls exact Well-Known Text strings representing the footprint of a specific building or property.
BOUNDARIES
Parent container shapes
You get the boundaries of the larger area or container that holds the specific location you requested.
MAPPING
Spatial data ready for use
The AI formats the coordinates so you can drop them directly into GIS software or mapping tools.
REVIEW
Human verification needed
You must check the returned WKT strings to ensure the polygon matches your specific project requirements.
The workflow
What your AI does when the request arrives.
The AI translates your natural language into specific spatial queries.
Identify the target
The AI determines if you are looking for a specific building or a broader area based on your prompt.
search_wkt_polygonFetch building shapes
The AI retrieves the exact polygon coordinates for the requested physical structure.
lookup_building_geometryFind the container
If you need the surrounding area, the AI finds the boundary of the parent polygon.
lookup_parent_polygonFormat the output
The AI organizes the coordinates into a clean format for your next step.
search_wkt_polygon
Try it
Copy these to start.
Use these prompts to trigger the SafeGraph tools.
Starting points
Swap the bracketed text for your actual location or property ID.
SafeGraph GraphQL API Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_k1VELw4KIkAhLWgPfwAjiTkVivxf9F11OxjjYZy2/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — SafeGraph GraphQL API capabilities are ready to use.
{
"mcpServers": {
"safegraph-mcp": {
"url": "https://edge.vinkius.com/vk_preview_k1VELw4KIkAhLWgPfwAjiTkVivxf9F11OxjjYZy2/mcp"
}
}
}Get the WKT polygon for the building at [Address].
Find the parent polygon boundary for the property located at [Latitude, Longitude].
Search for the building footprint geometry for [Store Name] in [City].
What is the WKT geometry for the container surrounding [Specific Location]?
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect SafeGraph once, then ask.
One connection gives your AI access to the full SafeGraph dataset. Your credentials stay encrypted and secure on our end.
Connect SafeGraph to your AIFAQ
How this task behaves
- 01
Can the AI change the building geometry in SafeGraph?
No. The AI can only retrieve existing geometry data; it cannot modify the SafeGraph database.
- 02
Does the AI provide the data in GeoJSON?
The tools specifically return WKT (Well-Known Text) polygons.
- 03
Can the AI find the building if I only have a name?
Yes, as long as the name is specific enough for the search tool to identify the location.
- 04
Will the AI automatically upload these polygons to my GIS tool?
No. The AI provides the data to you in the chat, and you must move it to your other tools yourself.
- 05
Can I get the parent polygon for any building?
Yes, the AI can use the parent lookup tool to find the container boundary for a specific building.
More questions about SafeGraph? See everything the SafeGraph Connector can do
Connect SafeGraph GraphQL API to Claude, Cursor, ChatGPT & more
