LM Studio and Wikipedia: give your local model this year's news with MCP

Updated 2026-11-26 · 5 min read

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.

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:

What does it answer?

Gemma 4 12B, run in LM Studio on a MacBook on 26 November 2026, same questions both ways:

QuestionAloneWith 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 knowAndy Burnham
Who won the men's Ballon d'Or in 2026?I don't knowHarry Kane
Which country won the Eurovision Song Contest 2026?I don't knowBulgaria, "Bangaranga" by Dara
Which team won the 2026 World Series?I don't knowMilwaukee Brewers, over the Rays in five
Which film won Best Picture at the 98th Academy Awards?I don't knowOne Battle After Another
Who won the 2026 Nobel Peace Prize?I don't knowNavi Pillay
Which region did Lloyd Quinan represent as an MSP from 1999 to 2003?No record of himWest 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

Using Claude, Cursor or another MCP client instead? The same server works there: see the MCP docs. Writing your own code? See how to ground an LLM in Wikipedia in a few lines of Python.

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.

Just your email, no card. We send your key right away.

More guides