How to Integrate Claude With TrainingPeaks (Without Manual Entry)
Generate a training plan with Claude, convert it to CSV, and import the whole block to your TrainingPeaks calendar in minutes — plus how to let Claude critique an existing plan.
Claude is unusually good at endurance training plans. Give it your FTP, your goal race, and your weekly schedule and it will return a periodized block with real interval prescriptions, sensible recovery, and a taper. The problem is the last mile: that beautiful plan lives inside a chat window, and TrainingPeaks has no "paste a plan here" button. You're left re-typing 60–90 workouts by hand.
This guide shows how to integrate Claude with TrainingPeaks the practical way — generate the plan in Claude, convert it to a CSV that TrainingDojo understands, and import the whole block to your TrainingPeaks calendar in a couple of minutes. No API keys to wrangle, no coaching license required.
Why Claude Specifically?
Any capable AI can draft a training plan, but a few of Claude's traits make it especially strong for this job:
- Long context. You can paste an entire season of workout summaries — or your last 12 weeks of TrainingPeaks history — into a single message and Claude will reason over all of it at once instead of forgetting the top of the conversation.
- Projects. Keep your athlete profile, FTP, threshold pace, and constraints in a Claude Project so every new plan request starts with the same context instead of re-explaining yourself.
- Artifacts. Ask Claude to render the plan as a table or a CSV artifact and you get a tidy, copyable block you can edit in place before exporting.
- Careful constraint-following. "Only 4 days a week, no running on back-to-back days, long ride on Saturdays" — Claude tends to respect hard constraints rather than quietly violating them three weeks in.
Step 1: Brief Claude Like a Coach
The plan is only as good as the brief. Vague prompts get vague plans. Give Claude the same details you'd hand a human coach:
Prompt:
"Act as my cycling coach. Build a 10-week plan targeting a
hilly gran fondo on September 6th.
About me:
- FTP 268W, 74kg
- 5 sessions/week, ~8-9 hours, one long ride Saturdays
- Strong aerobically, weak at repeated 3-5 min climbs
- Indoor trainer on weekdays, outdoor on weekends
Periodize it (base -> build -> peak -> taper). Every workout
needs a specific structure with power targets as % of FTP
and absolute watts. Add a recovery week every 4th week."Review what comes back. Because Claude holds the whole conversation in context, you can refine conversationally — "make week 6 harder," "swap Thursday's VO2 work for over-unders," "I'm traveling week 8, make it a deload" — and it keeps the rest of the plan coherent.
Step 2: Ask for TrainingDojo's CSV Format
Once you're happy with the plan, the key move is converting it to the exact columns TrainingDojo's importer reads. Paste this follow-up:
Prompt:
"Output the entire plan as CSV with exactly these columns:
day,sport,subtype,title,duration_minutes,tss,description,phase
- day is a sequential integer starting at 1
- put full interval structure and watt targets in description
- estimate tss per workout
- use Rest rows for rest days
Return only the CSV in a code block, no commentary."Claude will produce something like:
day,sport,subtype,title,duration_minutes,tss,description,phase
1,Cycling,Endurance,Aerobic Base,90,62,Steady Z2 at 60-70% FTP (161-188W). Smooth high cadence.,Base
2,Cycling,Intervals,Climbing Repeats,75,88,WU 15min. 5x4min at 105-115% FTP (281-308W) 4min easy between. CD 10min.,Base
3,Rest,,Rest Day,0,0,Full rest or 20min mobility.,Base
4,Cycling,Tempo,Sweet Spot,80,82,WU 12min. 3x12min at 88-93% FTP (236-249W) 5min easy. CD 8min.,Base
5,Cycling,Endurance,Long Ride,180,135,Z2 endurance with 4x8min tempo in the back half.,BaseStep 3: Import to TrainingPeaks via TrainingDojo
- Copy Claude's CSV (or save it as a
.csvfile). - Go to trainingdojo.app/import and select TrainingPeaks as the destination.
- Connect TrainingPeaks. The fastest way is the one-click TrainingDojo Connector extension; you can also paste a bearer token — see the bearer token & athlete ID guide.
- Paste or upload the CSV. TrainingDojo parses it and previews every workout with calculated dates.
- Pick the start date for Day 1, review the preview, and import. A full block lands on your TrainingPeaks calendar in about two minutes.
Dates are calculated in your local timezone, so Day 1 falls exactly where you put it — no off-by-one surprises.
A Claude Trick: Critique an Existing Plan
Integration isn't only about building from scratch. One of the best uses of Claude's long context is auditing a plan you already have. Export a few weeks of your TrainingPeaks history (or paste your current block), then ask:
Prompt:
"Here are my last 6 weeks of training. My ramp rate feels
too aggressive and my Friday quality sessions keep going
poorly. Diagnose the issues and rewrite the next 4 weeks,
then give me the result as CSV in the format above."Claude can spot a too-steep CTL ramp, back-to-back hard days, or a missing recovery week, then hand you a corrected block ready to re-import. That round-trip — history out, smarter plan back in — is the real payoff of treating Claude as a coaching collaborator.
Want Structured Workouts, Not Just Calendar Entries?
A CSV import puts dated workouts with descriptions on your calendar. If you also want device-ready structured intervals — the kind your head unit counts down step by step — TrainingDojo can convert the same plan into structured workouts for TrainingPeaks, and bulk-convert an entire CSV plan at once. Bike and run workouts with power or pace targets can also export to Zwift .zwo files.
The Easier Alternative: Coach Dojo
The Claude workflow above is great when you want to drive the conversation yourself. But if you'd rather skip the copy-paste entirely, TrainingDojo's built-in Coach Dojo does the whole loop in one place.
- It reads your last ~90 days of TrainingPeaks history directly, so you don't paste anything.
- It asks a few subjective questions about your goal, fatigue, and schedule.
- It generates a plan already formatted for import — one click to your TrainingPeaks calendar.
Same training science, zero reformatting. Read more about how Coach Dojo personalizes plans from your real data, or compare your options in our AI training plan generator comparison.
The Bottom Line
Claude produces coach-quality cycling and running plans; TrainingDojo is the bridge that gets them onto TrainingPeaks without manual entry. Generate with Claude, export as CSV, import in two minutes — or let Coach Dojo run the whole thing for you. Either way, you never type 80 workouts by hand again.
Working in a different calendar? The same approach works to integrate Claude with Intervals.icu, and you can use Claude with your Strava history as a planning source too.
Frequently Asked Questions
Can Claude connect directly to TrainingPeaks?
Not on its own — Claude outputs text, and TrainingPeaks has no paste-a-plan feature. The practical path is to have Claude format the plan as CSV, then import it to your TrainingPeaks calendar with TrainingDojo, which takes about two minutes for a full block.
What format should I ask Claude to use?
Ask Claude to output the plan as CSV with the columns day,sport,subtype,title,duration_minutes,tss,description,phase, with sequential day numbers and the full interval detail in the description column. TrainingDojo reads that format directly.
Why use Claude specifically for training plans?
Claude has a large context window (you can paste a full season of history at once), Projects to keep your athlete profile persistent, Artifacts to render the plan as an editable table, and tends to follow hard constraints carefully.
Can Claude improve a plan I already have?
Yes. Paste your recent TrainingPeaks history or current block and ask Claude to diagnose issues — too-steep ramp, back-to-back hard days, missing recovery — then rewrite the next few weeks and return CSV you can re-import.
Is there an easier option than copy-pasting from Claude?
Yes. TrainingDojo Coach Dojo reads your TrainingPeaks history directly, asks a few questions, and generates a plan already formatted for import — no copy-paste or CSV step required.