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

hyros-mcp

v1.0.4

Published

MCP server for Hyros advertising attribution API — 38 tools for leads, sales, calls, subscriptions, attribution reports, and smart analytics

Downloads

152

Readme

Hyros MCP Server

npm version License: MIT

MCP server for the Hyros advertising attribution API. Gives AI assistants (Claude, Cursor, etc.) full access to your Hyros account through the Model Context Protocol.

38 tools covering leads, sales, calls, subscriptions, attribution reports, ad management, and smart analytics.

Built by Carlos Aragon.

Installation

Step 1 — Install the package

Open a terminal and run:

npm install -g hyros-mcp

This works on Windows, macOS, and Linux.

Step 2 — Add to Claude Desktop

Open your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add this (replace your_api_key_here with your key from Hyros → Settings → Integrations → API):

{
  "mcpServers": {
    "hyros": {
      "command": "hyros-mcp",
      "args": [],
      "env": {
        "HYROS_API_KEY": "your_api_key_here"
      }
    }
  }
}

Step 3 — Restart Claude Desktop

Close and reopen Claude Desktop. That's it — you're ready to use it.


Claude Code (CLI)

npm install -g hyros-mcp
claude mcp add hyros -e HYROS_API_KEY=your_api_key_here -- hyros-mcp

Cursor / Windsurf

Same config as Claude Desktop above — add it to your MCP settings file.


Troubleshooting

"401 Unauthorized" — Your API key is wrong or missing. Make sure:

  1. HYROS_API_KEY is inside the env block
  2. The key is copied exactly from Hyros → Settings → Integrations → API
  3. You restarted Claude Desktop after saving the config

MCP tools not showing up — Restart Claude Desktop. The config is only read at startup.

"command not found: hyros-mcp" — The global install didn't complete. Run npm install -g hyros-mcp again and make sure npm's global bin folder is in your PATH.

Configuration

| Variable | Required | Description | |---|---|---| | HYROS_API_KEY | Yes | Your Hyros API key (Settings > Integrations > API) | | HYROS_BASE_URL | No | API base URL (default: https://api.hyros.com/v1) |

Tools

Read Operations (16)

| Tool | Description | |---|---| | hyros_get_user_info | Account information | | hyros_get_leads | Search and retrieve leads | | hyros_get_lead_journey | Full customer journey with attribution | | hyros_get_sales | Query sales records | | hyros_get_calls | Query call records | | hyros_get_subscriptions | Query subscriptions | | hyros_get_clicks | Get click history for a lead | | hyros_get_tags | List all tags | | hyros_get_stages | List funnel stages | | hyros_get_domains | List verified domains | | hyros_get_sources | Get ad sources and campaigns | | hyros_get_ads | Get ads by platform | | hyros_get_keywords | Get keywords by ad group | | hyros_get_tracking_script | Get tracking script HTML | | hyros_get_attribution_report | Attribution metrics (ROAS, ROI, CPA, etc.) | | hyros_get_ad_account_report | Account-level attribution metrics |

Write Operations (17)

| Tool | Description | |---|---| | hyros_create_lead | Create a new lead | | hyros_update_lead | Update lead data and tags | | hyros_create_order | Register a sale/order | | hyros_refund_order | Process a refund | | hyros_update_sale | Update sale status | | hyros_delete_sale | Delete a sale | | hyros_create_call | Register a call event | | hyros_update_call | Update call qualification | | hyros_delete_call | Delete a call | | hyros_create_subscription | Create subscription | | hyros_update_subscription | Update subscription | | hyros_create_source | Create ad source | | hyros_create_custom_cost | Add custom ad cost | | hyros_create_product | Create product | | hyros_create_cart | Track a shopping cart | | hyros_update_cart | Update pending cart | | hyros_create_click | Manually record a click |

Smart Analytics (5)

| Tool | Description | |---|---| | hyros_daily_summary | Today's performance: revenue, leads, calls, subscriptions | | hyros_best_performers | Top ads/campaigns ranked by any metric | | hyros_compare_periods | Compare metrics between two date ranges | | hyros_funnel_overview | Full funnel from leads to revenue | | hyros_subscription_health | MRR, ARR, churn, and subscription breakdown |

Resources

| URI | Description | |---|---| | hyros://account | Account information | | hyros://tags | Available tags | | hyros://stages | Funnel stages |

Prompts

| Name | Description | |---|---| | daily_briefing | Daily performance summary | | campaign_analysis | Campaign performance analysis | | lead_lookup | Investigate a specific lead |

Example Questions

Once connected, you can ask things like:

  • "What was my revenue today?"
  • "Show me my best performing Facebook ads this month"
  • "Compare last week vs this week"
  • "Look up the customer journey for [email protected]"
  • "What's my current MRR?"
  • "Which campaigns have the highest ROAS?"
  • "Create a lead with email [email protected] and tag them as VIP"

Security

  • HTTPS-only connections (API key never sent over plaintext)
  • Domain-restricted to *.hyros.com (prevents SSRF)
  • Runtime input validation on all tool parameters
  • Request timeouts (30s) with retry logic
  • Client-side rate limiting (25 req/sec)
  • Path traversal prevention on URL parameters

Development

git clone https://github.com/CachoMX/Hyros-MCP.git
cd Hyros-MCP
npm install
cp .env.example .env    # Add your API key
npm run build           # Compile TypeScript
npm run dev             # Run in development mode
npm test                # Run tests

License

MIT - Carlos Aragon