FRED could do it. They've got the exchange rates, they've got the inflation rates as time series. They've also got various tools to link it to applications or databases. They won't, however, answer your exact question directly, a little bit of coding (and thought) is needed.
Here's why it's not uniformly possible to answer such questions: Even given only 2 currencies and 2 dates, you still have the possibility to exchange SEK for USD in year Y1
and then observe US inflation; or you observe Swedish inflation from year Y1
till year Y2
and then exchange SEK for USD.
The outcome might be totally different because inflation differentials won't be priced into forex quotes, whereas interest rate differentials will be (keyword carry trade).
A more thorough (but unbacktested) approach would be to obtain some sort of average over all such possible transactions. For instance: Do the exchange for every CPI publication, and observe Swedish inflation till then and US inflation from then on. Of all the USD amounts you end up with take a suitable average.