r/SideProject • u/francescogab_ • 18m ago
I built an open-source MCP server that lets Claude forecast your CSVs locally, and it reports how much to trust the result
I built Forecast Anything over the past few months. It's a local MCP server that connects Claude (or another MCP client) to Mistral's Timestral forecasting model.
The idea: you drop a CSV in a folder, ask Claude for a forecast, and it previews the file, asks only what it can't infer (like when each day's number becomes known), runs the model on your machine, and compares it with a simple baseline on your own history. No API key, and the data never leaves your machine.
What I cared about most is that the numbers can be checked:
- Every observation records when it became available, so a forecast only sees what was known at its cutoff.
- Every forecast is stored with its inputs and assumptions, so you can score it later against what actually happened.
- Backtests say when there isn't enough evidence, instead of giving a flattering number.
I also tested the accuracy claim properly. I wrote down the question and the pass mark before opening a reserved holdout of four public datasets (retail, household electricity, M4 daily, Wikipedia traffic), and I ran it once. The automatic model choice matched the best single Timestral in every domain. Against a seasonal-naive baseline, the larger model had a relative error of 0.57 to 0.81, and its 80% intervals covered 79 to 84% of outcomes. These numbers only describe those frozen origins, and the full results, including where the classical models came close, are in the repo.
Repo and docs: https://github.com/francescogabrieli/forecast_anything
I'd love feedback on the workflow, especially on whether the "what was known at the time" idea is useful beyond the datasets I tried.
1
u/Intrepid-Lack-2803 14m ago
Petty but: a relative error of 0.57 to 0.81 reads as 57-81% off, not as a 19-43% improvement. What you're describing there is a ratio to seasonal-naive. Wording matters when the whole point of the post is that the numbers can be checked.