n8n MCP Template avatar

n8n MCP Template

Pricing

Pay per usage

Go to Apify Store
n8n MCP Template

n8n MCP Template

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Sameh George Jarour

Sameh George Jarour

Maintained by Community

Actor stats

1

Bookmarked

12

Total users

0

Monthly active users

a year ago

Last modified

Categories

Share

๐Ÿ—บ๏ธ n8n MCP Google Maps Scraper

Apify Store License: MIT

Transform AI assistants into powerful Google Maps research tools with natural language queries! ๐Ÿš€

This Actor creates a Model Context Protocol (MCP) server using n8n workflows that enables AI assistants like Claude to scrape Google Maps data through conversational commands. Simply ask "Find Italian restaurants in Rome" and get comprehensive business information instantly.

๐ŸŒŸ Key Features

  • ๐Ÿค– AI-Powered Interface: Natural language queries via MCP protocol
  • ๐Ÿ” Comprehensive Scraping: Business names, ratings, addresses, contact info, hours
  • โšก Real-time Data: Fresh information directly from Google Maps
  • ๐ŸŽฏ Smart Filtering: Location-based searches with automatic geo-targeting
  • ๐Ÿ“Š Structured Output: Clean, formatted data ready for analysis
  • ๐Ÿ”„ Workflow Automation: n8n-powered backend for reliability and scalability

๐Ÿ› ๏ธ How It Works

graph LR
A[๐Ÿค– AI Assistant] --> B[๐Ÿ“ก MCP Client]
B --> C[โš™๏ธ n8n MCP Server]
C --> D[๐ŸŽฏ AI Agent]
D --> E[๐Ÿ•ท๏ธ Apify Scrapers]
E --> F[๐Ÿ—บ๏ธ Google Maps]
F --> E
E --> D
D --> C
C --> B
B --> A

๐Ÿš€ Quick Start

1. Prerequisites

  • ๐Ÿ—๏ธ n8n instance (cloud or self-hosted)
  • ๐Ÿ”‘ Anthropic API key
  • ๐Ÿ•ท๏ธ Apify account with API access
  • ๐Ÿค– MCP-compatible AI assistant (Claude Desktop, etc.)

2. Installation

  1. Import Workflows ๐Ÿ“ฅ

    # Download the workflow files
    wget https://github.com/your-repo/n8n-mcp-google-maps/archive/main.zip
  2. Configure n8n โš™๏ธ

    • Import MCP-Server.json
    • Import Apify-Google-Maps-Scraper.json
    • Set up credentials for Anthropic and Apify
  3. Set Up MCP Client ๐Ÿ”—

    • Configure your AI assistant to connect to the n8n MCP endpoint
    • Use the provided Bearer token for authentication

๐Ÿ’ป Usage Examples

"Find sushi restaurants in Tokyo"

Advanced Queries

"Search for 4+ star coffee shops in downtown San Francisco"
"Find auto repair shops near Central Park, New York"
"Get Italian restaurants in Rome with phone numbers"

Response Format

{
"name": "Trattoria da Enzo",
"rating": 4.8,
"reviews": 2547,
"address": "Via dei Vascellari, 29, Rome, Italy",
"phone": "+39 06 581 2260",
"website": "https://trattoriadaenzo.com",
"hours": "Mon-Sat: 12:30-15:00, 19:30-24:00"
}

โš™๏ธ Configuration

MCP Server Settings

ParameterDescriptionDefault
endpointMCP server URLAuto-generated
auth_tokenBearer authenticationRequired
max_resultsMaximum locations returned20

Apify Integration

SettingDescriptionRequired
apify_tokenApify API keyโœ…
scraper_actorsEnabled Google Maps scrapersโœ…
timeoutRequest timeout (seconds)60

๐Ÿ”ง Technical Details

Architecture Components

  • ๐ŸŽญ MCP Server Trigger: Exposes n8n workflow as MCP tool
  • ๐Ÿค– AI Agent Node: Claude-powered query processing
  • ๐Ÿ•ท๏ธ Apify MCP Client: Connects to Google Maps scrapers
  • โš™๏ธ Workflow Orchestrator: Manages data flow and error handling

Supported Scrapers

  • ๐Ÿ—บ๏ธ compass/google-maps-extractor
  • ๐Ÿ“ compass/crawler-google-places
  • โญ compass/google-maps-reviews-scraper

Data Fields Extracted

  • ๐Ÿข Business name and category
  • โญ Rating and review count
  • ๐Ÿ“ Full address and coordinates
  • ๐Ÿ“ž Phone number and website
  • ๐Ÿ• Opening hours and popular times
  • ๐Ÿ“ธ Photos and additional details

๐Ÿ”’ Authentication & Security

Bearer Token Authentication

// MCP Client Configuration
{
"mcpServers": {
"n8n-google-maps": {
"command": "node",
"args": ["mcp-client.js"],
"env": {
"MCP_SERVER_URL": "https://your-n8n.com/webhook/mcp-server",
"BEARER_TOKEN": "your_secure_token_here"
}
}
}
}

๐Ÿ“Š Output Examples

Restaurant Search Results

# Restaurants in Prague ๐Ÿฝ๏ธ
## Top-Rated Restaurants
### **Aahar Restaurant** โญ 5.0 (151 reviews)
- **Cuisine:** Vegetarian restaurant
- **Address:** Zenklova 232, Prague 8-Kobylisy
- **Phone:** +420 732 776 622
- **Website:** [aaharrestaurant.cz](https://www.aaharrestaurant.cz/)
### **Dookan Dosa Bistro** โญ 4.9 (586 reviews)
- **Cuisine:** Indian restaurant
- **Address:** Podvinnรฝ mlรฝn 1418/2, Prague 9-Libeลˆ
- **Phone:** +420 773 848 655

๐Ÿšจ Error Handling

Common Issues & Solutions

ErrorCauseSolution
Connection closedApify API timeoutIncrease timeout settings
Schema mismatchParameter configurationCheck workflow input mapping
No results foundInvalid location queryVerify location spelling

๐Ÿ”„ Workflow Updates

Version History

  • v1.0.0: Initial MCP server implementation
  • v1.1.0: Added multi-scraper support
  • v1.2.0: Enhanced error handling and retry logic

Upgrade Instructions

  1. ๐Ÿ“ฅ Download latest workflow files
  2. ๐Ÿ”„ Import updated workflows to n8n
  3. โš™๏ธ Update configuration parameters
  4. ๐Ÿ”„ Restart MCP server connections

๐Ÿค Contributing

We welcome contributions! Please see our CONTRIBUTING.md for details.

Development Setup

git clone https://github.com/your-repo/n8n-mcp-google-maps
cd n8n-mcp-google-maps
npm install
npm run dev

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ†˜ Support

๐Ÿท๏ธ Tags

google-maps mcp n8n ai-assistant claude web-scraping business-data automation workflow


Ready to supercharge your AI assistant with Google Maps data? Deploy this Actor now! ๐Ÿš€

Deploy to Apify