Search Wikipedia Nearby
wikipedia_search_nearbyFind Wikipedia articles about places near a geographic coordinate. Returns articles sorted by distance from the query point, with titles, short descriptions, Wikidata QIDs, page IDs, coordinates, and distance in meters. Useful for "what is notable near X?" research workflows. Only articles carrying their own coordinate tag (GeoData, set on the article itself — not the Wikidata item's coordinate) are returned, and that tag is what places and measures each result; not all articles about locations are geotagged, and an article whose tag is wrong appears where the tag puts it, which its description usually makes plain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default 10, max 500 — the MediaWiki geosearch ceiling). Must be a positive integer. Geosearch has no pagination, so articles past this limit are only reachable by raising it or searching narrower radii. | |
| language | No | Wikipedia language edition code (default "en"). Examples: "fr", "de", "ja". | en |
| latitude | Yes | WGS 84 latitude in decimal degrees (range: −90 to 90). | |
| longitude | Yes | WGS 84 longitude in decimal degrees (range: −180 to 180). | |
| radius_meters | No | Search radius in meters (default 1000, min 10, max 10000 — the MediaWiki geosearch bounds). Must be an integer; a value above the maximum is clamped to it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | The limit that was applied. | |
| error | No | Present when the call failed. Absent on success. | |
| shown | No | Number of results returned. | |
| notice | No | Guidance when results were capped (raise limit, or — at the 500 ceiling — sweep narrower radii) or when no geotagged articles were found (increase radius). Absent when neither applies. | |
| results | No | Geotagged articles sorted ascending by distance_meters. | |
| language | No | Language edition queried. | |
| truncated | No | True when more articles matched than the limit allowed. Established by probing one result past the limit, so a match count landing exactly on the limit reports false — except at the 500 ceiling, where no probe is possible and any full page reports true. | |
| queryLatitude | No | Latitude used for the search. | |
| queryLongitude | No | Longitude used for the search. | |
| radiusMetersUsed | No | Radius in meters used for the search. |