Skip to main content
Glama
lang-ai

Cancellation Analyzer MCP Server

by lang-ai

Cancellation Analyzer MCP Server

A Python-based Model Context Protocol (MCP) server for analyzing customer cancellation survey data, designed for Claude web integration via HTTP/SSE transport.

Features

  • MCP protocol over HTTP and SSE

  • FastAPI server with CORS enabled

  • Tool for analyzing cancellation data (dummy results)

  • Production-ready with Gunicorn/Uvicorn

Related MCP server: Claude MCP Data Explorer

Project Structure

cancellation-analyzer-mcp/
├── src/
│   ├── main.py           # FastAPI + MCP server
│   ├── mcp_server.py     # MCP server logic
│   └── analyzer.py       # Analysis logic
├── requirements.txt
├── .env                  # Environment variables
├── gunicorn.conf.py      # Production server config
└── README.md

Setup

pip install -r requirements.txt

Running

  • Development:

    python src/main.py
  • Production:

    gunicorn src.main:app -c gunicorn.conf.py

Endpoints

  • GET / - Service info

  • GET /health - Health check

  • POST /mcp/list_tools - List available tools

  • POST /mcp/call_tool - Call analysis tool

  • GET /mcp/sse - Server-Sent Events endpoint

Integration URL

http://YOUR_EC2_PUBLIC_IP:8000/mcp

Environment Variables

See .env for configuration.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that enables Claude AI to interact with Paybyrd's payment processing API, allowing for creating payment links, processing refunds, and retrieving order information.
    2 npm
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that provides Claude with access to AI-powered trading predictions and analysis from the aiprediction.us API, handling authentication, date formatting, and data retrieval.
    -