Use when the user needs to forward geocode (address to coordinates), reverse geocode (coordinates to address), or work with geocoding API responses. Also use when they mention "OpenCage", geocoding rate limits, confidence scores, address components, geocoding a CSV file, or need a geocoding command-line utility or an SDK in Python, Node.js, Ruby, PHP, Java, or Perl.
Use when the user needs geographic place autosuggest or autocomplete on a web page, or mentions "geosearch", "place autocomplete", "OpenCage widget", "oc_gs_ key", or "geographic autosuggest". Also use when integrating a location search widget with Leaflet, OpenLayers, or MapLibre.
Agent skills for working with OpenCage geocoding and geosearch services. These skills give any AI coding agent the context it needs to integrate with the OpenCage APIs correctly — including endpoint details, SDK usage patterns, error handling, and common pitfalls.
The skills are plain markdown files that work with any agent that can read documentation. First-class installation is provided for Claude Code via its plugin system.
| Skill | Purpose |
|---|---|
opencage-geocoding-api | Forward/reverse geocoding via the OpenCage REST API |
opencage-geosearch | Geographic autosuggest/autocomplete JavaScript widget |
Use when you need forward geocoding (address to coordinates), reverse geocoding (coordinates to address), or help working with geocoding API responses. Covers Python, Node.js, Ruby, PHP, Java, Perl, and command-line usage.
Includes language-specific reference files:
| Reference | Description |
|---|---|
references/api-details.md | Full API parameter and response reference |
references/python.md | Python SDK usage |
references/nodejs.md | Node.js SDK usage |
references/ruby.md | Ruby SDK usage |
references/php.md | PHP SDK usage |
references/java.md | Java SDK usage |
references/perl.md | Perl SDK usage |
references/commandline.md | Command-line batch CSV processing |
Use when you need geographic place autosuggest or autocomplete on a web page, or are integrating a location search widget with Leaflet, OpenLayers, or MapLibre.
graph TD
A{User typing partial text in a search box?}
A -- yes --> B[opencage-geosearch\nJS widget / front-end]
A -- no --> C{Need street addresses or coordinates?}
C -- yes --> D[opencage-geocoding-api\nREST API / back-end]
C -- no --> E[Neither skill needed]
See install.md for setup instructions covering Claude Code, Gemini CLI, Codex, and other agents.
oc_gs_... format) — from opencagedata.com/geosearch — this is a separate key from the geocoding API keyWe run a worldwide geocoding API and geosearch service based on open data. Learn more about us.
We also organize Geomob, a series of regular meetups for location-based service creators. If you like geo stuff, check out the Geomob podcast.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub opencagedata/opencage-skills --plugin opencageMapbox skills and MCP servers for building location-aware applications with AI. Includes geospatial tools, style management, and patterns for web, iOS, Android, and AI agent frameworks.
Guide developers through adding maps, places search, geocoding, routing, and other geospatial features with Amazon Location Service, including authentication setup, SDK integration, and best practices.
35 Agent Skills for ArcGIS Maps SDK for JavaScript (SDK 5.0) covering maps, layers, visualization, spatial analysis, widgets, editing, 3D, and more
AI-powered 3D globe control for Claude Code — load tilesets, fly to locations, style layers, and query spatial data with natural language
Claude Code skill pack for SerpApi (18 skills)
Rust language server for code intelligence and analysis