How to integrate HLR Lookup MCP with Atomic Agent

Connect Atomic Agent to HLR Lookup MCP. Validate customer numbers before sending messages, check carrier and portability for leads, and more using natural language, with authentication handled for you.

HLR Lookup logoHLR Lookup
Api Key

HLR Lookup is a phone-number intelligence service for validation, network checks, and portability data. It helps businesses verify numbers, reduce failed messages, and process lookups at scale.

14 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,700+ apps through Composio, including HLR Lookup.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a HLR Lookup account. See the Atomic Agent documentation for installation instructions.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate HLR Lookup with

How Atomic Agent connects to HLR Lookup

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect HLR Lookup to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in HLR Lookup. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your HLR Lookup account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the HLR Lookup MCP server, and what's possible with it?

The HLR Lookup MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your HLR Lookup account. It provides structured and secure access to phone validation, HLR status checks, network and portability data, credit balances, and bulk processing, so your agent can validate phone numbers, check live phone status, identify mobile networks, manage lookup batches, and monitor available credits on your behalf.

  • Phone number validation: Have your agent validate up to 80 phone numbers at once and check their formatting and original network information.
  • HLR and network checks: Direct your agent to run live HLR lookups or retrieve mobile network and number portability data for up to 80 phone numbers.
  • Bulk lookup management: Let the agent create batches, upload phone numbers from JSON or CSV files, start or resume processing, pause work, and schedule a batch for a specific UTC time.
  • Batch progress and results: Instruct your agent to list batches, check their current progress, and download completed results as CSV or JSON files.
  • Credit balance monitoring: Have your agent check the remaining credit balance in your HLR Lookup account before running phone checks.

Use HLR Lookup from Atomic Agent

With your account connected, ask Atomic Agent to work with HLR Lookup in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every HLR Lookup action and event your agent gets out of the box.

Check Phone Status

Run full HLR lookups for 1-80 phone numbers.

Create Batch

Create an empty persistent HLR_V2 batch.

Delete Batch

Permanently delete one HLR batch and its results.

Download Batch Results

Download a completed batch's CSV or JSON result export as a file reference, selecting the format explicitly.

Get Credit Balance

Return the connected HLR Lookup account's remaining credit balance.

Get Batch

Return metadata and current progress for one HLR batch.

List Batches

List the connected account's HLR batches with their metadata and progress.

Run MNP Lookup

Look up network and mobile-number-portability data for 1-80 phone numbers.

Pause Batch

Request a pause in processing one HLR batch and return the provider's success flag.

Schedule Batch

Schedule processing of one uploaded HLR batch at a UTC time.

Start or Resume Batch

Request to start or resume processing one uploaded HLR batch and return the provider's success flag without polling for completion.

Upload Batch CSV

Upload a CSV file of sensitive phone data into an empty HLR batch.

Upload Batch Phone Numbers

Upload 1-100,000 sensitive phone numbers into an empty HLR batch as a compact JSON array.

Validate Phone Numbers

Validate formatting and original-network information for 1-80 phone numbers without a live HLR lookup.

FAQ

Frequently asked questions

Start with HLR Lookup.It takes 30 seconds.

Managed auth, hosted MCP servers, and every HLR Lookup tool your agent needs.Free to start.

Start building