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

ppc-prophet-mcp

v1.0.0

Published

MCP Server for Amazon Ads management via PPC Prophet - manage campaigns, keywords, and bids through Claude

Readme

PPC Prophet MCP Server

An MCP (Model Context Protocol) server for managing Amazon Advertising campaigns through natural language via AI assistants like Claude.

Prerequisites

  • Node.js 18+
  • A PPC Prophet account
  • Your PPC Prophet API token

Installation

Option 1: npm (Recommended)

No installation required - use npx to run directly:

npx ppc-prophet-mcp

Or install globally:

npm install -g ppc-prophet-mcp

Option 2: From Source

# Clone or download the mcp-server directory
cd mcp-server
npm install
npm run build

Configuration

1. Get Your API Token

Log in to your PPC Prophet account and generate an API token from Settings > API Access.

2. Configure Claude Desktop

Edit your Claude Desktop configuration file:

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

Using npx (Recommended)

{
  "mcpServers": {
    "ppc-prophet": {
      "command": "npx",
      "args": ["-y", "ppc-prophet-mcp"],
      "env": {
        "PPC_PROPHET_API_KEY": "YOUR_API_TOKEN_HERE"
      }
    }
  }
}

Using Global Install

{
  "mcpServers": {
    "ppc-prophet": {
      "command": "ppc-prophet-mcp",
      "env": {
        "PPC_PROPHET_API_KEY": "YOUR_API_TOKEN_HERE"
      }
    }
  }
}

Using Local Build

{
  "mcpServers": {
    "ppc-prophet": {
      "command": "node",
      "args": ["/path/to/mcp-server/build/index.js"],
      "env": {
        "PPC_PROPHET_API_KEY": "YOUR_API_TOKEN_HERE"
      }
    }
  }
}

3. Restart Claude Desktop

After editing the configuration, restart Claude Desktop to load the MCP server.

Testing with MCP Inspector

Before configuring Claude Desktop, you can test the server with the MCP Inspector:

npm run inspect

This opens a web UI where you can test all the tools interactively.

Available Tools

Profile Management

  • list_profiles - List all Amazon advertising profiles
  • get_profile - Get details about a specific profile

Campaign Management

  • list_campaigns - List campaigns for a profile
  • get_campaign - Get campaign details
  • update_campaign_status - Pause, enable, or archive a campaign
  • update_campaign_budget - Change daily budget
  • search_campaigns - Search campaigns by name

Keyword Management

  • list_keywords - List keywords for a profile/campaign
  • update_keyword_bid - Change keyword bid
  • update_keyword_status - Pause, enable, or archive a keyword

Reporting

  • get_performance - Get performance metrics for a date range

Example Conversations

List Your Accounts

User: "Show me my Amazon accounts"
Claude: [Uses list_profiles tool]

Check Campaign Performance

User: "How did my campaigns perform last week?"
Claude: [Uses get_performance tool with date range]

Update a Bid

User: "Increase the bid for keyword 'blue widget' to $1.50"
Claude: [Uses update_keyword_bid tool]

Pause a Campaign

User: "Pause my Brand Defense campaign"
Claude: [Uses search_campaigns to find it, then update_campaign_status]

Development

# Watch mode for development
npm run dev

# Build for production
npm run build

Architecture

Claude Desktop → MCP Server (this) → Laravel API → MySQL Database

The MCP server acts as a bridge between Claude and your PPC Prophet Laravel API, translating natural language requests into API calls.

Troubleshooting

"Connection refused" errors

  • Ensure your Laravel API is running (php73 artisan serve)
  • Check the API URL in your configuration

"Unauthorized" errors

  • Verify your Sanctum token is valid
  • Ensure the token hasn't expired
  • Check the user has access to the requested profiles

Tools not appearing in Claude

  • Restart Claude Desktop after configuration changes
  • Check the configuration file path is correct
  • Verify the build directory exists (npm run build)