How to Use Wikipedia structured article in Devin
Fetch a Wikipedia article with infoboxes, sections, tables, and references already separated into JSON. Use it to extract facts or organize passages without writing an HTML or wikitext parser.
Prompts to try with Wikipedia structured article in Devin
Copy an example into Devin, or ask in your own words.
Use Wikipedia structured article to retrieve English Wikipedia's Chicago article and create a JSON fixture containing its returned infobox values and section headings.
Use Wikipedia structured article to retrieve English Wikipedia's Solar System article and build a table viewer for the tables actually returned.
Use Wikipedia structured article to retrieve English Wikipedia's NASA article and add a reference browser that displays its returned references alongside their identifiers.
Scrape https://example.com/pricing with Wikipedia structured article and turn it into a comparison table. Save the result in ./assets.
Crawl the docs at https://docs.example.com with Wikipedia structured article and summarize each section.
How to set up Wikipedia structured article in Devin
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add a custom MCP
Open Customize › MCPs. Click + and choose New MCP. Fill in:
- Sign in to Spiral and approve
In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.
- Check it
On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.
Use the Spiral skill
- Send Devin 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 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 structured article
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/articles/structured-contents", "input": { "name": "<name>" } }'
Then paste one of the prompts above: Devin finds Wikipedia structured article on Spiral, shows the price and runs it.
Wikipedia structured article providers and prices
Spiral runs Wikipedia structured article through Alexandria. Open a card for today's price, with every fee included.
Up to $0.001746 per run at the default inputs. $0.001746 per unit of limit.
Settings you can ask for
Ask Devin for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 10 | 1 | Most matching articles to return, 1 to 10. More than one only helps when no project is pinned and the title exists on several wikis. |
Every API field of Wikipedia · Structured article is on its tool page: open its card above.
What can you do with Wikipedia structured article in Devin?
Build a reference feature from selected Wikipedia articles in your project. A coding agent can turn article text into searchable passages or work with parsed sections and tables for extraction.
Prepare a research brief
Read the Wikipedia articles for Lithium iron phosphate battery and Sodium-ion battery, then compare the advantages and limitations described in their text. Use parsed sections when extracting passages and full article text when more context is needed.
Build city background notes
Turn the articles for Chicago and Toronto into separate notes on history, geography, and transportation. Keep each statement tied to the article it came from.
Research public organizations
Use the NASA and European Space Agency articles to draft an organizational background comparison from the retrieved text. Distinguish what each article states from your own interpretation.
Create teaching materials
Read the Plate tectonics article and turn its explanations into a lesson outline, vocabulary list, and comprehension questions. Use the article's sections to keep the material organized.
Build a focused reference collection
Retrieve a chosen list of Wikipedia titles for a reference assistant. Store article passages from the text response or parsed sections from the structured response, with their source articles.
Report changes to selected articles
Retrieve the International Space Station article each day and compare it with your previously saved response. Summarize changes in the article's wording without presenting them as independently confirmed events.
More on Wikipedia structured article and Devin
Overview
Wikipedia structured article in other agents
Questions about Wikipedia structured article in Devin
Can Devin use Wikipedia structured article?
Yes. Add Spiral to Devin as an MCP server, and Devin can find and run Wikipedia structured article like any built-in tool.
How much does Wikipedia structured article cost in Devin?
Up to $0.001746 per run at the default inputs. $0.001746 per unit of `limit`. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.
Do I need an Alexandria account to use Wikipedia structured article in Devin?
No. Spiral runs Wikipedia structured article on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Wikipedia structured article in Devin?
About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.
Does Devin wait while Wikipedia structured article runs?
Wikipedia structured article runs in the background. Devin starts the run, checks on it and gives you the json when it's ready.
Can I search Wikipedia by topic with these lookups?
Both lookups require an exact article title. A request for a broad topic does not produce a ranked list of related articles.
How fresh is the article data?
Wikimedia documents these lookups as returning the current article revision. The revision identifier changes with every edit, so repeated retrievals can establish whether the article has changed.
Can I retrieve an article as it appeared last year?
These lookups return the current revision rather than a selectable historical revision. They do not provide a full revision-history download.
Why can an article title match more than once?
Article titles are not unique across Wikimedia projects. The same name can match pages on different wikis, so the intended source edition matters.
Does structured output include everything in the text response?
Structured Contents separates article content into parsed objects but omits the raw article body, categories, templates, and redirects. Use Wikipedia article text when those are necessary.
Start using Wikipedia structured article in Devin
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Devin:
set up https://spiral.ai/SKILL.md


