ai chat interface on laptop screen

Mini-Review: Questrade MCP support for AI agents

I’ve had AI on the brain lately; it’s partly because I’m always curious about new technology — but I also recognize that my own portfolio management is more labour-intensive than it needs to be. That’s partly because I enjoy the tinkering, partly because I like things done in a certain way. My spreadsheets help a lot with making things more mechanical, but I still have to manually update them to get useful results1.

Now, I’m far from an expert on this sort of thing, but I’ve been experimenting with Anthropic’s Claude2 for a few days, getting familiar with how it works, and downloading the desktop client to my laptop.

Coincidentally, this week, I noticed a new little popup in my Questrade portal this week which promoted a new capability, namely MCP support: How to Connect Questrade to AI Tools with MCP3.

“MCP” stands for “Model Context Protocol”. Gemini helpfully describes it as “… a universal USB-C port for artificial intelligence”. Clear enough. In other words, MCP allows Claude read-only access to my Questrade account, which sounded rather useful and instead of pages of documentation (typical for an API integration), I got a three step process to make the connection.

  • copy the MCP URL from Questrade
  • Plop it in Claude’s Custom Connectors setting
  • Login to Questrade and permit access from Claude

I successfully followed these three steps in roughly 60 seconds, and next thing I knew, Claude was able to give me a list of my Questrade accounts and balances4.

That’s easy stuff, admittedly, so I figured I would ask it to please calculate the number of XGRO shares I would have to sell in order to make my monthly RRIF minimum payment. (This is something I actually do every month; you can see the steps I have to take to get paid in retirement over at What do you have to actually DO to get paid?

Claude was happy to help me — and it knew enough to ask me how old I was and what the value of my RRIF was at the beginning of the year. (This is how RRIF minimum is calculated, if you’re new to how RRIFs work, you might want to give Demystifying RRIFs a read).

But since I already know what my monthly RRIF minimum payments are, I told Claude to please use those. And it correctly calculated how many shares to sell based on the live cash balance in the RRIF account and the live quote for XGRO.

Claude immediately offered to set up a monthly schedule to do this…but, unfortunately, Claude scheduling is one of those capabilities that requires a not-free Claude subscription. The entry level subscription would be $24/month, or around $300 a year. In the grand scheme of things, that’s not a ton of money, but as a rule I’m a bit reticent about subscription-based services since they have a way of slowly adding up and becoming a drain on your hard-earned savings5.

That was a silly, easy question to ask, and failing that test would have resulted in mockery.

So I asked Claude a more difficult question, namely to tell me how much Canadian Equity exposure I had across my entire portfolio.

Claude was quickly able to identify my 100% Canadian equity holdings (currently VCN, XIC and HXT), and correctly pointed out that my all-in-ones (XGRO, XEQT, ZEQT) were also sources of Canadian equity. With a confirmation to proceed, Claude was able to quickly create an aggregated table that showed all my Canadian equity holdings6.

But there remained a problem. Claude failed to uncover the Canadian equity portion of AOA, which is a USD-based 80/20 fund. My own calculation put the Canadian equity portion of AOA at 2.64% so it’s small, but not zero. But since I have a pretty large (if dwindling7) portion of my savings in AOA, this is a signifiant miss. I pointed this out to Claude who agreed (naturally) and fixed it8, along with a helpful and accurate observation9:

“Notes on AOA specifically: it’s a US-domiciled fund, so its 3.03% Canada weighting is small and comes through its international-developed-markets sleeve rather than a dedicated Canada allocation — nowhere near the home-country tilt you get from XEQT/XGRO/ZEQT. Its USD value was converted at the last USD/CAD rate we pulled (1.4087); today’s rate may differ slightly.”

Anyway, this experiment proved to be interesting, but without additional automation10, not particularly helpful to me. The key gaps right now are that it does not currently provide access to my spouse’s accounts (this I blame on Questrade’s design and decisions regarding how to treat TA accounts), and the lack of an MCP connector to Wealthsimple11 (where I have some retirement holdings). Have you connected your DIY accounts to an external tool? Tell me about it at comments@moneyengineer.ca!

  1. Questrade (my primary broker) has had API access for quite a long time, and I kept thinking I would figure out how to make it useful but I do find the security aspects of messing with this a little daunting. And there have been enough negative posts about its reliability and availability it makes me wonder whether it’s worth my time. ↩︎
  2. The free version, naturally. I am still a cheapskate. ↩︎
  3. It appears that the promotion of this capability is not showing up in everyone’s account. Whether it is being selectively enabled on a per account basis is unknown. ↩︎
  4. Well, not all of them. I’ve long complained about how Questrade handles accounts for which I have Trading Authorization (i.e. my spouse’s accounts). There’s no unified view from my login and this also shows up in my interactions with Questrade via Claude. Claude also doesn’t know about the accounts for which I have TA. ↩︎
  5. “Pay yourself first” (cfr The Wealthy Barber) cuts both ways. If you set aside money for savings before you ever see it land in your bank account, it is a bit like magic over time. If you are billed for a subscription service that automatically renews, it’s like magic for the provider of the subscription service. They’ve done the work to land a client, and now they can just watch the monthly revenues roll in, knowing that automatic renewals are unlikely to get noticed immediately, if ever… ↩︎
  6. It appears Claude took a look at the real time Canadian equity exposure of (for example) XEQT. I don’t myself bother doing this because XEQT (for example) has a stated objective of keeping the Canadian equity portion of its fund at 20% and it rebalances periodically to do this. So 20% is good enough for me. ↩︎
  7. I’m actively kicking USD assets out of my portfolio: Kicking USD out of my retirement portfolio ↩︎
  8. It set the percentage at 3%. ↩︎
  9. This wasn’t new or helpful to me since I own AOA, but I include it just to show the sorts of things Claude mentions. ↩︎
  10. Which may be possible; I’ll have to play with it a bit more ↩︎
  11. There are some 3rd party integrations I’ve seen, but I’d prefer it to come from the source. ↩︎

close up shot of rusty gears

AI and Financial Planning

Although a fair bit of my retirement portfolio is wrapped up in AI companies, that’s not what I’m talking about this time. I’ve been exploring the use of AI in helping make investment decisions. And it’s a rapidly evolving and fascinating place, and ultimately, I think it’s a huge win for the DIY investor. There are many ways for you to use AI in your financial decisions today — you can use free and generic AI, a commercial financial product that uses AI under the hood, or a DIY financial advisor built from scratch using Claude. The choice is yours!

Free AI

Here I’m talking about using free tiers of AI to ask basic questions. Excellent for the lazy investor. Yesterday, for example, I asked Gemini1 “What’s the best foreign ETF for Canadian Investors”?

Gemini’s response when asked, “What’s the best foreign ETF for Canadian Investors”?

I rate this response a solid nine out of ten:

  • XAW and VXC are what I was actually after; they are both ETFs that allow you to invest in the world ex-Canada with one ticker. Like all such funds, they tilt pretty heavily towards the US (about 63%) because that’s the biggest market by far.
  • VIU is also a valid response, but excludes the US market. My question wasn’t overly specific.
  • VFV is on less solid ground as a response since it’s an S&P 500 ETF, meaning it only has US exposure. I suppose it’s technically a “foreign ETF”.
  • The answer preventing the perfect score here is XEQT, which, although featuring in the Magnificent Seven ETFs, is a wrong answer IMHO because it holds Canadian Equity.

I like Gemini because it always provides links indicating sources, and checking the source is always a good practice. This is a big time saver. I tried the same query on ChatGPT and Claude. ChatGPT’s answer was very close, but Claude figured that by “foreign” I meant, “Everything outside North America”, not “Everything outside Canada”. An interesting assumption…

Anyway, my experience using free AI for financial advice like this is generally pretty positive, but I’m using it like an assistant, not an advisor. I even see moneyengineer.ca show up as a source now and then, so what’s not to like 😉

Products that use commercial AI under the hood

Here you have products like Gilded2 or Truthifi3. Truthifi reminds me a bit of Passiv, whereas Gilded looks a bit like Optiml, products I’ve talked about in these pages. I’d expect to see more and more of these kinds of companies try to make a revenue stream by wrapping up commercial AI packages in a way that makes it easy for the AI neophyte to benefit. I very quickly took a look at Gilded, but the free version does not do very much at all, and targets people who haven’t retired yet. Truthifi looked more promising to me but only gets useful if you directly connect it to your brokerage accounts, something I’m not willing to do until I read a bit more about it.

DIY Financial Advisor AI

While researching this article, I was surprised to find an open source project that allows DIY financial advice based on Claude AI. The Canadian Finance Planner Skill on GitHub looks to be a comprehensive piece of work that targets Canadians, but requires a Claude subscription including Cowork to be useful. And a little bit of tech-savviness to get it running, but I presume anyone already paying for Claude Cowork qualifies.

I may have to invest some time and money into this one, it looks absolutely intriguing, covering the entire gamut of financial concerns from budgeting, to estate planning, insurance, taxation… In their words “Think of it as having your own AI financial coach on call who happens to know every corner of Canadian finance”. It’s a promise that seems a bargain for the cost of Claude Cowork at $24 monthly.

What about you? Are you using AI in your own financial decisions? Tell me about it at comments@moneyengineer.ca!

  1. Gemini is Google’s own AI and, being lazy, the one I generally use because it doesn’t require anything other than typing the question directly into my browser bar. I don’t use ChatGPT or Claude as much for this reason. ↩︎
  2. I found out about Gilded from a recent Globe and Mail article by the perportedly retired Rob Carrick. ↩︎
  3. Discovered by Googling “personal finance canada AI” ↩︎