MCP server for gmapsscraper.io — scrape Google Maps business data (names, phones, emails, ratings) from Claude, Cursor or any MCP client.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add gmapsscraper --env GMAPSSCRAPER_API_KEY='<GMAPSSCRAPER_API_KEY>' -- npx -y @gmapsscraper/mcp~/.codex/config.toml
[mcp_servers.gmapsscraper]
command = "npx"
args = ["-y", "@gmapsscraper/mcp"]
env = { GMAPSSCRAPER_API_KEY = "<GMAPSSCRAPER_API_KEY>" }
# codex mcp add gmapsscraper --env GMAPSSCRAPER_API_KEY='<GMAPSSCRAPER_API_KEY>' -- npx -y @gmapsscraper/mcp~/.cursor/mcp.json
{
"mcpServers": {
"gmapsscraper": {
"command": "npx",
"args": [
"-y",
"@gmapsscraper/mcp"
],
"env": {
"GMAPSSCRAPER_API_KEY": "<GMAPSSCRAPER_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"gmapsscraper": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@gmapsscraper/mcp"
],
"env": {
"GMAPSSCRAPER_API_KEY": "<GMAPSSCRAPER_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gmapsscraper": {
"command": "npx",
"args": [
"-y",
"@gmapsscraper/mcp"
],
"env": {
"GMAPSSCRAPER_API_KEY": "<GMAPSSCRAPER_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"gmapsscraper": {
"command": "npx",
"args": [
"-y",
"@gmapsscraper/mcp"
],
"env": {
"GMAPSSCRAPER_API_KEY": "<GMAPSSCRAPER_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"gmapsscraper": {
"command": "npx",
"args": [
"-y",
"@gmapsscraper/mcp"
],
"env": {
"GMAPSSCRAPER_API_KEY": "<GMAPSSCRAPER_API_KEY>"
}
}
}
}Environment variables
GMAPSSCRAPER_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.