From a demo list to the tool you actually use
By the end of this lesson you will have every instrument you actually follow in your watchlist, each as the listing you meant, a written note of the rows that come back empty, and the commit that makes the list yours.
The last step of making it yours is unglamorous and decides whether this thing survives past the course: getting your real instruments in, and finding out which of them this data actually covers.
Find the exact ticker
You know the company; the API needs the identifier, and guessing produces silent holes. The search endpoint answers it:
/search/{query}
Query "vodafone" and you get the listings, each with its exchange suffix, and you pick the one you mean. You do not need the MCP server for this. Without it, open this address in your browser, with your own key in place of YOUR_KEY (the free key from lesson 4; the demo token does not cover search and answers 403):
https://eodhd.com/api/search/vodafone?api_token=YOUR_KEY&fmt=json
Each result has a Code, an Exchange and a Currency; the ticker is Code.Exchange, such as VOD.LSE. The search box on eodhd.com shows the same listings without any key at all, but not their currency, so check that in the API's answer before you choose. And a matching code is not a matching company: searching "SAP" also lists SAP.TO, which is Saputo, a Canadian dairy company. One search request costs one call. This matters because the same company on two exchanges is two tickers with two prices, and often two currencies, as unit 2 showed with pence and pounds.
Do this once, while you are building, and paste the results into your list. Do not build a search box into the tool yet. Your list changes a few times a year; a feature for it is scope you have not earned, and your PLAN.md almost certainly has "not building" in the right place already.
Coverage is not universal, and finding out early is cheap
Not every instrument you want is in every plan, and not everything that exists is covered at all. There is a covered-tickers page in this lesson's sources; there is also a faster method, which is to put your whole list in and see what comes back.
This is why unit 2 insisted that a bad ticker fails its own row rather than the list. Import twenty symbols, and the three that come back empty are your answer, immediately and without any research.
The migration moment
Replace the demo list with yours, wholesale:
export const WATCHLIST: string[] = [
// your instruments, in the order you want to read them
];
Then load the page and look at it properly, because this is the first time the tool is about your money and your attention rather than about the exercise. Three questions:
- Is anything missing? Instruments that returned nothing are coverage gaps. Note them; they are one of the things a paid plan changes.
- Is the order right? You typed it in the order you thought of them. That is rarely the order you want to read them at 7am.
- Would you actually open this? Be honest. If the answer is no, something specific is wrong, and now is the cheapest possible moment to find out what.
Commit this one
Your ticker list is the most personal thing in the repository and it belongs in git: it is not a secret, and you want it back when you clone this on another machine. The Checkpoint at the end of this lesson commits it.
Notes and preferences stay in browser storage. Tickers are the tool's configuration; notes are your data. Different lifetimes, different homes.
Try it now
The prompt
This is build-time work, which is what the EODHD MCP server is for: your agent searches while you build, and the tool never gets a search box. Paste, with your instruments in place of the brackets:
I want my real instruments in src/lib/watchlist.ts. For each company I
name, find its listings with the EODHD search tool and show me the
candidates with exchange and currency, so I choose. Before each search,
tell me what it costs, and ask before more than five. Then replace
WATCHLIST with the tickers I pick, in the order I give, keep the
comment at the top of the file, and tell me what one page load will
cost live. Change no other file and show me the diff.
My instruments: [company names, including any you suspect may not be covered]
A good answer prices each search at one call before running it, shows exchange and currency for each candidate, and changes one file.
If the MCP server is not connected, do the searches yourself with the address above (or the search box on eodhd.com), choose the listings, and give the agent only the second half of the prompt: "Replace WATCHLIST in src/lib/watchlist.ts with these tickers, in this order: [your tickers]; keep the comment at the top of the file; tell me what one page load will cost live; change no other file and show me the diff."
Check it yourself
- Every search was priced before it ran, one call each, and the total stayed where you allowed it.
git diff --statlistssrc/lib/watchlist.tsand nothing else.- Go live and open the page once, at one call per ticker (this needs a key of your own: on the
demotoken one uncovered ticker fails the whole request with 403; in mock mode a ticker with no fixture row appears as unavailable). Write down which rows come back empty or marked unavailable: those are your coverage gaps. Keep them — in the next unit you will find out exactly why they are empty, and what changes it. - The reading order is the one you want at 7am, not the order you thought of them in. Fix it now.
- Answer the third question honestly: would you actually open this?
Compare with ours
How we chose two of ours
| Company | Two of the candidates | We kept | Why |
|---|---|---|---|
| Vodafone | VOD.LSE in pence, VOD.US in dollars |
VOD.LSE |
the home listing, read in pence |
| SAP | SAP.XETRA in euros, SAP.US in dollars |
SAP.XETRA |
the home listing, read in euros |
The full state at the end of this unit is on the starter's branch ref/build-your-first-tool/u3.

Checkpoint
git status should list src/lib/watchlist.ts and, if you added rows to the mock data, fixtures/real-time.json, and no .env* file.
git status # only the files you expect, and no .env*
git add -A
git commit -m "My instruments - the ones I check before the open"
Then answer this lesson's questions.