How to integrate HLR Lookup MCP with Hermes

Connect Hermes 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

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your HLR Lookup account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Also integrate HLR Lookup with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,500+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating HLR Lookup with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to HLR Lookup

Ask your agent to connect to HLR Lookup, or simply request any HLR Lookup-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new HLR Lookup connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to HLR Lookup or request any HLR Lookup-related task. It will prompt you to authenticate and authorize access.

5. Done!

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.

Way Forward

With HLR Lookup connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

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 full, unpaginated CSV or JSON result export, including source phone values and sensitive HLR intelligence, as a file reference.

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

Pause processing one HLR batch.

Schedule Batch

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

Start or Resume Batch

Start or resume processing one uploaded HLR batch.

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

With a standalone HLR Lookup MCP server, the agents and LLMs can only access a fixed set of HLR Lookup tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from HLR Lookup and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Hermes fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right HLR Lookup tools.

Yes, absolutely. You can configure which HLR Lookup scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your HLR Lookup data and credentials are handled as safely as possible.

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