Spiral gives your agent every tool with one account. Browse the tools →

opencode · Lead Gen

How to Use HLR Lookup phone carrier in opencode

Returns available original and current carrier details, mobile network codes, and whether a number has been ported. Use it to update business phone routing or check carrier changes without checking whether the line is live.

Prompts to try with HLR Lookup phone carrier in opencode

Copy an example into opencode, or ask in your own words.

Use HLR Lookup phone carrier for Ride'LUX's published support number +447780279906 and add the returned original carrier, current carrier, and porting result to a sample report in this project.

HLR Lookup phone carrieropencode
Try asking
  • Use HLR Lookup phone carrier for HLR Lookup's office number +441133910781 and inspect how our parser handles unavailable mobile network codes.

  • Use HLR Lookup phone carrier for +447780279906 and +441133910781, then create a comparison table in the project showing available original and current carrier details.

  • Use HLR Lookup phone carrier to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from HLR Lookup phone carrier and tell me what changed since last week.

How to set up HLR Lookup phone carrier in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. 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
  2. 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
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run HLR Lookup phone carrier

    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": "hlrlookup/people/phone-network",
        "input": {
          "telephone_number": "<telephone_number>"
        }
      }'

Then paste one of the prompts above: opencode finds HLR Lookup phone carrier on Spiral, shows the price and runs it.

HLR Lookup phone carrier providers and prices

Spiral runs HLR Lookup phone carrier through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen
HLR Lookup · Phone network
hlrlookup/people/phone-network

What can you do with HLR Lookup phone carrier in opencode?

Build a carrier audit for your project's business phone directory using HLR Lookup's current network and porting results. Add connectivity outcomes where available so the report distinguishes carrier information from a live status check.

Update business phone routing

Use the returned current carrier and mobile network codes to review routing rules for published business numbers. A live status check can add connectivity context when investigating a route.

Review carrier changes

Compare original and current networks for public business lines. Flag ported numbers whose stored carrier information needs review.

Audit a business phone directory

Compare available carrier, country, and porting results with an existing directory of business contact numbers. Produce a list of records with conflicting network information.

Investigate failed business communications

Check the carrier currently serving a published business number when calls or messages fail. Where live status is available, include the connectivity result in the incident report.

Summarize business carrier coverage

Group published supplier or branch phone numbers by the carriers returned. Show which records lack carrier information before reviewing network-dependent routing.

Review a business carrier migration

Compare returned carrier and porting information with the expected network after a company changes its phone service. Send discrepancies for manual review.

Questions about HLR Lookup phone carrier in opencode

Can opencode use HLR Lookup phone carrier?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run HLR Lookup phone carrier like any built-in tool.

How much does HLR Lookup phone carrier cost in opencode?

Up to $0.0034918 per run. 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 HLR Lookup phone carrier in opencode?

No. Spiral runs HLR Lookup phone carrier on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up HLR Lookup phone carrier in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while HLR Lookup phone carrier runs?

HLR Lookup phone carrier runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Does HLR Lookup cover every mobile network?

Coverage varies by country and operator, and the coverage list changes regularly. Some operators supply carrier codes and porting information without sharing live status.

How fresh are HLR Lookup results?

Network checks run at request time, but optional cached results can be up to 30 days old. The returned timestamp retains the original check time when a result comes from cache.

How many numbers can the source process in one request?

HLR Lookup's JSON API accepts up to 80 numbers per request. More than 80 produces a BAD_REQUEST error.

Can HLR Lookup locate a phone?

No. HLR Lookup explicitly says it does not provide any number's location; its service returns phone status and network information.

Can I base a business decision entirely on a lookup?

HLR Lookup's terms say its services are not intended to be the sole basis for a business decision. A returned carrier or connectivity result should therefore support your assessment rather than determine it alone.

Get started

Start using HLR Lookup phone carrier in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options