Look up facts in current English Wikipedia (updated within the hour) and cite them. Use when a task needs a fact you might not know or that may have changed since your training cutoff (this year's news, recent winners, office holders, release dates, deaths, sports results), a rare or exact fact (dates, numbers, names), a Wikipedia page's text or infobox, which page a name means, or a source link to cite. Calls the WikiVectors API with curl and the WIKIVECTORS_KEY environment variable.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of wikivectors?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/wikivectors-wikivectors)
---
name: wikivectors
description: Look up facts in current English Wikipedia (updated within the hour) and cite them. Use when a task needs a fact you might not know or that may have changed since your training cutoff (this year's news, recent winners, office holders, release dates, deaths, sports results), a rare or exact fact (dates, numbers, names), a Wikipedia page's text or infobox, which page a name means, or a source link to cite. Calls the WikiVectors API with curl and the WIKIVECTORS_KEY environment variable.
license: MIT
metadata:
homepage: https://wikivectors.com
docs: https://wikivectors.com/docs
---
# WikiVectors: current Wikipedia for agents
WikiVectors searches all of current English Wikipedia and returns short paragraphs,
each with its page link, revision id and license. The index follows Wikipedia edits
within the hour, so it knows things that happened after your training cutoff.
## When to use it
- The question is about anything recent, or anything that can change (who holds an
office, latest results, newest version, is this person alive). Your memory may be old.
- A rare or exact fact where a wrong guess would matter: dates, numbers, spellings.
- The user wants a source: every result has a Wikipedia link to cite.
- Code needs Wikipedia data: page text, infobox facts, which page a name means.
Do not use it for things Wikipedia does not cover (private data, live prices, code docs).
## The key
Every call needs `Authorization: Bearer $WIKIVECTORS_KEY`. Just make the call; run
each curl as its own command. Your harness may ask the user to approve it the first time.
If it answers `missing_api_key` or `invalid_api_key`, tell the user: get a free key
(1,000 searches a month, no card) at https://wikivectors.com/account, then
`export WIKIVECTORS_KEY=wv_live_...` and start the agent again.
Never print the key, write it into files you commit, or put it in a URL.
## 1. Search (start here)
```bash
curl -s https://wikivectors.com/v1/search \
-H "Authorization: Bearer $WIKIVECTORS_KEY" -H "Content-Type: application/json" \
-d '{"query": "who won the 2026 FIFA World Cup", "limit": 5}'
```
Ask in plain words, like you would ask a person. `limit` is 1-20; 5 is usually enough.
The answer is `{"results": [...]}`; each result has `title`, `section`, `text`, `url`,
`revision_id`, `exact_title_match`, `description` and `score`. Read the `text` of the
top results and answer from them. If they do not answer it, search again with other
words before you fall back to memory, and say so if you do.
## 2. Short cited answer
```bash
curl -s https://wikivectors.com/v1/answer \
-H "Authorization: Bearer $WIKIVECTORS_KEY" -H "Content-Type: application/json" \
-d '{"query": "When did the James Webb Space Telescope launch?"}'
```
Returns `answer` (shortest right answer, or null), `detail` (1-3 sentences with `[1]`
style citations), `answered` (false when Wikipedia does not say) and `sources`.
Add `"options": ["a", "b"]` (2-10) to make it pick one. Costs 5 searches; use
search when you can read the paragraphs yourself.
## 3. Pages you can name
```bash
curl -s https://wikivectors.com/v1/pages \
-H "Authorization: Bearer $WIKIVECTORS_KEY" -H "Content-Type: application/json" \
-d '{"titles": ["Ada Lovelace", "JFK"]}'
```
1-20 titles. Follows redirects ("JFK" gives "John F. Kennedy"). Each page has `found`,
`text` (the opening paragraph), `description`, `disambiguation` (true = a list of
namesakes: pick a more exact title) and `is_person`.
Infobox facts (born, died, office, founders, population) as data:
```bash
curl -s https://wikivectors.com/v1/pages/Sam_Altman/facts \
-H "Authorization: Bearer $WIKIVECTORS_KEY"
```
`status` is ok, none (no infobox) or pending (HTTP 202: wait a few seconds, retry).
## 4. Which page does a name mean?
```bash
curl -s https://wikivectors.com/v1/identify \
-H "Authorization: Bearer $WIKIVECTORS_KEY" -H "Content-Type: application/json" \
-d '{"name": "Michael Jordan", "hint": "professor, machine learning", "kind": "person"}'
```
Use `match` only when `sure` is true; otherwise read `candidates` or send a better hint.
## Citing
Wikipedia text is CC BY-SA 4.0. When you show facts from WikiVectors:
- Cite the page: `[Title](url)`. For an exact version, use the result's `permalink`
or `https://en.wikipedia.org/w/index.php?oldid=<revision_id>`.
- Quote or closely follow the returned `text`; do not add facts it does not contain.
- If an app displays the text, show the `attribution` line (or title + link) with it.
## Errors
Errors look like `{"error": {"code", "message"}}`.
- `missing_api_key` / `invalid_api_key`: the key is not set or wrong (see "The key").
- `quota_exceeded`: free searches used up; more at https://wikivectors.com/account ($2 per 1,000).
- `rate_limited`: over 10 calls a second; wait a second and retry.
- `answer_unavailable`: answers are paused; use `/v1/search` instead.
## More
- Change feed and page watches (get told when a page changes): https://wikivectors.com/docs
- Full reference for agents: https://wikivectors.com/llms.txt
- OpenAPI: https://wikivectors.com/openapi.json
- MCP server (same tools, no curl): `claude mcp add --transport http wikivectors https://wikivectors.com/mcp --header "Authorization: Bearer $WIKIVECTORS_KEY"`