ucp-location
/ucp-location
Implement the UCP Location capability (`dev.ucp.common.location`) — Search and Lookup for physical locations (stores, restaurants, lockers) with spatial relations, operating hours, amenities, and item availability. Use when building local pickup discovery, store finders, or fulfillment-area verification.
- Author
- OrcaQubits ↗
- Repository
- agentic-commerce-skills-plugins ↗
- Licence
- MIT
- Last repository change
- 14.09.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 14.09.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Implement the UCP Location capability (`dev.ucp.common.location`) — Search and Lookup for physical locations (stores, restaurants, lockers) with spatial relations, operating hours, amenities, and item availability. Use when building local pickup discovery, store finders, or fulfillment-area verification.
Original author description
Implement the UCP Location capability (`dev.ucp.common.location`) — Search and Lookup for physical locations (stores, restaurants, lockers) with spatial relations, operating hours, amenities, and item availability. Use when building local pickup discovery, store finders, or fulfillment-area verification.
How it works
- Before writing code
- Conceptual Architecture
- Implementation Guidance
SKILL.md preview
--- name: ucp-location description: Implement the UCP Location capability (`dev.ucp.common.location`) — Search and Lookup for physical locations (stores, restaurants, lockers) with spatial relations, operating hours, amenities, and item availability. Use when building local pickup discovery, store finders, or fulfillment-area verification. allowed-tools: Read, Write, Edit, Bash, Grep, Glob, WebSearch, WebFetch --- # UCP Location Capability ## Before writing code **Fetch live spec**: Web-search `site:ucp.dev specification common location` and fetch the capability page plus its `search` and `lookup` operation pages for the exact Location schema, relation semantics, and filter vocabulary. ## Conceptual Architecture ### Scope Location lives in the **common** service (`dev.ucp.common.location`), not shopping — it is shared infrastructure rather than a commerce-specific capability. It exposes physical entities: retail stores, restaurants, brand lockers, service counters. Two flows drive it: **local pickup discovery** (where can I collect this?) and **fulfillment area verification** (do you serve this address?). ### Two operations | Operation | Namespace | Purpose | |-----------|-----------|---------| | Search | `dev.ucp.common.location.search` | Free-text query + spatial relations + filters | | Lookup | `dev.ucp.common.location.lookup` | Full details for one or more locations by identifier | Lookup accepts the same relations and filters as Search, so a client can resolve known identifiers *and* refine by serviceability in one call. ### Spatial relations Two relations, and the distinction is the core of the capability: - **`distance`** — proximity to a centre point. "Stores near me." - **`serves`** — serviceability to a target address. "Stores that will deliver here." These are not interchangeable. The nearest store may not serve the buyer's address, and a store that serves it may not be nearby. Pick the relation that matches the question being asked. ### Filters - **`hours`** — open at a given time - **`amenities`** — static features, services, or capabilities, expressed as a map keyed by **reverse-DNS identifiers** with buyer-facing descriptions. The reverse-DNS keying is what lets a business declare proprietary amenities without colliding with anyone else's vocabulary. - **`items`** — whether the business can provide referenced items at that candidate location. This is what turns a store finder into a *pickup* finder. ### Operating hours Two layers: - `hours` — the regular weekly schedule - `exception_hours` — date-specific overrides (holidays, one-off closures) Both are interpreted in the location's **IANA timezone**, which is carried on the location. Do not resolve hours against the caller's timezone or against UTC — a store's "open at 9" is local, always. ### Bindings Location is exposed over **REST** and **MCP**. ## Implementation Guidance - Always return the IANA timezone with a location; hours are meaningless without it. - Apply `exception_hours` over `hours` rather than merging — an exception replaces the day, it does not add to it. - When implementing `serves`, be explicit about what "serves" means for your business (delivery zone, shipping zone, service radius) and keep it consistent across responses. - Combine `items` with `distance` for the common agent query — "where can I pick this up today near here" — and return the item-availability result per location rather than making the client re-check. - Reference implementation: https://github.com/Universal-Commerce-Protocol/samples
Versions
The database has no other skills named ucp-location.
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version 16916ae0a2b0 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90ucp-fulfillment
Implement the UCP Fulfillment extension — shipping and pickup methods, destinations, fulfillment groups, selectable options, and estimated delivery. Use when adding shipping/pickup logic to a UCP checkout. - 90ucp-catalog
Implement the UCP Catalog capability (`dev.ucp.shopping.catalog`) — free-text product Search and identifier-based Lookup, the Product/Variant data model, media, ratings, and quantity units. Use when exposing product discovery to agents or consuming a business catalog before cart and checkout. - 100ucp-scene-authoring
Build and inspect scene content in the live Unity Editor with `ucp scene`, `ucp object`, `ucp transform`, `ucp spatial`, and `ucp prefab`: snapshot and query the hierarchy, create visible primitives, add components, set serialized properties, move/rotate/scale/look-at objects,… - 100ucp-assets
Work with a Unity project's assets and files through the editor with `ucp asset`, `ucp files`, `ucp material`, `ucp references`, `ucp shader`, and `ucp script`: search and inspect assets, read and write ScriptableObject and material fields, move or rename assets without breaking… - 100ucp-checker
Discover stores an AI agent can actually transact with, check any domain's Universal Commerce Protocol (UCP) status, and shop through the UCP Checker MCP router. Use when a task involves buying something online through an agent, choosing a store that supports agentic checkout,… - 100ucp-agent-ready
Publish or repair a Universal Commerce Protocol (UCP) profile so AI shopping agents can discover, read and transact with a store, verified against UCP Checker's independent validator. Use when asked to \"make this store agent-ready\", \"add UCP\", \"fix our /.well-known/ucp\",…