CoolFace
Apppublic

mcpbench/mcp-bench

sourceHugging Faceupdated 1y agoView on Hugging Face
9likes
App README

MCP-Bench Leaderboard

A modern, interactive web application displaying performance metrics for various Language Learning Models (LLMs) in the MCP-Bench.

๐Ÿ† Features

  • โ€”Interactive Leaderboard: Sort by any metric column
  • โ€”Real-time Search: Filter models by name
  • โ€”Responsive Design: Optimized for desktop and mobile
  • โ€”Visual Indicators: Color-coded performance levels and progress bars
  • โ€”Modern UI: Clean, professional Material Design interface
  • โ€”Dark Mode Support: Automatic dark/light theme detection

๐Ÿ“Š Metrics Displayed

The leaderboard shows comprehensive performance metrics:

  • โ€”Overall Score: Combined performance metric
  • โ€”Valid Tool Schema: Percentage of valid tool schemas
  • โ€”Compliance: Rule compliance percentage
  • โ€”Task Success: Task completion success rate
  • โ€”Schema Understanding: Understanding of tool schemas
  • โ€”Task Completion: Task completion effectiveness
  • โ€”Tool Usage: Tool utilization efficiency
  • โ€”Planning Effectiveness: Planning and execution quality

๐Ÿš€ Quick Start

Local Development

  1. 1.Clone this repository
  2. 2.Open index.html in your web browser
  3. 3.Or serve using a local HTTP server:
bash
# Using Python
python -m http.server 8000

# Using Node.js
npx serve .

# Using PHP
php -S localhost:8000

Hugging Face Spaces Deployment

This project is optimized for deployment on Hugging Face Spaces:

  1. 1.Create a new Space on Hugging Face
  2. 2.Choose Gradio as the SDK
  3. 3.Upload all files to your Space
  4. 4.Rename requirements-hf.txt to requirements.txt
  5. 5.Your Space will automatically build and deploy

The app.py file provides Gradio integration for Hugging Face Spaces compatibility.

๐Ÿ“ Project Structure

mcp-bench-leaderboard/
โ”œโ”€โ”€ index.html          # Main HTML page
โ”œโ”€โ”€ style.css           # Responsive CSS styling
โ”œโ”€โ”€ script.js           # Interactive JavaScript functionality
โ”œโ”€โ”€ data.json           # Leaderboard data
โ”œโ”€โ”€ app.py             # Gradio app for HF Spaces
โ”œโ”€โ”€ requirements-hf.txt # Dependencies for HF deployment
โ””โ”€โ”€ README.md          # Documentation

๐ŸŽจ Customization

Update Data

Modify data.json to add new models or update scores:

json
{
  "lastUpdated": "2025-09-05",
  "models": [
    {
      "name": "your-model-name",
      "overall_score": 0.750,
      "valid_tool_schema": 99.5,
      "compliance": 98.2,
      // ... other metrics
    }
  ]
}

Styling

Edit style.css to customize:

  • โ€”Colors and themes
  • โ€”Layout and spacing
  • โ€”Responsive breakpoints
  • โ€”Animation effects

Functionality

Extend script.js to add:

  • โ€”New sorting algorithms
  • โ€”Additional filtering options
  • โ€”Export functionality
  • โ€”Chart visualizations

๐ŸŒ Browser Support

  • โ€”Chrome 60+
  • โ€”Firefox 55+
  • โ€”Safari 12+
  • โ€”Edge 79+

๐Ÿ“ฑ Mobile Compatibility

The application is fully responsive and optimized for:

  • โ€”Tablets (768px - 1024px)
  • โ€”Mobile phones (320px - 767px)
  • โ€”Large screens (1200px+)

๐Ÿ”ง Technical Details

  • โ€”Pure Frontend: No backend dependencies
  • โ€”Vanilla JavaScript: No frameworks required
  • โ€”Modern CSS: Flexbox, Grid, CSS Variables
  • โ€”Progressive Enhancement: Works without JavaScript
  • โ€”SEO Friendly: Semantic HTML structure

๐Ÿ“ˆ Performance

  • โ€”Lightweight (~50KB total)
  • โ€”Fast loading times
  • โ€”Optimized images and assets
  • โ€”Efficient DOM updates
  • โ€”Smooth animations

๐Ÿค Contributing

  1. 1.Fork the repository
  2. 2.Create a feature branch
  3. 3.Make your changes
  4. 4.Test across browsers
  5. 5.Submit a pull request

๐Ÿ“„ License

This project is open source and available under the MIT License.

๐Ÿ™ Acknowledgments

  • โ€”Data sourced from MCP Benchmark Results
  • โ€”Icons from Font Awesome
  • โ€”Fonts from Google Fonts
  • โ€”Hosted on Hugging Face Spaces

Last updated: September 2025