Category: Development

Using Toshl with AI – Community-Made MCP Servers for Claude, ChatGPT and More

AI assistants have become pretty handy at answering questions, crunching numbers and spotting patterns. Wouldn’t it be nice if they could also look at your Toshl data and help you make sense of it? Thanks to some great work from the Toshl community, they already can.

What’s an MCP server?

MCP stands for Model Context Protocol. It’s an open standard that lets AI assistants connect to other apps and services. You can think of it as a universal adapter. An MCP server sits between an AI tool and a service like Toshl. It tells the AI what it can do, such as “list expenses” or “check budgets,” and then passes the requests along.

Popular AI tools like Claude (desktop, web and Claude Code), ChatGPT, Codex and others support MCP. Once you connect a Toshl MCP server, you can simply ask your AI about your finances in plain language. It will fetch the relevant data from your Toshl account to answer.

Community projects

Toshl users have already built a few MCP servers on top of the Toshl Developer API:

  • toshl-mcp-server was started by Boštjan Kamnik and has grown with contributions from the community. It’s the most complete of the bunch. It can read your accounts, entries, categories, tags, budgets and planning data, and it includes analysis tools for spending, budgets and account balances. It works with Claude Code, Codex CLI and other MCP clients. More technical users can also run it as a remote server and add it as a custom connector in Claude on the web or on mobile.
  • toshl-mcp by Fedele Mantuano is a simpler option built for Claude Desktop. It lets the AI look at your accounts, entries, categories, tags, budgets and summaries.

Please note that these are unofficial projects, so we can’t vouch for them. They are open source, though, so anyone can check how they work, and they look genuinely useful. Both connect using a personal API token, which you can create at developer.toshl.com/apps.

A big thank you to everyone in the community who has worked on these, and especially to Boštjan Kamnik for starting the first project. It’s always amazing to see what you build with Toshl.

Tips for using AI with Toshl

  • Start with questions. Try things like “How much did I spend on restaurants this year compared to last year?” or “Which of my budgets am I most likely to go over this month?” AI is great at quickly answering questions that would otherwise take a few taps and filters.
  • Ask for a plan, not just numbers. “Based on my last 6 months, suggest a realistic monthly budget for groceries and entertainment” or “How much could I save per month if I cut my subscriptions in half?”
  • Keep your token private. Your API token gives access to your Toshl data, so treat it like a password. You can revoke it anytime in the developer settings.
  • Go easy on edits. Some MCP servers can also change your data, and a single request to the AI can touch a lot of entries at once. If you plan on making larger changes, look over what the AI intends to do before it does it, and make regular backups first with a file export of your transactions and accounts. As these are unofficial tools, any changes are made at your own responsibility, so a little caution goes a long way.
  • Remember where your data goes. When the AI reads your Toshl data, it’s shared with the AI provider you’re using. Check their privacy settings if that matters to you.

We hope this makes planning your finances and handling your data in Toshl even easier, and maybe a bit more fun too.

We’re also working on improving the Toshl API to better accommodate projects like these, and on more official support for AI tools in general. More on that soon.

A rare image of a Toshl monster processing data in the wild. Analysing multiple data sources is a part of their mating ritual.

Posted in Development, How people use Toshl, Personal finance, Tips & Tricks

The Toshl Web App Gets a New Design: a Chat with Janez and Jan

We’re starting something a little different on our blog today. Instead of just telling you what’s new, we’ll have a chat with Toshl’s team members. Today we’re meeting Janez and Jan. No, they are not one of the Toshl monsters, they are humans and they are real. Or at least we certainly hope so. ;) One envisions the app’s unique design, while the other puts the ideas into practice by coding. In this chat, we’ll talk about the redesign of the Toshl Finance Web App and their work in this project.

Guys, could you introduce yourself? What are your main duties at Toshl?

Janez: I’m in charge of the design and illustration. This part is quite important for Toshl Finance apps. So my job is about creating the interface of our apps and graphics in general.

Jan: I bring designs of Janez to life. I’m in charge of web app development. In other words, it is my task to transform the data into web pictures in the browser, so they look like we imagined them. And, of course, we discuss how things should look like together with Janez. It’s constant teamwork.

Toshl’s web app has changed significantly with the latest release. What was the purpose of this transformation?

Janez: We wanted to achieve a new feel for the whole app, so that it looks lighter. We paid attention to optimising the entire experience, not only the bare graphical interface.  

Jan: We saw a chance to make the app look fresh. The previous version of the web app was developed about 4 years ago, and these are light years in the IT industry. Thus it needed some updates. The timing of the overall redesign coincided with the code refactoring that we did. Now the things comply with the latest industry standards and it is easier to make additional upgrades.

How could we see it in user experience?

Jan: The previous version was very flat and hierarchical relationships between view parts and elements were not really clear.  Now, when we added different shadows to the elements and made them look floating, when we put some things in the background and placed others in the front, it looks more clear. With the recent changes, it is quite simple to understand what you need to click next on the screen.

Before imageAfter image

All in all, the whole experience became easier, didn’t it?

Janez: Yes. Now it is easier to understand things. Colouring and shapes of the elements help you orient throughout the app.

Jan: Web app navigation got better, too. We have developed advanced animations that show what happens when you click some element. Before, when you clicked something, the next screen popped up immediately. It was not easy to process this instant change for the user. Now it transforms smoothly. Also, when some element gets hidden, it animates into the button that can bring it back. So you know where to find it to revert your change. For instance, all toggles, steps, and buttons on “Add budget” dialog are dynamically animated to give a sense of where they came from or where they go when we don’t need them anymore. Everything became more intuitive.

Before imageAfter image

Janez: We worked on the systematisation of the app’s design as well. It relates to the changes in the buttons, there are some changes in the fonts. In this area, we made the first steps towards a wider design system that could better evolve over time.

Jan: Or, for instance, we improved the contrast. The background got light white, the fonts got darker. So the app is easier on the eye.

Before imageAfter image

Could this redesign confuse the people who use Toshl Finance?

Jan: Not at all. All the elements are in their previous places. Some important parts are just more emphasized. Some less important things are in the background. The first contact with the overhauled app should be quite effortless.

Could you remember any funny story that happened on the way of this project?

Janez:  We are a serious company, no jokes.

You are serious but you have Toshl Monsters. Did they change somehow?

Janez: Monsters reflect Toshl’s humour. They stay the same.

Jan: Monsters are eternal. No need to change them.

Are there any hints you would like to share with Toshl users?

Janez: Overall, the app stays the same. So far functionalities did not change with this web app design update. It is just a refreshed look.

Jan: We didn’t want to complicate… Gradual changes are always a better option.

Otherwise, do you use Toshl Finance in everyday life?

Jan: Yes, I do.

Janez: Yes. Sometimes I fall asleep and forget to enter some cash expense in Toshl. Then I wake up and come back to the app… You know, we must use it because we’ll get lower salary otherwise… (Laughing)

Posted in Development, Opinions

January Novelties in The Toshl Apps

Platform improvements. These were either improved in all the Toshl apps, or on the server (backend) and thus automatically improve all the Toshl apps.

  • We greatly improved the reliability of detecting transfers between financial accounts. If you’re interested in how and what you can do to better note transfers, see the transfer matching blog post.
  • Detected transfers can also be un-matched into their expense and income constituent parts.
  • Semi-automatic bank connections, those that require an input of credentials whenever updating are now more clearly noted. All the apps now show a notice about this when connecting to the bank. A reminder notification to update the data each week is advised.
  • Expenses and incomes on automatic accounts can now be manually deleted.
  • We’ve increased the date range for which the transactions are available on about 400 bank connections.
  • Various minor reliability improvements on bank connections, to avoid duplicates, make sure entire descriptions of transactions are imported, balances show only the current balance instead of the total available etc.

Android

  • Planned expenses and incomes now show with dates on the list.
  • Customized pins on the location map (lollipops FTW!).

iOS

  • The “my financial month” setting is now available in the mobile app. With it, you can set your financial month to start on a different date than the calendar month. Tap the red month button in the right drawer to set it.

Web App

  • Transaction description previews are now shown directly on the expense and income lists.
  • Updated the report a bug widget, so it’s easier to report bugs or ask questions about specific data from the web app.

We also worked on major features coming in the future, added tons of other minor improvements and fixes, too numerous too list here. But when it all works well, you’ll know they’re there. 😉

Nothing stops us from keeping on improving.
Viježbamo p**** vam materina! (a little joke for all our ex-Yu friends)
Posted in Announcements, Development

Between Scylla and Charybdis: Why We’re Switching the Locations Feature Back to Foursquare

We’re switching the expense locations provider to Foursquare! Back to Foursquare, as it was before April. Don’t let the exclamation mark of the first sentence fool you, it is not one of excitement, rather of frustrated dread.

When making Toshl v2 a few years ago, we thought it would be a cool feature to add the location of the expense or income. Cooler still, with the help of a 3rd party service, we could even show and save the name and info of the exact venue, not just the coordinates.

For this to happen, we chose Foursquare. We used their apps, knew they had a pretty good database of crowdsourced venues and at the time, offered the venues API for free, even for commercial use. Through the years of use and user feedback, we discovered that the coverage could be somewhat patchy in certain countries, but worked well overall. Hell, it was free, save for the attribution and data about which places were the most frequented.

Then earlier this year, a Foursquare representative sent us an email, saying that they’ve changed the terms and now want to charge us the 750 $ (US) per month for location API access. We’re not against paying in principle, they do provide a useful service, but a bait and switch with going from 0 to 750 $ a month was a bit harsh. Especially for a feature that doesn’t represent the core of our service, but is rather a nice add-on for most people.

Therefore we resisted and checked out other providers. Google Places API was an obvious choice. While the quality of location data also varied a bit, the database of venues was very large and we knew Google was definitively committed to keep improving it substantially in the future.

So we added the switch of location providers on our to-do list, updated the backend systems, optimised how the results were fetched and displayed, changed the location provider logos in the apps and launched the new location system with Google’s results on 18th of April 2018.

While Google’s Places API was not free in theory, there was a cap beyond which they started charging. Essentially this made the service free for us, as we didn’t surpass those rather generous caps.

Then on May 3rd, the bomb hit. Google announced they were raising their API prices. By A LOT. You can imagine how happy we were.

We weren’t the only ones:

https://geoawesomeness.com/developers-up-in-arms-over-google-maps-api-insane-price-hike/

There was a 3-month transition period after June 3rd during which they offered some transitional credits to existing customers, but after this, our monthly bill would go from 0 to about 3000 $. Wonderful.

We had a few calls with Google representatives to see if something could be worked out, or if we had misunderstood something, but all we got was a “that’s unfortunate” and a $300 credit for other Google Cloud services.

We obviously looked at other location data providers like HERE, TomTom, Mapbox and others, but very few offer worldwide coverage and even when they do, it can be pretty patchy and imprecise.

Perhaps that’s also because during the last decade Google offered these location services below cost, thus stifling stronger competition that might have otherwise developed.

 

So long story short, the locations of your expenses and incomes in Toshl apps will again be provided by Foursquare. We apologise for any inconvenience that might have caused, as the locations on both platforms don’t always match completely. As you can probably tell from above, our choices were somewhat limited. We hope the location function will work well, consistently and hopefully without further pricing shocks in the future.

 

 

Posted in Announcements, Development

The Missing Pieces in Apple’s In-App Payments System

The in-app purchases on iOS have evolved greatly, if not rapidly, over the years since Apple has introduced the option to pay from within iOS apps using their payment system. They’re available everywhere where the App Store is, subscriptions are now available for most apps, webhooks were added, reporting is better and the Apple fee now drops to 15 % after a customer is subscribed for 1 year. All good improvements, but a giant and glaring omission remains, making the user experience worse for customers and lives more difficult for developers. Further still, Apple doesn’t show any inclination to fix the situation and fill in the feature void:

It’s impossible for app developers to search, cancel or refund iOS in-app payments.

 

Why is this important? 

To provide a better service and user experience for our customers.

Refunds. Sometimes a customer just upgraded short while ago, but accidentally made a double purchase or had different expectations of the functionality. In such cases a customer would contact our support and request a refund. When this happens best we can do is to tell them to contact the App Store support, as we can’t authorise the refund ourselves. This can be a bit difficult to understand for some, as we’re the ones operating Toshl otherwise.

Cancellations API. Our apps are available on multiple platforms. Let’s say a customer previously used the Android app and subscribed through Google Play or used the web app and upgraded via PayPal. Then, the customer buys an iPhone and extends the Toshl Pro subscription using in-app purchase. In this case, we’d automatically cancel the previous subscription on Google Play or PayPal, so only the most recent subscription on iOS would remain going forward.

This isn’t possible in the other direction. If a customer first subscribes using an iOS in-app subscription, then upgrades via PayPal, we’re not able to cancel the existing subscription on iOS. Best we can do is to tell the person to follow these rather convoluted instructions to cancel the previous subscription on iOS.

Unfortunately, this can quickly lead to accidental double payments as the customer forgets to cancel the previous subscription manually. Logically, they’ll contact to our support, requesting a refund where we can again tell them only to request it from Apple’s App Store support, thus creating more ire and a user experience quickly approaching Kafkaesque territory.

Search. Sometimes, we need to look up a specific payment. Either we’re not sure if it was completed successfully, we’re investigating a potential double payment or testing something. There are many reasons why this would be useful and of course goes hand in hand with the ability to refund or cancel subscriptions as mentioned above. This isn’t possible with iOS payments. While some of the data could be checked via APIs, most can’t, there’s no graphic interface to check.

The lack of these crucial components is even more evident when comparing to the other payment methods that we use. All of the functions mentioned above are easily available on Google Play, PayPal and Adyen (our credit card processor).

 

Why isn’t Apple fixing this?

I can’t be sure, but other than the lack of time and focus on other areas, a few possible reasons come to mind. It could be that Apple is afraid of a loss of control here. But their refund policies with their own support are quite liberal as it is. Potential abuse of the refunds could quickly be algorithmically detected. Other payment providers can seem to make it work well.

Privacy could be a potential concern, but it need not be. We’re not asking for any card details of the customer, addresses and names can be hidden, as Google Play already does. What we need most is the unique ID of the transaction and the ability to search by it and email.

It is possible that the refund ratio of all purchases would go up slightly, but it’s doubtful it would do so significantly. In any case, it’s a better long term business practice to let your customer choose your product because they want it not because the cancellation process is so damn convoluted.

 

We’ve contacted Apple’s support regarding this, but all we got is a standard non-response:

“I do not have any information on whether this change is in the works. I can advise you that Apple does take your feedback very seriously. Many changes to our program have been implemented by feedback from our developers.”

I’m sure we’re not the only app developers, who face these problems and would greatly appreciate to see these issue sorted. If you agree, please share this article so we can get some improvements to happen.

 

We love Apple’s products and for the most part they make our lives easier, both on the user as well as the development part. This is why this feels so much more as a black spot on an otherwise great user experience record.

 

Apple we beseech thee, please help us make user experiences better for both your and our customers.

 

Posted in Development, Opinions