How to Use Baseball Savant pitch type summary in Windsurf
Returns a player's pitch mix and outcomes, including usage, velocity, spin, and whiff rate by pitch type. Use it to compare an arsenal or a hitter's results against different pitches without reviewing every pitch.
Prompts to try with Baseball Savant pitch type summary in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use Baseball Savant pitch type summary to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Baseball Savant pitch type summary and tell me what changed since last week.
Check Baseball Savant pitch type summary and summarize what you find in three bullet points.
Pull the newest data from Baseball Savant pitch type summary and give me the result as a table.
Check Baseball Savant pitch type summary every morning and tell me only when something changed.
How to set up Baseball Savant pitch type summary in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.
devin mcp login spiral
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Baseball Savant pitch type summary
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "baseballsavant-mlb-com/baseball-statcast/get_pitch_type_summary", "input": { "season": 2008, "player_id": 1 } }'
Then paste one of the prompts above: Windsurf finds Baseball Savant pitch type summary on Spiral, shows the price and runs it.
Baseball Savant pitch type summary providers and prices
Spiral runs Baseball Savant pitch type summary through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Season | 2008 to 2100 | Season year. Statcast pitch tracking starts in 2015; the pitch-level search covers 2008 onward. | |
| Player ID | a number from 1 | MLBAM player id (the | |
| Player type | batter or pitcher | batter |
|
Every API field of MLB Baseball Savant · Get pitch type summary is on its tool page: open its card above.
What can you do with Baseball Savant pitch type summary in Windsurf?
Build a baseball research panel that connects player discovery and daily games with season rankings and individual plays. A coding agent can populate the project's views with Baseball Savant profiles, pitch summaries, plate appearances, and pitch records.
Morning baseball research notes
Organize yesterday's games, identify trending players, resolve their names, and confirm their profiles. Add hitter plate appearances, pitch type summaries, individual pitches, and season rankings to explain the performances worth reviewing.
Broadcast matchup preparation
Start with the day's games and trending players to research. Confirm player identities, compare season rankings, examine pitchers' arsenals and hitters' plate appearances, and select individual pitch examples for preparation notes.
Weekly story shortlist
Use trending players as research leads, then resolve each player and check the biography. Test possible stories against season rankings, recent plate appearances, pitch summaries, individual pitch records, and the games in which they occurred.
Baseball data literacy lesson
Choose a trending MLB player, resolve the name, and confirm the profile. Use the schedule, season leaderboard, pitch summary, plate appearances, and pitch records to teach the difference between a game, a season average, a completed plate appearance, and an individual pitch.
Pitcher arsenal review
Resolve a pitcher and confirm the profile, then compare recent pitch usage, velocity, spin, and whiff rate with the season baseline. Inspect individual pitches to locate the outings behind a change.
Hitter results and contact review
Compare a hitter's actual and expected season statistics, then examine recent plate appearances and results against different pitch types. Use individual pitch records to investigate specific sequences.
More on Baseball Savant pitch type summary and Windsurf
Overview
Baseball Savant pitch type summary in other agents
Questions about Baseball Savant pitch type summary in Windsurf
Can Windsurf use Baseball Savant pitch type summary?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Baseball Savant pitch type summary like any built-in tool.
How much does Baseball Savant pitch type summary cost in Windsurf?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.
Do I need an Alexandria account to use Baseball Savant pitch type summary in Windsurf?
No. Spiral runs Baseball Savant pitch type summary on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Baseball Savant pitch type summary in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while Baseball Savant pitch type summary runs?
Baseball Savant pitch type summary runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.
When did Statcast reach every MLB ballpark?
All 30 parks had Statcast by 2015.
Are all batted-ball measurements tracked directly?
No. Baseball Savant includes estimates for a limited subset of batted balls that were not tracked directly.
Why can a player be missing from a qualified leaderboard?
The expected-statistics board requires 2.1 plate appearances per team game for batters and 1.25 for pitchers. Players below those thresholds do not qualify for that view.
Where do the older pitch velocities come from?
Baseball Savant identifies Pitch F/X as the source of its 2008-2016 pitch velocities.
Did pitch-location measurements change in 2026?
Yes. Through 2025, horizontal and vertical plate locations referred to the front of home plate; from 2026, they refer to the middle to align with ABS.
Start using Baseball Savant pitch type summary in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


