Skip to main content
Glama
OpenPowerlifting MCP

OpenPowerlifting MCP

openpowerlifting-mcp

An MCP server that lets an LLM query OpenPowerlifting meet results: about four million entries from raw and equipped meets worldwide, with every attempt recorded.

Ask things like "How has Taylor Atwood's raw total changed since 2015?" or "Where would a 600 kg total put a tested 93 kg raw lifter?" and the model answers from the actual data instead of from memory.

Tools

Tool

What it does

search_lifters

Find lifters by name. Handles the #2-style suffixes OpenPowerlifting uses for lifters who share a name.

lifter_history

Every meet for one lifter with each attempt. Missed attempts are negative; fourth attempts (records only) are kept apart.

percentile_for_total

Rank a total against each lifter's best total, filtered by sex, equipment, weight class, event and drug testing.

compare_lifters

Career bests side by side for 2 to 10 lifters.

Related MCP server: mcp-data-lens

Setup

Needs uv.

git clone https://github.com/sebastianpantin/openpowerlifting-mcp
cd openpowerlifting-mcp
uv sync
uv run python scripts/fetch_data.py

fetch_data.py downloads the latest bulk CSV (about 170 MB zipped, 830 MB unzipped) into raw/ and converts it once with DuckDB into data/openpowerlifting.parquet (about 150 MB). It takes under a minute on a decent connection. Run it again with --force to pick up a newer export.

Use it with Claude Desktop

uv run mcp install server.py --name openpowerlifting --with-editable .

Restart Claude Desktop and the tools show up. Any other MCP client can start the server over stdio with uv run --directory /path/to/openpowerlifting-mcp openpowerlifting-mcp.

The server looks for data/openpowerlifting.parquet in the repo. Set OPL_PARQUET to use a file somewhere else.

Development

uv run mcp dev server.py   # MCP Inspector in the browser
uv run pytest
uv run ruff check . && uv run ruff format .

Tests run against a nine-row CSV in tests/fixtures/ that uses the real column layout, so they don't need the full download.

Queries go straight to the Parquet file through DuckDB. Lookups take well under 100 ms on a laptop, so there is no database to run.

Data

This project uses data from the OpenPowerlifting project, https://www.openpowerlifting.org. You may download a copy of the data at https://data.openpowerlifting.org.

The data is in the public domain. This repository does not include it; fetch_data.py downloads it from OpenPowerlifting.

License

MIT for the code. See LICENSE.

Available Tools

4 tools
compare_liftersA
Read-onlyIdempotent

Side-by-side career bests for several lifters, matched by exact name.

Pass equipment to avoid comparing raw lifts with equipped ones.

Inputs: names (required), equipment. Returns: object

lifter_historyA
Read-onlyIdempotent

Every meet for one lifter in date order, with each attempt per lift.

A fourth attempt is a record attempt and does not count toward the total.

If the name has no exact match, returns found=false and a list of candidates.

Inputs: name (required). Returns: object

percentile_for_totalA
Read-onlyIdempotent

Where a total ranks among lifters' best totals in a filtered cohort.

Each lifter counts once, with their best total. Disqualified entries are ignored. Weight classes differ between federations and eras, so leave weight_class out for a broad comparison.

Inputs: sex (required), total_kg (required), event, tested, +2 more. Returns: object

search_liftersA
Read-onlyIdempotent

Find lifters by name. Every word must appear in the name, in any order.

A word like '#2' matches the OpenPowerlifting suffix used to tell apart lifters with the same name. Results are sorted by number of meets.

Inputs: query (required), limit. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool serves a distinct role: search_lifters handles discovery, lifter_history provides one lifter's detailed meet record, percentile_for_total computes cohort rankings, and compare_lifters compares multiple lifters' career bests. The boundaries are clear, and compare_lifters explicitly requiring exact names helps separate it from the broader search tool.

    Naming Consistency3/5

    Two tools follow a verb_noun pattern (search_lifters, compare_lifters), while lifter_history and percentile_for_total use noun or prepositional phrasing. The names remain readable, but the set does not follow one predictable convention.

    Tool Count5/5

    Four tools are well-scoped for a focused OpenPowerlifting lookup server. Each covers a separate workflow—discovery, history, ranking, and comparison—without redundant endpoints.

    Completeness4/5

    Core lifter-centric workflows are covered: discovery, detailed meet history, percentile ranking, and multi-lifter comparison. Broader exploration such as meet/record lookup or richer federation and class filtering is absent, though existing filters partially mitigate this.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables natural language database operations and semantic document search through SQLite and vector database integration. Converts plain English instructions into SQL queries and provides RAG capabilities for uploaded documents.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables users to ask questions about their spreadsheets in plain English and receive instant answers using DuckDB-powered analytics, supporting multiple file formats like Excel, CSV, and Parquet.
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Query local CSV, Parquet, JSON and TSV files with real SQL via DuckDB. Gives your AI coding tool ground-truth data access instead of hallucinated answers.
      5
      MIT
    • A
      license
      C
      quality
      B
      maintenance
      Enables querying and replaying deterministic market data for crypto and US equities from a local Parquet lake via natural language.
      58
      4
      Apache 2.0