Google Maps MCP Integration
Guide for integrating Google Maps location services with PraisonAI agents using MCP
Add Google Maps Tool to AI Agent
Quick Start
Install Dependencies
Make sure you have Node.js installed, as the MCP server requires it:
Set API Key
Set your Google Maps API key as an environment variable in your terminal:
Create a file
Create a new file
google_maps_agent.py
with the following
code:
Run the Agent
Execute your script:
Requirements
- Python 3.10 or higher
- Node.js installed on your system
- Google Maps API key
- OpenAI API key (for the agent’s LLM)