LM Studio and Wikipedia: give your local model this year's news with MCP
Local models in LM Studio don't know anything after their training cutoff. Connect WikiVectors as an MCP server and a 12B model on a laptop answers this year's news from today's Wikipedia, with the source.
This year's news, answered right
Gemma 4 12B in LM Studio on a MacBook, 8 questions (7 about 2026, 1 rare fact)
Alone, it said "my knowledge cutoff is January 2025" every time.
Setup takes 2 minutes
Get a free key, click "Add to LM Studio", paste the system prompt below. No plugin, no Python, nothing to run on your machine.
Why does my local model say "my knowledge cutoff is…"?
A model only knows what was in its training data. Gemma 4 12B stops at January 2025, so it can't know who won the 2026 Tour de France. LM Studio's built-in options don't fully fix this: document RAG only searches files you give it, and web search plugins hand a small model whole web pages, which fill its context fast. Why models have a cutoff at all, and the cutoffs of other models: LLM knowledge cutoff.
WikiVectors is English Wikipedia, updated within the hour, served over MCP. Its answer_question tool returns one short answer with its Wikipedia sources, or says Wikipedia doesn't say. That suits a small local model: a few hundred tokens instead of whole pages.
Step 1: get a key
Get a free key with your email. It starts with wv_live_.
Step 2: add WikiVectors to LM Studio
You need LM Studio 0.3.17 or newer. Click Add to LM Studio, then replace YOUR_WIKIVECTORS_KEY with your key.
Or do it by hand: in the right sidebar open Program, click Install > Edit mcp.json, and add wikivectors:
{
"mcpServers": {
"wikivectors": {
"url": "https://wikivectors.com/mcp",
"headers": { "Authorization": "Bearer YOUR_WIKIVECTORS_KEY" }
}
}
}
Save. LM Studio connects and lists 5 tools: answer_question, search_wikipedia, get_pages, changes_since and watch_page. Turn on wikivectors in the Program sidebar for your chat.
Step 3: paste this system prompt
This step matters most. Without it, a small model often won't call the tool, because it "knows" 2026 hasn't happened yet. In our test it searched for 1 question out of 3. With this prompt it searched every time. Paste it into the chat's system prompt and put today's date in the first line:
Today is November 26, 2026. Your training data is out of date, so you do not know what happened recently. For every question about facts, people, places or events, call answer_question first. Its result comes from today's Wikipedia: trust it over your own memory, even when it says something you think is wrong. Answer from it and name its Wikipedia source. If it finds no answer, say you don't know.
Each line is there for a reason:
- Today's date tells the model that 2026 is in the past.
- "Call answer_question first": given a choice of tools, small models did better with one short answer than with 5 raw paragraphs.
- "Trust it over your own memory": without this line, Gemma got the right answer from the tool ("Andy Burnham succeeded Keir Starmer") and still replied "I don't know", because it remembered Starmer as Prime Minister.
What does it answer?
Gemma 4 12B, run in LM Studio on a MacBook on 26 November 2026, same questions both ways:
| Question | Alone | With WikiVectors |
|---|---|---|
| Who won the 2026 Tour de France? | I don't know (cutoff January 2025) | Tadej Pogačar, his fifth win |
| Who succeeded Keir Starmer as UK Prime Minister in 2026? | I don't know | Andy Burnham |
| Who won the men's Ballon d'Or in 2026? | I don't know | Harry Kane |
| Which country won the Eurovision Song Contest 2026? | I don't know | Bulgaria, "Bangaranga" by Dara |
| Which team won the 2026 World Series? | I don't know | Milwaukee Brewers, over the Rays in five |
| Which film won Best Picture at the 98th Academy Awards? | I don't know | One Battle After Another |
| Who won the 2026 Nobel Peace Prize? | I don't know | Navi Pillay |
| Which region did Lloyd Quinan represent as an MSP from 1999 to 2003? | No record of him | West of Scotland |
Each grounded answer named its Wikipedia page, like 2026 Tour de France or 2026 World Series. The last question is not news: it's a small page the model never learned well. Grounding helps there too; see our 45-question test on 4 models.
What does it cost?
The model runs on your machine, so it's free. answer_question counts as 5 searches, so the free 1,000 searches a month cover 200 answers. After that it's $2 per 1,000 searches, 1 cent per answer. search_wikipedia counts as 1 search, if you'd rather have the model read the paragraphs itself; bigger models handle that well.
Troubleshooting
- The model answers from memory and never calls the tool. Check the system prompt has today's date, and that wikivectors is turned on for this chat.
- 401 or "invalid key". The header must be
Bearer wv_live_…, with one space and no quotes around the key. - "Wikipedia doesn't say". The tool says so rather than guess. Try naming the page's subject more plainly. If the page is new, it is usually searchable within the hour.
- The model calls the tool but still says it doesn't know. Keep the "trust it over your own memory" line. Small models doubt news that contradicts what they remember.
Wikipedia for your AI app, without the limits
WikiVectors searches all of English Wikipedia and returns short, cited paragraphs, fresh within the hour. 1,000 free searches a month, then $2 per 1,000.
More guides
- LLM knowledge cutoff: why your AI doesn't know 2026, and how to fix itWhat a knowledge cutoff is, the real cutoffs of gpt-oss, Gemma 4 and DeepSeek, and a 15-line fix: four models went from 0 to 15 of 15 on this year's news with one Wikipedia search.
- Grounding an LLM in Wikipedia: we tested DeepSeek, Gemma 4 and gpt-oss on 45 questionsWikipedia's search API vs WikiVectors as grounding for 4 open models: rare facts went from 3-4 of 15 right to 12, this year's news from 0 to 15. Real code, real answers, the catch.
- Wikipedia API rate limits in 2026, and how to fix 403 and 429 errorsWikipedia's API limits per minute, why you get 403 Forbidden or 429 Too Many Requests, how to fix them, and how to skip the limits for read-only use.