How to Use Wikipedia language codes in Instinct
Returns Wikimedia language codes, English and local language names, and writing direction. Use it to label a language selector or resolve language names before choosing a Wikimedia project.
Prompts to try with Wikipedia language codes in Instinct
Copy an example into Instinct, or ask in your own words.
Each month, use Wikipedia language codes to compare Arabic, Hebrew, and Persian with the previous check and report any changes to names, codes, or writing directions.
Each quarter, use Wikipedia language codes to refresh the English and local names for French, Spanish, Portuguese, Japanese, and Korean, and report only changes.
Every Monday at 9am: use Wikipedia language codes to look this up and give me the result as a table.
Pull the latest numbers from Wikipedia language codes and tell me what changed since last week.
Check Wikipedia language codes and summarize what you find in three bullet points.
How to set up Wikipedia language codes in Instinct
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send Instinct this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Create an API key
In the console, open API keys and create a key for Instinct. Copy it.
- Send Instinct this message
Instinct reads Spiral's skill and asks for your API key.
set up https://spiral.ai/SKILL.md
- Give Instinct the key
When Instinct asks for the key, add it where Instinct keeps secrets, never in the chat itself.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Wikipedia language codes
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "wikipedia/reference/languages", "input": {} }'
Then paste one of the prompts above: Instinct finds Wikipedia language codes on Spiral, shows the price and runs it.
Wikipedia language codes providers and prices
Spiral runs Wikipedia language codes through Alexandria. Open a card for today's price, with every fee included.
What can you do with Wikipedia language codes in Instinct?
Keep a Wikimedia source directory current through occasional comparisons of language and project records. A scheduled agent can report changes to codes, labels, writing directions, or wiki destinations without treating article edits as directory changes.
Build a language selector
Populate a Wikipedia language selector with returned codes, English names, local names, and writing direction.
Validate a multilingual research plan
Resolve French, German, and Japanese to Wikimedia language codes, then confirm the available project destinations before planning content lookups.
Audit localization settings
Compare an application's configured languages and wiki destinations with the returned directories. Flag unmatched codes and project identifiers for review.
Map educational sources by language
Prepare a source directory for an educational assistant by matching language labels to available Wikipedia, Wikibooks, and Wikiversity projects.
Review directory changes
Compare occasional directory refreshes with an earlier copy and report added or removed language codes, changed names, and changed project destinations.
More on Wikipedia language codes and Instinct
Overview
Wikipedia language codes in other agents
Questions about Wikipedia language codes in Instinct
Can Instinct use Wikipedia language codes?
Yes. Add Spiral to Instinct as an MCP server, and Instinct can find and run Wikipedia language codes like any built-in tool.
How much does Wikipedia language codes cost in Instinct?
$0.013 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Instinct plan is separate.
Do I need an Alexandria account to use Wikipedia language codes in Instinct?
You need no Alexandria account. Instinct uses one Spiral API key for every tool, and Spiral runs Wikipedia language codes on its own Alexandria account.
How long does it take to set up Wikipedia language codes in Instinct?
About two minutes: create an API key, then send Instinct this message, then give Instinct the key.
Does Instinct wait while Wikipedia language codes runs?
Wikipedia language codes runs in the background. Instinct starts the run, checks on it and gives you the json when it's ready.
Does this reference data cover only Wikipedia?
It supports Wikimedia's textual projects, including Wikipedia, Wiktionary, Wikibooks, Wikisource, Wikiquote, Wikiversity, and Wikivoyage. Language metadata identifies languages; project metadata identifies the individual wikis.
How often does the directory change?
Wikimedia describes reference metadata as changing rarely and recommends caching it instead of fetching it on every run. This is directory data, so article edit frequency does not describe its freshness.
Are language records and project records interchangeable?
No. Language records include English and localized language names, while project records identify a particular wiki with its identifier, URL, project type, and language.
Does the article result cap also restrict these directories?
Wikimedia documents its result-limit setting as applying only to On-demand endpoints. The language and project directories are metadata endpoints, so that article cap does not describe their directory coverage.
Can I reuse the returned reference data?
Wikimedia Enterprise's terms say returned content remains subject to the applicable Free Culture and Open Source licenses. Reuse must follow the license that applies to the content.
Start using Wikipedia language codes in Instinct
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Instinct:
set up https://spiral.ai/SKILL.md


