How to Use Pizza Hut restaurant directory in opencode
Returns a paginated directory of US Pizza Hut restaurants. Use it to browse locations across an area before inspecting individual restaurants.
Prompts to try with Pizza Hut restaurant directory in opencode
Copy an example into opencode, or ask in your own words.
Use Pizza Hut restaurant directory to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Pizza Hut restaurant directory and tell me what changed since last week.
Check Pizza Hut restaurant directory and summarize what you find in three bullet points.
Pull the newest data from Pizza Hut restaurant directory and give me the result as a table.
Check Pizza Hut restaurant directory every morning and tell me only when something changed.
How to set up Pizza Hut restaurant directory in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Pizza Hut restaurant directory
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "pizzahut-com/restaurants/directory", "input": { "state": "<state>" } }'
Then paste one of the prompts above: opencode finds Pizza Hut restaurant directory on Spiral, shows the price and runs it.
Pizza Hut restaurant directory providers and prices
Spiral runs Pizza Hut restaurant directory through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Max pages | 1 to 10 | 3 | max_pages |
Every API field of Pizza Hut US · Directory is on its tool page: open its card above.
What can you do with Pizza Hut restaurant directory in opencode?
Build a personal meal-planning tool that brings Pizza Hut restaurant information and menu choices into one view. Use restaurant discovery for location selection and menu data for browsing pizzas, customization options, and bundles.
Compare dinner options across a city
Browse restaurants in your destination, narrow the list to nearby locations, and compare their hours, menu sections, pizzas, customization choices, and meal bundles.
Plan meal stops on a road trip
Find restaurants in the states and towns along your route. Check nearby locations, opening hours, menu choices, pizza options, and bundle contents before choosing a stop.
Find a pickup location near a destination
Browse restaurants in a destination state, find locations near the town you are visiting, and inspect the address and hours of your preferred pickup stop.
Check dinner choices near a hotel
Identify restaurants around a hotel, check whether delivery serves its street address, and inspect the selected restaurant’s hours.
Pick a restaurant for a late arrival
Browse locations in your destination and compare nearby restaurants’ published hours to choose a possible meal stop after arriving.
Resolve two similarly named locations
Compare directory entries, nearby search results, and individual restaurant addresses to identify the intended Pizza Hut before arranging pickup.
More on Pizza Hut restaurant directory and opencode
Overview
Pizza Hut restaurant directory in other agents
Questions about Pizza Hut restaurant directory in opencode
Can opencode use Pizza Hut restaurant directory?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Pizza Hut restaurant directory like any built-in tool.
How much does Pizza Hut restaurant directory cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use Pizza Hut restaurant directory in opencode?
No. Spiral runs Pizza Hut restaurant directory on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Pizza Hut restaurant directory in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Pizza Hut restaurant directory runs?
Pizza Hut restaurant directory runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does this cover Pizza Hut worldwide?
The documented source covers Pizza Hut US. Pizza Hut’s public US locator advertises more than 6,000 locations, but that figure does not establish how many records an endpoint returns.
Can I assume every restaurant has the same menu?
No. Pizza Hut specifically says wing and flavor availability varies by location, so use the menu from the restaurant you plan to order from.
Does a nearby restaurant necessarily deliver to my address?
Pizza Hut checks delivery against a street address and lists restaurants that serve that address. A nearby pickup location alone does not establish delivery coverage.
Will an offer still be available when I order?
Pizza Hut labels offers as limited-time and says certain offers must be selected explicitly. Product availability and discount combinations can also vary.
Is the published restaurant information guaranteed to be accurate?
Pizza Hut acknowledges that its online information can contain errors. Its published terms do not guarantee the accuracy or availability of the services.
Start using Pizza Hut restaurant directory in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


