Fetch benchmark leaderboard rankings
Retrieve ranked model scores for a specific benchmark dataset, including model IDs, values, and verification status.
How it works
Read-onlyData and analysis
The agent identifies the target benchmark dataset ID. It then calls the Hugging Face API endpoint GET /api/datasets/{dataset_id}/leaderboard or uses the huggingface_hub library's get_dataset_leaderboard method. The agent parses the response to extract model rankings, scores, and metadata such as verification status and submission source. It checks for authentication requirements if the dataset is gated.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Prompt for Fetch benchmark leaderboard rankings
Fetch the current leaderboard rankings for the 'SWE-bench/SWE-bench_Verified' benchmark. Return the top 5 models with their rank, model ID, and benchmark score.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
The leaderboard API returns ranked model scores for a benchmark dataset: Copied GET https: // huggingface.co /api/ datasets /{dataset_id}/ leaderboardAccessing Benchmark Leaderboard Data · Hugging Face