Skip to content
Book a Call → mycocoon.life
What is treg? One key, 4,100+ tools for AI agents. Cocoon blog.
← Back to Blog Tools 15 min read

What Is treg? The OpenRouter for AI Agent Tools, Explained

By Ammar Ahamed, Founder, Cocoon · 3 November 2026 · Facts checked against treg.to, its docs and its GitHub repository on 3 November 2026

THE SHORT ANSWER

treg (treg.to) is a tool catalog for AI agents: one MCP server and one key that let Claude Code, Codex, Cursor or a claude.ai connector call more than 4,100 API endpoints across 123 providers. It covers SEO and SERP data, backlinks, social profiles and trends, people and company enrichment, ads, scraping, and image, video and voice generation. You pay per call from a prepaid balance at the provider's own rate, with 0% markup. treg holds the provider accounts, so you never sign up for Semrush, Moz or Crunchbase, and no API key ever sits on your laptop. Its makers call it "OpenRouter for agent tools". It is open source, and new verified accounts get $1.00 of free credit.

ⓘThis is an independent guide. Product facts come from treg.to, its setup guide, its operating guide and its GitHub repository, checked on 3 November 2026. We also ran four real calls through treg for this series; those numbers are ours and are marked as ours. Prices and catalog counts change often, so check the catalog before you budget.

What treg is

An AI agent like Claude Code can read your files, write code and run commands. What it can't do on its own is know things that live behind someone else's paywall: how many people search for a keyword, who links to a competitor, whether a company just raised money, or what is trending on TikTok today. That data sits behind subscriptions, signup walls and, in some cases, no public API at all.

treg is the layer that fixes that. You give your agent one treg token. The agent searches treg's catalog by the job it needs done ("backlinks for a domain", "find a work email", "keyword search volume"), reads the price, and calls the tool. treg injects the right provider's credential on its own server, relays the request, and hands back the provider's answer unchanged. The agent never holds a vendor key, and you never open a vendor account.

The comparison its makers use is OpenRouter. OpenRouter gives you one key for many language models. treg gives you one key for the tools and data an agent needs to finish real work. The line on the README sums up the idea: ask for the task, not the tool.

treg at a glance

Made byThe Superdesign team, who built it for their own agents first
Websitetreg.to
What it isA tool registry and proxy for AI agents: a curated catalog plus your team's own tools, behind one token
Catalog size4,100+ endpoints across 123 providers (treg.to, 3 November 2026)
Works withClaude Code, Codex, Cursor, opencode, OpenClaw, Hermes and pi; claude.ai and ChatGPT as a custom connector
Ways to call itAn MCP server at treg.to/mcp/, the treg CLI, or plain HTTP
PricingPrepaid balance, billed per call at the provider's rate, 0% markup; $1.00 free credit once per new verified account
Your own keysAlways used first, and those calls are never metered
CredentialsStored and injected on treg's server, never on the agent's machine; every call is logged
LicenceApache 2.0 with additional terms; free for internal and commercial use and for self-hosting
Latest release0.29.0, 1 November 2026

Why treg exists: the seat problem

Say you want Claude Code to write a weekly SEO report. It needs keyword volumes, backlink counts and live search results. Doing that the usual way means a Semrush seat, a Moz seat and a SERP API plan, each billed monthly, for a report that makes a few hundred calls a week. treg's homepage adds up a typical SEO toolbelt at around $536 a month in seats.

Other data has no easy door at all. treg lists TikTok trends as invite-only, LinkedIn posts as partner-only, and Instagram data as gated behind app review. treg carries those accounts and routes, and bills you a fraction of a cent per call. Here is how its own homepage compares seats with per-call prices:

JobThe usual seatThrough treg
Keyword volume and ideasSemrush, $139/month$0.0018 per keyword
Backlinks and anchorsMoz, $99/month$0.00018 per row
Funding and investorsCrunchbase, $99/month$0.01 per call
Find and verify a work emailHunter, $34/monthfrom $0.0005 per call
Search Console queriesBuild your own OAuth appConnect your account, free

Source: treg.to homepage, 3 November 2026. Seat prices are the ones treg quotes.

The point isn't that seats are bad. If your team lives in the Semrush dashboard all day, keep it. The point is that an agent run is a different shape of work: many small lookups, across many vendors, in bursts. Paying per answer fits that shape better than paying per seat.

How treg works: search, read, call

Every job follows the same three steps, whether your agent uses the CLI or the MCP tools (catalog_search, catalog_get and call):

# 1. find tools that do the job, with prices
treg catalog search "backlinks for a domain"
# 2. read parameters, price and measured reliability
treg catalog get <id>
# 3. call it (or --data '{...}' for a JSON body)
treg call <id> --query key=value

The middle step is what makes treg more than a key vault. catalog get shows the exact price and, where several providers do the same job, compares them on measured success rate, speed and the last time each one answered. Nineteen providers sell backlink data and nine sell email lookups, so your agent picks on evidence instead of habit.

For common jobs, treg also offers routed tools named after the job rather than a vendor: treg.web.search, treg.web.extract, treg.google.serp.organic, treg.companies.enrich, treg.people.email.find. You send what you know, treg tries providers cheapest first, moves on when one misses, and on per-success providers bills only the answer it returns. When we enriched a company from its domain, the router skipped eight providers that needed inputs we didn't have (a LinkedIn URL, a name, an email) and answered from the first one that could.

Behind every catalog call sits a simple order of credentials, which treg calls the credential ladder:

  1. Your team registered its own tool for that provider: that tool and that key.
  2. Your team stored a key for the provider: that key.
  3. Neither, and a verified free public route exists: no key, no charge.
  4. Otherwise: treg's own account, billed to your team's balance.

If you already pay for a provider, connect your key once and those calls route through it, unmetered.

What's in the treg catalog

The catalog is grouped by what the endpoints do, not by vendor. On 3 November 2026 the main groups were:

When the catalog has nothing for a job, the agent can file a request (treg catalog request "what you need"), and treg says those requests steer what it adds next.

How to set up treg in Claude Code, Codex or Cursor

The fastest way is to hand the job to your agent. Paste this one line into Claude Code, Codex or Cursor:

set up treg - https://treg.to/llms.txt

The agent reads treg's setup guide and runs the installer. If you'd rather do it yourself, it's three commands:

curl -fsSL https://treg.to/install.sh | sh
# browser sign-in: GitHub, Google or an emailed code
treg login
# shows your account, team, balance and next commands
treg

The installer adds the CLI and installs the treg skill for every agent it finds on your machine. In Claude Code you can also install it as a plugin:

/plugin marketplace add superdesigndev/treg
/plugin install treg@treg

On claude.ai or ChatGPT, there's nothing to install. Add https://treg.to/mcp/ as a custom connector and finish the OAuth consent, where you choose which team pays. treg also runs a separate surface for Claude's Connectors Directory at /mcp/v2/, which exposes curated catalog endpoints only, without image, video or audio generation, and keeps read calls apart from write calls.

If you've never wired an agent to an API before, our free API Lab has you send real API requests to a live feed, then hand the same API to an agent over MCP. It makes the rest of this guide easier to follow.

treg pricing: what a call actually costs

Here is what our own first calls cost, run through treg on 3 November 2026 while researching this series:

What we asked forServed byCost
Google volume, CPC and competition for 70 keywords, one callDataForSEO$0.09
Top Google results for one keyword, with the AI Overview and related searchesrouted, first provider hit$0.00015
Backlink summary for our own domainMoz, via the routed tool$0.0133
Company profile from a domain (name, industry, headcount, LinkedIn)routed, first provider hit$0.0005
Totalabout $0.10

Ten cents bought the keyword research behind all three posts in this series. The same research through seats would have needed at least two monthly subscriptions. We walk through the SEO calls in detail in Claude Code for SEO.

Your team's own keys, CLIs and skills

treg has a second half that matters just as much for teams: it's a safe home for the keys you already have. You can register an API key, an OAuth connection, a vendor CLI such as stripe or gh, or a SKILL.md recipe. Every teammate's agent can then call it, while the credential stays encrypted on the server.

# read-only preview of the keys, skills and CLIs it would register
treg scan
# register them (run again with --replace to update)
treg upload

Calling one of your own APIs is as simple as putting treg's prefix in front of the real URL. treg finds the tool by host, injects the key, strips your treg token, and relays everything else as it was:

GET https://treg.to/call/https://api.stripe.com/v1/charges
X-Treg-Token: <your token>

For a team, this solves three everyday problems:

Roles are simple: a viewer calls tools, a member also registers their own, an admin manages everyone's and invites, and an owner changes roles.

treg skills: ready-made workflows for your agent

A skill is a written recipe your agent follows end to end. treg ships several, each running its data steps through treg:

SkillWhat your agent can do with it
tregFind and call any tool in the catalog, plus your team's own tools. Installed by default.
web-accessRead the live web without local scrapers: free search and page reads first, then the right platform job for social, stores, reviews, maps and papers.
lead-signalsFind in-market buyers from public signals (complaints, job changes, hiring, funding, tool adoption) and monitor a topic, competitor or account list.
recruitTurn a LinkedIn job post into a ranked shortlist with a reason for each candidate, cited evidence and a checked contact.
make-ugcMake AI UGC videos: trending hooks, a presenter, talking-head clips and captions.
jev-memoryGive Claude Code a memory, with TypeSafe's Jev judging each prompt and keeping your lasting preferences. Opt-in.
rea-growthReverse-engineer how a company gets its users, channel by channel. Opt-in.
# add one skill
npx skills add superdesigndev/treg --skill lead-signals
# or the installer's whole set
treg skill bootstrap --skills all

We cover lead-signals and recruit in GTM Engineering With Claude Code.

treg vs a single-vendor MCP server, an MCP registry and a unified API

"MCP server" now covers very different things, so it helps to be precise. MCP (Model Context Protocol) is the standard way an agent connects to outside tools. Here is where treg sits among the options people search for:

One vendor's MCP serverMCP registry or marketplacetreg
What you getThat vendor's data (for example Semrush MCP or Ahrefs MCP)A directory of servers to install one by oneOne server reaching 123 providers, plus your own tools
Accounts you needA paid plan with that vendorOne per server you installNone with the providers
Keys you manageOne per vendorOne per serverOne treg token; vendor keys stay on treg's server
BillingYour subscription and its API unitsEach vendor separatelyOne prepaid balance, per call
Choosing a providerFixedYou choose and installCompared live on price, success rate and speed, or routed for you
Best whenYour team already pays for that tool and uses it dailyYou want a specific server for a specific appYour agent needs data from many vendors, in bursts

These aren't exclusive. A common setup is the vendor's own MCP server for the one tool your team lives in, and treg for everything else. And if you connect your Semrush or Moz key to treg, your agent calls those through treg at no extra cost.

Open source and self-hosting

treg is public on GitHub at superdesigndev/treg, with more than 4,100 commits by early November 2026. The licence is Apache 2.0 with additional terms: free for internal and commercial use and for self-hosting, but not for offering it to others as a hosted service without written permission. You can run your own registry with your own provider keys, or list your own API or skill in the public catalog.

If you're building a product on treg that bills its own users, treg encourages it: tag each call with your customer's ID from your backend, set per-customer budgets, and invoice from treg's ledger.

What to watch out for

Who treg is for, and who it isn't for

It fits marketers and growth teams who already work in Claude Code or Codex and want live SEO, social and ads data in the same place; GTM engineers building lead lists, enrichment and signals; founders who need answers from ten tools but can't justify ten seats; and developers putting data tools inside their own agents or products.

It's not for you if nobody on your team uses an AI agent yet, or if what you need is a visual dashboard to click through. In that case, a normal subscription to one good tool is simpler. Our best AI SEO tools roundup and the AI Tools Directory are better starting points.

The part a tool can't do for you

treg makes an agent capable. It doesn't make it careful. The people getting real value from this setup can do three things: brief an agent clearly, put a number on what it may spend and send, and check its output before it reaches a customer. Those are learnable skills, and they're the same whether the data comes from treg or anywhere else. If you want to see where agents fit in your own week first, map one process in our free Workflow Mapper, then try building it in Automation Lab.

Frequently asked questions

What is treg?

treg (treg.to) is a tool catalog and proxy for AI agents, described by its makers as "OpenRouter for agent tools". One MCP server and one token give an agent such as Claude Code, Codex or Cursor access to more than 4,100 API endpoints across 123 providers (November 2026), from SEO and enrichment data to image and video generation, billed per call.

Is treg free?

Signing up is free, and new verified accounts get $1.00 of credit once. After that you pay per call from a prepaid balance. Calls on your own registered keys, verified free public routes and failed calls cost nothing. The software is open source and free to self-host.

How much does treg cost?

Each call costs the provider's listed rate with 0% markup, shown before the call. Typical lookups cost fractions of a cent: on 3 November 2026 we paid $0.00015 for a Google results page, $0.0005 for a company profile, $0.013 for a backlink summary and $0.09 for search volumes on 70 keywords.

Is treg an MCP server?

Yes. treg runs an MCP server at https://treg.to/mcp/ with tools including catalog_search, catalog_get, call, balance and my_tools. It also has a command-line tool and a plain HTTP interface.

How do I add treg to Claude Code?

Paste "set up treg - https://treg.to/llms.txt" into Claude Code, or run curl -fsSL https://treg.to/install.sh | sh and then treg login. You can also install it as a Claude Code plugin with /plugin marketplace add superdesigndev/treg and /plugin install treg@treg.

Does treg work with ChatGPT or claude.ai?

Yes, as a custom connector. Add https://treg.to/mcp/ in your connector settings and complete the OAuth consent, where you choose which team pays.

Do I need Semrush, Moz or Crunchbase accounts to use their data through treg?

Not for most endpoints: treg serves calls on its own provider accounts and bills you per call. A few tools only work with your own account, such as Google Ads or Search Console through OAuth. If you already pay for a provider, connect your key and calls use it, unmetered.

Is my API key safe with treg?

Keys you register are stored encrypted and injected on treg's server, so they never sit on an agent's machine or in its prompt. Agents hold only a treg token, which you can revoke in one place, give a spend cap and limit to certain tools.

Is treg open source?

Yes. The code is at github.com/superdesigndev/treg under Apache 2.0 with additional terms: free for internal and commercial use and for self-hosting, while offering it to others as a hosted service needs written permission.

What does "OpenRouter for tools" mean?

OpenRouter lets you reach many AI models with one key and one bill. treg applies the same idea to the tools and data an agent calls: one key, one balance, many providers, compared on price and measured reliability.

Sources

treg

treg gives an agent the tools. Cocoon trains the people who brief it, set its limits and check its work, on their own real jobs.

Explore AI for Professionals →

THE TOOLS ARE THE EASY PART.

An agent with 4,100 tools can do a lot of useful work quickly, or a lot of damage. The difference is the person briefing it. Cocoon teaches that on real work, with real deliverables:

Delivered on-site and online across Sri Lanka, Singapore, Malaysia, Cambodia, India and Dubai.

AI FOR PROFESSIONALS →BOOK A FREE CALL