Skip to main content

ChartMogul's MCP server

Project description

ChartMogul's MCP Server

Supported Tools

Account & Data Sources

  • retrieve_account - Get account information
  • list_sources - List all data sources with optional filtering
  • retrieve_source - Get specific data source by UUID

Customer Management

  • list_customers - List customers with filtering options
  • search_customers - Search customers by email
  • retrieve_customer - Get customer by UUID
  • create_customer - Create new customer
  • update_customer - Update customer attributes
  • list_customer_subscriptions - Get customer's subscriptions
  • list_customer_activities - Get customer activities
  • list_customer_attributes - Get customer attributes
  • add_customer_tags - Add tags to customer
  • add_customer_custom_attributes - Add custom attributes to customer

Contacts

  • list_contacts - List all contacts
  • retrieve_contact - Get contact by UUID
  • create_contact - Create new contact
  • update_contact - Update contact information

Customer Notes

  • list_customer_notes - List customer notes and calls
  • retrieve_customer_note - Get specific note by UUID
  • create_customer_note - Create new note or call log
  • update_customer_note - Update existing note

Sales & CRM

  • list_opportunities - List sales opportunities
  • retrieve_opportunity - Get opportunity by UUID
  • create_opportunity - Create new opportunity
  • update_opportunity - Update opportunity details
  • list_tasks - List customer tasks
  • retrieve_task - Get task by UUID
  • create_task - Create new task
  • update_task - Update task information

Plans

  • list_plans - List subscription plans
  • retrieve_plan - Get plan by UUID
  • create_plan - Create new plan
  • update_plan - Update plan details
  • list_plan_groups - List plan groups
  • retrieve_plan_group - Get plan group by UUID
  • create_plan_group - Create new plan group
  • update_plan_group - Update plan group
  • list_plan_group_plans - List plans in a group

Analytics & Metrics

  • all_metrics - Get all key metrics (MRR, ARR, ARPA, ASP, customer count, churn rates, LTV)
  • mrr_metrics - Get Monthly Recurring Revenue metrics
  • arr_metrics - Get Annual Run Rate metrics
  • arpa_metrics - Get Average Revenue Per Account metrics
  • asp_metrics - Get Average Sale Price metrics
  • customer_count_metrics - Get customer count metrics
  • customer_churn_rate_metrics - Get customer churn rate metrics
  • mrr_churn_rate_metrics - Get MRR churn rate metrics
  • ltv_metrics - Get Customer Lifetime Value metrics

Data Operations

  • list_subscription_events - List subscription events
  • list_invoices - List invoices with filtering
  • list_activities - List business activities (new_biz, expansion, churn, etc.)

Usage

  1. Open the Claude Desktop configuration file located at:

    • On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • On Windows: %APPDATA%/Claude/claude_desktop_config.json
  2. Add the following:

{
  "mcpServers": {
    "mcp-chartmogul": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/your/local/chartmogul-mcp-server",
        "run",
        "main.py"
      ],
      "env": {
        "CHARTMOGUL_TOKEN": "<YOUR-CHARTMOGUL-TOKEN>"
      }
    }
  }
}
  1. Run which uv to locate the command entry for uv and replace it with the absolute path to the uv executable.

  2. Restart Claude Desktop to apply the changes.

Development

  1. Run cp example.env .env in the root of the repository to create a .env file.

  2. Update it with the following env variables.

CHARTMOGUL_TOKEN=<YOUR-CHARTMOGUL-TOKEN>
  1. Install uv by following the instructions here.

  2. Run uv sync to install the dependencies.

  3. Run source .venv/bin/activate to activate the created virtual environment.

  4. Run mcp dev main.py:cm_mcp to start the development MCP server. This command will need Node.js and npm installation.

  5. Inspect and connect to the MCP server at http://127.0.0.1:6274

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chartmogul_mcp_server-0.3.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chartmogul_mcp_server-0.3.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file chartmogul_mcp_server-0.3.0.tar.gz.

File metadata

File hashes

Hashes for chartmogul_mcp_server-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1978f367465e3b3cf39d9de938be679e072f614bc90e91c698e860070102a8ee
MD5 0724e7537d66600e376bb1d17e3b1246
BLAKE2b-256 4df89701aa2a727f9eeb00e56513eca69b2f500960640d2709742cad47781121

See more details on using hashes here.

File details

Details for the file chartmogul_mcp_server-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for chartmogul_mcp_server-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6b28bd4efbf3015a859c200ae392b03ece58b2e785a9cb5c903c14a09aec43f
MD5 2a2a4bcdc637b0ccbb2a5ec7c7f66ce4
BLAKE2b-256 10a10b6ead74c4fd4292264b2622fb7661ce560b24deb9b874dd7ddc4cfc8cd9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page