Skip to main content

MCP Server Setup Guide

Connect the PricingSaaS Intelligence MCP server to Claude Desktop or any MCP-compatible client to access pricing data directly from your AI assistant.

What is MCP?

The Model Context Protocol (MCP) is an open standard that enables AI assistants to securely connect to external data sources and tools. The PricingSaaS MCP server provides AI assistants with direct access to our pricing intelligence database.

Features

  • 7 Tools Available: Access company data and historical scrape files
  • Real-time Data: Query live pricing intelligence data
  • Secure Authentication: API key-based authentication
  • Cost Tracking: 1 credit per tool call (same as REST API)
  • No Installation: HTTP-based server, no local installation needed

Prerequisites

  • Claude Desktop (or another MCP-compatible client)
  • A PricingSaaS API key (get one from your dashboard)

Quick Setup for Claude Desktop

1. Locate Your Configuration File

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

2. Edit Configuration File

Open the configuration file and add the PricingSaaS MCP server:
{
  "mcpServers": {
    "pricingsaas": {
      "type": "http",
      "url": "https://api.pricingsaas.com/functions/v1/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY_HERE"
      }
    }
  }
}
Replace YOUR_API_KEY_HERE with your actual API key (e.g., ps_N0GmTWnOZz3HglzZRqFiqLMsStysMFcZWhNsKKBNoSU)

3. Restart Claude Desktop

  1. Quit Claude Desktop completely (⌘Q on Mac, or fully close on Windows/Linux)
  2. Restart Claude Desktop
  3. Look for the MCP indicator (🔌 icon) to confirm connection

4. Verify Connection

Ask Claude:
What MCP tools do you have access to?
You should see 7 PricingSaaS tools listed.

Multiple MCP Servers

If you already have other MCP servers configured, simply add the PricingSaaS server to the existing configuration:
{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": ["-y", "@supabase/mcp-server-supabase@latest"],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "your_token"
      }
    },
    "pricingsaas": {
      "type": "http",
      "url": "https://api.pricingsaas.com/functions/v1/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY_HERE"
      }
    },
    "other-server": {
      "type": "http",
      "url": "https://example.com/mcp"
    }
  }
}

Available Tools

Once connected, your AI assistant will have access to these tools:

Company Tools

ToolDescriptionCost
list-companiesList all companies with pagination1 credit
get-companyGet company details by slug1 credit
search-companiesSearch companies by name1 credit

Files Tools

ToolDescriptionCost
get-files-by-versionGet scrape files for a specific version (YYYYMMDD)1 credit
get-files-by-quarterGet scrape files for a quarter (e.g., 2025Q4)1 credit
get-files-by-monthGet scrape files for a month (e.g., 2025M12)1 credit
get-files-by-weekGet scrape files for an ISO week (e.g., 2025W42)1 credit

Usage Examples

Example 1: List Companies

Ask Claude:
Show me the first 10 companies in the PricingSaaS database
Claude will use the list-companies tool with limit: 10.

Example 2: Get Company Details

Ask Claude:
Get detailed information about Stripe's pricing
Claude will use the get-company tool with slug: "stripe".

Example 3: Search Companies

Ask Claude:
Find all companies related to "project management"
Claude will use the search-companies tool.

Example 4: Get Historical Pricing Files

Ask Claude:
Get all pricing page files for Stripe from Q4 2024
Claude will use the get-files-by-quarter tool with slug: "stripe" and quarter: "2024Q4".

Example 5: Compare Pricing Changes

Ask Claude:
Compare Stripe's pricing from January 2024 and January 2025
Claude will use get-files-by-version twice and compare the results.

Authentication & API Keys

Getting an API Key

  1. Sign up at PricingSaaS Dashboard
  2. Navigate to API Keys
  3. Create a new API key
  4. Copy the key (starts with ps_...)

API Key Format

ps_N0GmTWnOZz3HglzZRqFiqLMsStysMFcZWhNsKKBNoSU

Security Best Practices

  • Never commit API keys to version control
  • Use environment variables when possible
  • Rotate keys regularly for production use
  • Monitor usage in your dashboard

Troubleshooting

Connection Issues

Problem: Claude doesn’t show the PricingSaaS tools Solutions:
  1. Verify the configuration file is valid JSON (use a JSON validator)
  2. Check that Claude Desktop was fully restarted (not just minimized)
  3. Look for error messages in Claude Desktop logs
  4. Verify the API key is correct and active

Authentication Errors

Problem: “Unauthorized” or “Invalid API key” errors Solutions:
  1. Double-check the API key is correct (including no extra spaces)
  2. Verify the key hasn’t expired
  3. Ensure the key has the correct permissions
  4. Check your credit balance in the dashboard

Rate Limiting

Problem: “Insufficient credits” error Solutions:
  1. Check your credit usage in the dashboard
  2. Wait for credits to reset (monthly)
  3. Upgrade your plan for more credits

Tool Not Found

Problem: Claude says it doesn’t have access to a specific tool Solutions:
  1. Ask Claude to list all available tools
  2. Restart Claude Desktop to refresh tool list
  3. Verify the MCP server is properly configured

Advanced Configuration

Using Environment Variables

Instead of hardcoding the API key, you can use environment variables: macOS/Linux:
{
  "mcpServers": {
    "pricingsaas": {
      "type": "http",
      "url": "https://api.pricingsaas.com/functions/v1/mcp",
      "headers": {
        "Authorization": "Bearer ${PRICINGSAAS_API_KEY}"
      }
    }
  }
}
Then set the environment variable:
export PRICINGSAAS_API_KEY="ps_YOUR_API_KEY"

Custom Headers

Add additional headers if needed:
{
  "mcpServers": {
    "pricingsaas": {
      "type": "http",
      "url": "https://api.pricingsaas.com/functions/v1/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY",
        "X-Custom-Header": "value"
      }
    }
  }
}

Other MCP Clients

While this guide focuses on Claude Desktop, the PricingSaaS MCP server works with any MCP-compatible client:

Continue.dev

Add to your config.json:
{
  "mcpServers": {
    "pricingsaas": {
      "url": "https://api.pricingsaas.com/functions/v1/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Custom MCP Client

Use the MCP SDK to connect:
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { HttpClientTransport } from '@modelcontextprotocol/sdk/client/http.js';

const transport = new HttpClientTransport({
  url: 'https://api.pricingsaas.com/functions/v1/mcp',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY'
  }
});

const client = new Client({
  name: 'my-app',
  version: '1.0.0'
}, {
  capabilities: {}
});

await client.connect(transport);

Cost & Credits

  • Free Tier: 1,000 credits/month
  • Cost per Tool Call: 1 credit
  • No Setup Fee: MCP server access is included
  • Same Pricing as REST API: MCP and REST API share the same credit pool
Monitor your usage in the PricingSaaS Dashboard.

MCP Server Metadata

The PricingSaaS MCP server implements the following specifications:
  • Protocol Version: MCP 2025-03-26
  • Transport: Streamable HTTP (JSON-RPC over HTTP)
  • Authentication: Bearer token (API key)
  • Discovery: /.well-known/oauth-authorization-server

Health Check

Verify the MCP server is running:
curl https://api.pricingsaas.com/functions/v1/mcp/health
Expected response:
{
  "status": "ok",
  "server": "pricingsaas-mcp",
  "version": "1.0.0",
  "capabilities": ["tools"],
  "tools": [
    "list-companies",
    "get-company",
    "search-companies",
    "get-files-by-version",
    "get-files-by-quarter",
    "get-files-by-month",
    "get-files-by-week"
  ]
}

Additional Resources


Example Configuration Templates

Minimal Configuration

{
  "mcpServers": {
    "pricingsaas": {
      "type": "http",
      "url": "https://api.pricingsaas.com/functions/v1/mcp",
      "headers": {
        "Authorization": "Bearer ps_YOUR_API_KEY"
      }
    }
  }
}

With Multiple Servers

{
  "mcpServers": {
    "pricingsaas": {
      "type": "http",
      "url": "https://api.pricingsaas.com/functions/v1/mcp",
      "headers": {
        "Authorization": "Bearer ps_YOUR_API_KEY"
      }
    },
    "supabase": {
      "command": "npx",
      "args": ["-y", "@supabase/mcp-server-supabase@latest", "--project-ref=YOUR_PROJECT"]
    }
  }
}

Production Configuration with Environment Variables

{
  "mcpServers": {
    "pricingsaas": {
      "type": "http",
      "url": "https://api.pricingsaas.com/functions/v1/mcp",
      "headers": {
        "Authorization": "Bearer ${PRICINGSAAS_API_KEY}"
      }
    }
  }
}

Need Help?