Google Places MCP Server

Google Places MCP Server

Integrates with Google Places API to allow searching, retrieving details, and finding nearby places through an MCP server interface.

Category
Visit Server

README

Google Places MCP Server

This MCP server integrates with Google Places API to allow searching, retrieving details, and finding nearby places.

Setup

Environment Variables

The following environment variables are required:

  • GOOGLE_MAPS_API_KEY: Your Google Maps API key with Places API access enabled
  • TRANSPORT_TYPE: Transport method to use (stdio or sse)
  • PORT: (Optional) Port number for SSE transport (default: 3000)

Create a .env file in the root directory with these variables:

GOOGLE_MAPS_API_KEY=your_api_key_here
PORT=3000

Development

  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev

Transport Options

The server supports two transport methods:

  1. SSE (Server-Sent Events): Uses HTTP with Server-Sent Events for real-time communication

When using SSE transport, the server exposes two endpoints:

  • GET /sse: SSE endpoint for receiving server messages
  • POST /messages: Endpoint for sending messages to the server

Tools

  • [x] places-text-search

    • Text search for places using Google Places API
    • Input:
      • textQuery (string, required): The text query to search for places
      • includedType (string, optional): Restricts results to places matching the specified type
      • includePureServiceAreaBusinesses (boolean, optional): Include businesses without physical location
      • languageCode (string, optional): Language code for results (e.g., "en")
      • locationBias (object, optional): Bias results toward this location
      • locationRestriction (object, optional): Restrict results to this location
      • pageSize (number, optional): Number of results per page (1-20)
      • pageToken (string, optional): Token for next page of results
      • priceLevels (array, optional): Filter by price levels
      • rankPreference (string, optional): Rank by "RELEVANCE" or "DISTANCE"
      • regionCode (string, optional): Two-character country/region code
      • strictTypeFiltering (boolean, optional): Only return exact type matches
      • evOptions (object, optional): EV charging station filters
      • minRating (number, optional): Minimum rating filter (0-5)
      • openNow (boolean, optional): Filter for places currently open
      • fields (array, optional): Specific fields to include in response
    • Returns matching places with details
  • [ ] places-nearby-search (Coming Soon)

    • Find places near a specific location
    • Input:
      • location (object, required): Latitude and longitude coordinates
      • radius (number, optional): Search radius in meters
      • keyword (string, optional): Keyword to filter results
      • type (string, optional): Place type to filter results
      • rankBy (string, optional): Rank by "prominence" or "distance"
      • openNow (boolean, optional): Filter for places that are currently open
      • fields (array, optional): Specific fields to include in the response
    • Returns nearby places with details
  • [ ] place-details (Coming Soon)

    • Get detailed information about a specific place
    • Input:
      • placeId (string, required): Google Place ID
      • fields (array, optional): Specific fields to include in the response
      • languageCode (string, optional): Language code for results
    • Returns comprehensive details about the place
  • [ ] place-photo (Coming Soon)

    • Retrieve photos for a place
    • Input:
      • photoReference (string, required): Reference from a Place Details response
      • maxWidth (number, optional): Maximum width of the returned image
      • maxHeight (number, optional): Maximum height of the returned image
    • Returns photo data or URL

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured