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

@callzero/mcp-server

v0.0.7

Published

MCP server for CallZero AI phone call automation

Readme

@callzero/mcp-server

MCP (Model Context Protocol) server for CallZero AI phone call automation. This package allows MCP clients like Claude Desktop, ChatGPT, and other AI assistants to make phone calls through the CallZero service.

Features

  • 10 Comprehensive Tools: Core calling, management, and memory capabilities
  • HTTP Transport: Calls CallZero production APIs securely
  • Standard MCP Protocol: Works with any MCP client
  • Simple Setup: Just requires an API key
  • Memory System: Store and retrieve context about contacts and preferences
  • Call Management: List, cancel, and share calls easily

Quick Start

Installation

# Install globally
npm install -g @callzero/mcp-server

# Or use with npx (no installation needed)
npx @callzero/mcp-server

Configuration

1. Get API Key

Visit callzero.ai to generate an API key from your account settings.

2. Configure MCP Client

Add to your MCP client configuration (e.g., Claude Desktop):

{
  "mcpServers": {
    "callzero": {
      "command": "callzero-mcp",
      "env": {
        "CALLZERO_API_KEY": "callzero_your_api_key_here"
      }
    }
  }
}

Or with npx:

{
  "mcpServers": {
    "callzero": {
      "command": "npx",
      "args": ["@callzero/mcp-server"],
      "env": {
        "CALLZERO_API_KEY": "callzero_your_api_key_here"
      }
    }
  }
}

Available Tools

Core Tools

make_call

Make an AI-powered phone call (immediate or scheduled).

Parameters:

  • recipientPhone (required): Phone number in E.164 format (e.g., "+15551234567")
  • taskDetails (required): What the AI should accomplish on the call
  • yourInfo (optional): Additional context about the caller
  • scheduledFor (optional): ISO datetime for scheduling (e.g., "2024-01-15T14:30:00Z")

get_call_status

Get the current status and basic information about a call.

Parameters:

  • callId (required): ID of the call to check

Returns:

  • Call status (pending, in_progress, completed, failed)
  • Start/end times, duration, recipient phone, summary

get_call_transcript

Get the full transcript and detailed information about a completed call.

Parameters:

  • callId (required): ID of the call to get transcript for

Returns:

  • Complete conversation transcript with timestamps
  • Call metadata and summary

Management Tools

cancel_call

Cancel a scheduled call before it starts.

Parameters:

  • callId (required): ID of the scheduled call to cancel

list_calls

List all calls with optional filters for status, date range, and pagination.

Parameters:

  • status (optional): Filter by status (pending, in_progress, completed, failed, all)
  • limit (optional): Number of results (1-100, default: 20)
  • offset (optional): Pagination offset (default: 0)
  • startDate (optional): Filter calls after this date (ISO format)
  • endDate (optional): Filter calls before this date (ISO format)

get_credit_balance

Get the current credit balance in minutes for making AI phone calls.

Returns:

  • creditMinutes: Remaining minutes
  • planType: Current subscription plan
  • nextRefillDate: When credits will refresh

share_call

Generate a shareable link for a call transcript.

Parameters:

  • callId (required): ID of the call to share
  • expiresInDays (optional): Days before link expires (1-30, default: 7)

Returns:

  • shareUrl: Public URL to view transcript
  • expiresAt: When the link expires

Template Tools

search_form_templates

Search for public form templates that match your query. Returns templates with pre-filled task details and may include phone numbers for known companies.

Parameters:

  • query (required): Search query to find matching templates (e.g., "xfinity bill", "cancel att")
  • limit (optional): Maximum number of results (1-20, default: 5)

Returns:

  • templates: Array of matching templates with:
    • id: Template identifier
    • title: Template name
    • description: Brief description
    • taskDetails: Pre-filled task script
    • recipientPhone: Phone number (if extracted)
    • similarityScore: Match relevance (0-1)
    • usageCount: How many times used
  • total: Total number of matches found
  • query: The search query used

Example Use Case: When a user says "I want to call Xfinity to lower my bill", search for templates first. If found, use the template's taskDetails and recipientPhone to make the call immediately.

Memory Tools

create_memory

Store information about contacts, preferences, or tasks that the AI should remember.

Parameters:

  • content (required): Memory content to store
  • category (optional): Type of memory (contact, task, preference, general)
  • relatedPhone (optional): Associated phone number
  • tags (optional): Array of tags for categorization
  • sensitivity (optional): Security level (low, medium, high)

search_memories

Search stored memories by query, category, or phone number.

Parameters:

  • query (required): Search query
  • category (optional): Filter by category
  • relatedPhone (optional): Filter by phone number
  • limit (optional): Max results (1-50, default: 10)

get_contact_memories

Get all memories related to a specific phone number.

Parameters:

  • phoneNumber (required): Phone number in E.164 format
  • limit (optional): Max results (1-100, default: 20)

Returns:

  • All memories for the contact
  • AI-generated summary of the relationship

Configuration Options

Environment Variables

  • CALLZERO_API_KEY (required): Your CallZero API key
  • CALLZERO_API_URL (optional): Override API base URL for development

Development/Testing

For local development or testing against a local instance:

export CALLZERO_API_KEY="callzero_your_key"
export CALLZERO_API_URL="http://localhost:3000"
callzero-mcp

Architecture

This MCP server acts as a transport layer between MCP clients and CallZero HTTP APIs:

MCP Client (Claude, ChatGPT, etc.)
    ↓ MCP Protocol
@callzero/mcp-server (this package)
    ↓ HTTPS Requests
callzero.ai/api/tools/*
    ↓ Business Logic
CallZero Backend → AI Phone Calls

Security Features

  • Rate Limiting: 50 requests per minute to prevent abuse
  • URL Validation: HTTPS required for production, HTTP only for localhost
  • API Key Format: Must start with callzero_ prefix
  • No Sensitive Data: Error messages don't expose internal details
  • Domain Warnings: Alerts when using non-standard API domains

Testing with MCP Inspector

The official MCP Inspector tool can be used to test all CallZero tools interactively:

# Install MCP Inspector
npm install -g @modelcontextprotocol/inspector

# Run Inspector with CallZero
npx @modelcontextprotocol/inspector \
  node dist/index.js \
  --env CALLZERO_API_KEY=callzero_your_api_key

Then open http://localhost:5173 in your browser to test all tools with a visual UI.

See MCP_INSPECTOR_GUIDE.md for detailed testing instructions.

Error Handling

The server provides clear error messages for common issues:

  • Invalid API Key: "Invalid API key format. Must start with 'callzero_'"
  • Missing API Key: "CALLZERO_API_KEY environment variable is required"
  • Rate Limit: "Rate limit exceeded. Please wait before making more requests"
  • Insecure URL: "Insecure HTTP is only allowed for localhost"
  • HTTP Errors: Detailed error messages from the CallZero API
  • Validation Errors: Clear field-level validation messages

Troubleshooting

"CALLZERO_API_KEY environment variable is required"

Set your API key in the environment:

export CALLZERO_API_KEY="callzero_your_api_key_here"

"Invalid API key format"

Ensure your API key starts with callzero_. Get a valid key from callzero.ai.

"HTTP 401: Unauthorized"

Your API key may be invalid or inactive. Generate a new key from your CallZero account.

"HTTP 429: Rate limit exceeded"

You've hit the rate limit (50 calls per 24 hours). Wait or upgrade your plan.

Rate Limits

  • MCP API: 50 calls per 24 hours per API key
  • Credit System: Calls deduct from your CallZero credit balance
  • Phone Number Format: US numbers only (E.164 format)

Security

  • API keys are transmitted securely via HTTPS
  • No sensitive data is stored locally
  • All calls are logged for audit purposes
  • Access control enforced by CallZero backend

Contributing

This package is part of the CallZero project. For issues or contributions:

  1. Issues: GitHub Issues
  2. Documentation: callzero.ai/docs
  3. Support: Contact support through the CallZero website

License

MIT License - see LICENSE file for details.

Changelog

2.0.0

  • Added 7 new tools for comprehensive call management
  • Management Tools: cancel_call, list_calls, get_credit_balance, share_call
  • Memory System: create_memory, search_memories, get_contact_memories
  • Improved error handling with actionable messages
  • Enhanced API key validation with prefix checking

1.0.0

  • Initial release
  • Support for make_call, get_call_status, get_call_transcript tools
  • HTTP transport to CallZero production APIs
  • Standard MCP protocol implementation