Skip to main content
Glama

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.

-
security - not tested
-
license - not tested
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lang-ai/mcp-hosted-poc'

If you have feedback or need assistance with the MCP directory API, please join our Discord server