Skip to main content
Glama

OpenStreetMap MCP Server

search_category

Find specific types of places like restaurants, schools, or parks within a defined geographic area using category-based filtering. Returns detailed location and metadata for each result.

Instructions

Search for specific types of places within a defined geographic area.

This tool allows targeted searches for places matching specific categories within a rectangular geographic region. It's particularly useful for filtering places by type (restaurants, schools, parks, etc.) within a neighborhood or city district. Results include complete location details and metadata about each matching place.

Args: category: Main OSM category to search for (e.g., "amenity", "shop", "tourism", "building") min_latitude: Southern boundary of search area (decimal degrees) min_longitude: Western boundary of search area (decimal degrees) max_latitude: Northern boundary of search area (decimal degrees) max_longitude: Eastern boundary of search area (decimal degrees) subcategories: Optional list of specific subcategories to filter by (e.g., ["restaurant", "cafe"])

Returns: Structured results including: - Query parameters - Count of matching places - List of matching places with coordinates, names, and metadata

Input Schema

NameRequiredDescriptionDefault
categoryYes
max_latitudeYes
max_longitudeYes
min_latitudeYes
min_longitudeYes
subcategoriesNo

Input Schema (JSON Schema)

{ "properties": { "category": { "title": "Category", "type": "string" }, "max_latitude": { "title": "Max Latitude", "type": "number" }, "max_longitude": { "title": "Max Longitude", "type": "number" }, "min_latitude": { "title": "Min Latitude", "type": "number" }, "min_longitude": { "title": "Min Longitude", "type": "number" }, "subcategories": { "default": null, "items": { "type": "string" }, "title": "Subcategories", "type": "array" } }, "required": [ "category", "min_latitude", "min_longitude", "max_latitude", "max_longitude" ], "title": "search_categoryArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jagan-shanmugam/open-streetmap-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server