Spiral gives your agent every tool with one account. Browse the tools →

n8n · Web

How to Use Wikimedia project directory in n8n

Returns available Wikimedia projects with their identifiers, names, URLs, project types, and languages. Use it to find the actual wiki for a research task or validate the destination for a content lookup.

Prompts to try with Wikimedia project directory in n8n

Copy an example into n8n, or ask in your own words.

Each month, use Wikimedia project directory to compare the available German-language projects with the previous check and report additions, removals, or changed website addresses.

Wikimedia project directoryn8n
Try asking
  • Each month, use Wikimedia project directory to review the available Wikivoyage language editions and report changed identifiers or destinations.

  • Each quarter, use Wikimedia project directory to check the French, German, and Japanese Wikipedia destinations against the previous check and summarize any differences.

  • Every Monday at 9am: use Wikimedia project directory to look this up and give me the result as a table.

  • Pull the latest numbers from Wikimedia project directory and tell me what changed since last week.

How to set up Wikimedia project directory in n8n

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send n8n this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. 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

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run Wikimedia project directory in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Wikimedia project directory, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run Wikimedia project directory

    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/projects",
        "input": {
          "code": "wiki"
        }
      }'

Then paste one of the prompts above: n8n finds Wikimedia project directory on Spiral, shows the price and runs it.

Wikimedia project directory providers and prices

Spiral runs Wikimedia project directory through Alexandria. Open a card for today's price, with every fee included.

AlexandriaWeb
Wikipedia · Projects
wikipedia/reference/projects

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Codewiki, wiktionary, wikisource, wikiquote, wikibooks, wikiversity, or wikivoyage

Only projects of this type, for example wiki for Wikipedia.

Every API field of Wikipedia · Projects is on its tool page: open its card above.

What can you do with Wikimedia project directory in n8n?

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.

Create a wiki destination index

Build an index of available Wikimedia project identifiers and URLs for a research assistant's source menu.

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.

Questions about Wikimedia project directory in n8n

Can n8n use Wikimedia project directory?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Wikimedia project directory like any built-in tool.

How much does Wikimedia project directory cost in n8n?

$0.013 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

Do I need an Alexandria account to use Wikimedia project directory in n8n?

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Wikimedia project directory on its own Alexandria account.

How long does it take to set up Wikimedia project directory in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while Wikimedia project directory runs?

Wikimedia project directory runs in the background. n8n 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.

Get started

Start using Wikimedia project directory in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options