Tag: MCP

  • I Put My NFL Data API Inside ChatGPT and Claude: A Hands-On Guide

    I Put My NFL Data API Inside ChatGPT and Claude: A Hands-On Guide

    Quick break from the weekly recaps. If you’ve been following along, you know I run my fantasy team off a data set I’ve been building at GridIron Data. What you might not know is that you don’t need any code to use it. You can just ask an AI assistant.

    GridIron Data has a hosted MCP server, which means ChatGPT, Claude, Cursor and a bunch of other assistants can call the API for you. You sign in with OAuth (or pass an API key) and every call runs on your own key and plan. In Claude Code it’s one line:

    claude mcp add --transport http gridiron-data -s user https://api.gridirondata.com/mcp

    In ChatGPT or Claude on the web you add the same URL as a connector. Then “who are the top PPR receivers this week?” is a question, not a script.

    Here’s how a week of questions might go. Early in the week, ask who got ruled out or downgraded since yesterday. Injury statuses are checked every two minutes from 8am to 1am ET. Then “who’s next man up at RB for Detroit?” (go Lions!), which hits the depth chart tool. Then which defenses have given up the most points to tight ends lately. Those three run on the Pro plan. This week’s projections are on the free key, so anyone can start there.

    A few things I learned building it:

    • Tool descriptions are the new docs. The assistant reads them to decide what to call. Vague descriptions meant wrong calls, so I rewrote every one.
    • Errors should help. When a free key hits a Pro tool, the error names the plan it needs, and the assistant just passes that along.
    • Say your scoring format. PPR is the default. If your league is half or standard, say so or the rankings won’t match.

    One heads-up: the free plan is 250 requests a month, and an assistant might make two or three calls to answer one question. It adds up faster than you’d think.

    My favorite trick? When an answer looks off, ask the assistant which tool it called and with what inputs. Most of the time the fix is a better question, not a bug.

    Try it before Sunday! A free key (no card) covers player lookups, this week’s projections and last week’s box scores. If you hook it up to your assistant, shoot me a message and let me know what you ask it. That’s where most of my ideas for this come from.