How to Use Sumble location codes in Perplexity
Sumble location codes returns exact geographic filter codes from Sumble's location hierarchy. Use it to translate place names into codes before researching companies by location.
Prompts to try with Sumble location codes in Perplexity
Copy an example into Perplexity, or ask in your own words.
Use Sumble location codes to find Austin, Texas, and show the matching locations with their exact codes.
Use Sumble location codes to list the locations directly beneath Canada for a sales territory planning session.
Use Sumble location codes to resolve Germany, France, and Spain into a table for our European market research.
Use Sumble location codes to search for Cambridge and show all returned matches so I can choose the intended place.
Use Sumble location codes to find Singapore, Tokyo, and Sydney for an Asia-Pacific company research brief.
How to set up Sumble location codes in Perplexity
Pick the way that suits you. Each takes about two minutes.
Use the Perplexity connector
- Add a remote connector
In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Perplexity 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 Sumble location codes
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": "sumble/locations/find", "input": { "query": "<query>" } }'
Then paste one of the prompts above: Perplexity finds Sumble location codes on Spiral, shows the price and runs it.
Sumble location codes providers and prices
Spiral runs Sumble location codes through Alexandria. Open a card for today's price, with every fee included.
What can you do with Sumble location codes in Perplexity?
Turn a market brief into a table of Sumble geographic codes for company research. A chat assistant can retrieve matching places and explore their hierarchy before you define a territory.
Define sales territories
Resolve the places in a territory plan to Sumble codes so later company searches use the intended geographic boundaries.
Normalize CRM geography
Build a mapping from business location labels in a CRM export to returned Sumble codes, with unresolved labels set aside for review.
Populate an internal location selector
Use returned locations and their children to populate geographic choices in an internal company research tool.
Prepare regional market research
Resolve planned research markets such as Canada, Germany, and Singapore before running separate searches for companies in those markets.
Review account routing geography
Compare place labels in internal routing rules with Sumble's returned codes before applying those rules to company research results.
Keep campaign boundaries consistent
Create a shared geographic code mapping for an internal account campaign so each analyst uses the same locations in later searches.
More on Sumble location codes and Perplexity
Overview
Sumble location codes in other agents
Questions about Sumble location codes in Perplexity
Can Perplexity use Sumble location codes?
Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run Sumble location codes like any built-in tool.
How much does Sumble location codes cost in Perplexity?
Up to $0.17459 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Perplexity plan is separate.
Do I need an Alexandria account to use Sumble location codes in Perplexity?
No. Spiral runs Sumble location codes on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Sumble location codes in Perplexity?
About two minutes: add a remote connector, then sign in to Spiral and approve.
Does Perplexity wait while Sumble location codes runs?
Sumble location codes runs in the background. Perplexity starts the run, checks on it and gives you the json when it's ready.
What does the Sumble location lookup return?
It returns geographic codes intended for Sumble filters. Results can come from a place-name search, the children of a location, or the top level of the location hierarchy.
Does capitalization matter in Sumble location codes?
Yes. The returned filter codes are case-sensitive, so preserve their capitalization when using them in geographic filters.
Where does Sumble get its location data?
Sumble identifies GeoNames as its location data source and lists the license as CC BY 4.0.
Can I browse places within a larger location?
Yes. Sumble supports returning a location's children as well as top-level locations, which lets you explore the hierarchy before choosing filter codes.
What request limit applies to location lookups?
Sumble documents a limit of 10 requests per second per user, shared across its endpoints. Occasional bursts are allowed.
Start using Sumble location codes in Perplexity
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Perplexity:
set up https://spiral.ai/SKILL.md


