dganesh5

Benchmark MCP Server

Community dganesh5
Updated

Claude mcp app

Benchmark MCP Server

MCP Server with Industry Benchmarking Tool - Compatible with both Claude and ChatGPT.

Features

  • ๐Ÿ“Š Industry Benchmarking Tool: Compare company metrics against industry averages
  • ๐ŸŽจ Interactive Widget: Visual bar chart comparison (MCP Apps)
  • ๐Ÿ”„ Dual Transport: Supports both SSE and Streamable HTTP
  • โœ… Cross-Platform: Works with Claude.ai and ChatGPT

Quick Start

With Poetry (Recommended)

# Install dependencies
poetry install

# Start server
poetry run python main.py

With pip

# Create virtual environment
python -m venv venv
source venv/bin/activate  # or `venv\Scripts\activate` on Windows

# Install dependencies
pip install mcp>=1.26.0 uvicorn pydantic

# Start server
python main.py

Endpoints

Endpoint Transport Use For
/sse SSE Claude, ChatGPT (via ngrok)
/v1/mcp Streamable HTTP ChatGPT native
/mcp Streamable HTTP Alias

Usage with ngrok

# Start ngrok
ngrok http 8000

# Use the ngrok URL in Claude/ChatGPT:
# https://your-ngrok-url/sse

Project Structure

claude-mcp-app/
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ service/
โ”‚   โ”‚   โ”œโ”€โ”€ mcp_server.py         # FastMCP instance
โ”‚   โ”‚   โ”œโ”€โ”€ data/                 # Mock benchmark data
โ”‚   โ”‚   โ”œโ”€โ”€ tools/                # MCP tools
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ benchmarking_tool.py
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ benchmarking_widget.py
โ”‚   โ”‚   โ””โ”€โ”€ widgets/              # HTML widgets
โ”‚   โ”‚       โ””โ”€โ”€ benchmarking_widget.html
โ”œโ”€โ”€ common/
โ”‚   โ””โ”€โ”€ config.py                 # Configuration
โ”œโ”€โ”€ main.py                       # Entry point
โ”œโ”€โ”€ pyproject.toml               # Poetry config
โ””โ”€โ”€ README.md

Example Prompts

  • "How does my restaurant's $45,000 yearly profit compare to the industry average in California?"
  • "Compare my retail business revenue of $500,000 against industry benchmarks in Texas"
  • "Benchmark my healthcare company's monthly income of $80,000 against regional averages"
  • "How does my construction company in NY with $600,000 annual revenue compare?"

License

MIT

MCP Server ยท Populars

MCP Server ยท New