AIFeed

Show HN: WikiVectors – makes any LLM smarter

Original text(via HN AI)

Make any AI smarter with today's Wikipedia.

AI models stop learning on the day they're made. WikiVectors is a Wikipedia search API that hands them the right paragraphs for each question, with the source. We tested it. Here's what changed.

Try it. No key needed.

Pick a call, type, and see what the real API sends back.

Find the best paragraphs for a question. Counts as 1 search.

Want us to tell you when a page changes? POST /v1/watches sends a signed POST to your own URL. See the docs.

Finds by meaning

Ask a question in plain words. Exact names still come first.

Ready to cite

Every result has the link, the exact page version and the license line.

Never stale

Edits on Wikipedia show up within the hour.

Plain HTTP or MCP

One endpoint, one error shape, an OpenAPI file. Or plug it into an AI agent as an MCP server.

Your first call

Send your key as a Bearer token. limit is 1–20 (default 5).


        curl https://wikivectors.com/v1/search \
  -H "Authorization: Bearer $WIKIVECTORS_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "what causes the northern lights", "limit": 3}'
      

        import os, requests

r = requests.post(
    "https://wikivectors.com/v1/search",
    headers={"Authorization": f"Bearer {os.environ['WIKIVECTORS_KEY']}"},
    json={"query": "what causes the northern lights", "limit": 3},
)
for hit in r.json()["results"]:
    print(hit["title"], hit["url"])
      

        const r = await fetch("https://wikivectors.com/v1/search", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.WIKIVECTORS_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ query: "what causes the northern lights", limit: 3 }),
});
const { results } = await r.json();
      

        body := strings.NewReader(`{"query": "what causes the northern lights", "limit": 3}`)
req, _ := http.NewRequest("POST", "https://wikivectors.com/v1/search", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("WIKIVECTORS_KEY"))
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
      

Answer 5

The shortest right answer, with sources.

Pages by title 1 each

Know the names? Get up to 20 pages at once.

Changes and watches

See what was edited, or have us call you.

Claude, Cursor, VS Code

Add WikiVectors as an MCP server in one line.

Read the full docs

Pricing

No subscription. Pay only for what you use.

Free

  • No card needed
  • The full API

Pay as you go

  • Buy credits from $10
  • Credits never expire
  • No monthly bill

Volume

  • Higher rate limits
  • Email us and we set it up

Get your API key

Tell us your email. We send your key, with 1,000 free searches a month. Already have one? We'll email you a sign-in link instead, so your key keeps working.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗