npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@arenza/mcp-client

v0.1.0

Published

TypeScript client for the Arenza MCP server — programmatic access to AI visibility metrics, brand mentions, and GEO opportunities across ChatGPT, Claude, Gemini, Perplexity, Copilot, and Grok.

Readme

arenza-mcp-client

TypeScript client for the Arenza MCP server — programmatic access to AI visibility metrics, brand mentions, hallucination findings, and GEO opportunities across ChatGPT, Claude, Gemini, Perplexity, Copilot, and Grok.

Arenza is a Generative Engine Optimization (GEO) platform that measures how 6 leading AI assistants describe brands across 4 markets (US, UK, DE, JP). This client wraps the Model Context Protocol server at mcp.arenza.ai, giving you typed access to the same data the Arenza dashboard renders.

Why an MCP client (not just a REST SDK)

The Arenza data surface ships as both a REST API (api.arenza.ai) and an MCP server (mcp.arenza.ai). The MCP variant is what AI agents — Claude Desktop, Claude Code, Cursor, Continue, and any custom agent built on the MCP protocol — connect to natively. This client lets you embed the same connection inside a TypeScript backend, automation, or chatbot.

If you want to use Arenza from Claude Desktop directly (no code), see Use Claude with the Arenza MCP server instead.

Install

npm install @arenza/mcp-client
# or
pnpm add @arenza/mcp-client
# or
yarn add @arenza/mcp-client

Quick start

import { ArenzaMCPClient } from '@arenza/mcp-client';

const client = new ArenzaMCPClient({
  // Get a token at https://app.arenza.ai/settings/api or use OAuth flow.
  token: process.env.ARENZA_TOKEN!,
});

// 10 read+write tools available — see tools list below.
const brands = await client.listBrands();
console.log(brands);

const overview = await client.getBrandOverview({ brand_id: brands[0].id });
console.log(overview.share_of_voice, overview.wrong_claims);

Tools

The Arenza MCP server exposes 10 tools:

Read

| Tool | Description | |---|---| | list_brands | List all brands in the authenticated tenant's portfolio. | | get_brand_overview | Aggregate visibility + accuracy snapshot for one brand. | | list_prompts | List the AI prompts probed for a brand, with mention rates per LLM. | | list_opportunities | List measurement-led GEO opportunities (wrong claims to fix, missing canonical pages, listicle gaps). | | suggest_competitors | LLM-suggested competitors based on the brand description. | | suggest_prompts | LLM-generated buyer-perspective prompts (70%+ unbranded ratio enforced). |

Write

| Tool | Description | |---|---| | add_competitor | Add a competitor to a brand's tracking list. | | dismiss_competitor | Remove a competitor (e.g. wrong suggestion). | | mark_opportunity_done | Mark a GEO opportunity as completed. | | generate_geo_article | Draft a canonical-fact article body anchored to a specific finding. |

Each tool is fully typed in this client — TypeScript autocomplete shows parameter shapes and return types.

Authentication

Two options:

API token (simplest for backend / cron jobs):

const client = new ArenzaMCPClient({ token: process.env.ARENZA_TOKEN! });

Get one at app.arenza.ai/settings/api.

OAuth (for multi-tenant apps, AI agents, end-user authorization):

const client = await ArenzaMCPClient.fromOAuth({
  clientId: 'your-client-id',
  redirectUri: 'https://yourapp.com/oauth/callback',
});

The Arenza MCP server supports OAuth 2.0 with Dynamic Client Registration (DCR) and PKCE — full spec at mcp.arenza.ai/.well-known/oauth-authorization-server.

Example: weekly GEO digest cron

import { ArenzaMCPClient } from '@arenza/mcp-client';

async function weeklyDigest() {
  const client = new ArenzaMCPClient({ token: process.env.ARENZA_TOKEN! });
  const brands = await client.listBrands();

  for (const brand of brands) {
    const ovw = await client.getBrandOverview({ brand_id: brand.id });
    const opps = await client.listOpportunities({ brand_id: brand.id });
    console.log(
      `${brand.name}: SoV ${ovw.share_of_voice}%, ${ovw.wrong_claims} wrong claims, ${opps.length} opportunities`,
    );
  }
}

weeklyDigest();

Rate limits

  • Free tier: 100 MCP calls/hour
  • Pro tier ($299/mo): 1,000 calls/hour
  • Protect tier ($799/mo): 10,000 calls/hour
  • Enterprise: unlimited

Current limits are returned in X-RateLimit-Remaining headers. The client does not auto-retry on 429 — retry yourself with backoff.

Related projects

Resources

  • Arenza homepage: https://arenza.ai
  • API contract: https://app.arenza.ai/methodology
  • Long-form guides: https://arenza.ai/guides
  • Brand reference for AI assistants: https://arenza.ai/llms.txt + https://arenza.ai/llms-full.txt
  • MCP server: https://mcp.arenza.ai
  • OAuth spec: https://mcp.arenza.ai/.well-known/oauth-authorization-server

License

MIT © Arenza