Skip to content
Eden Engine

Search English Wikipedia Articles (Wikipedia)

mediawikiactionapi/search

Full-text search of English Wikipedia: for each match the article title, page id, word count, size, last edit time and a snippet with the matching words marked, ranked by relevance, plus the total number of hits and a spelling suggestion. Required page size of 1 to 50; page with an offset. Snippets contain span markup around the matched words.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

Wikipedia

Text from Wikipedia, the online encyclopedia, which is available under the Creative Commons Attribution-ShareAlike 4.0 License (https://creativecommons.org/licenses/by-sa/4.0/). Credit Wikipedia and link to the article the text came from, and share any adaptation under the same licence. Served by Eden Engine; not an official Wikimedia Foundation product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "mediawikiactionapi/search" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "mediawikiactionapi/search" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "mediawikiactionapi/search", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "mediawikiactionapi/search", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "query",
    "limit"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "How many results to return, 1 to 50. Required."
    },
    "query": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1,
      "description": "Words to search for. The search syntax of Wikipedia works (quotes for a phrase, intitle:word, prefix:Title)."
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "description": "Results to skip, for reading further pages. Leave out to start at the first."
    }
  },
  "description": "What to search for.",
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "object",
      "required": [
        "search"
      ],
      "properties": {
        "search": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "title",
              "pageid"
            ],
            "properties": {
              "ns": {
                "type": "integer",
                "description": "Namespace, 0 for articles."
              },
              "size": {
                "type": "integer",
                "description": "Size in bytes."
              },
              "title": {
                "type": "string",
                "description": "Article title."
              },
              "pageid": {
                "type": "integer",
                "description": "Page id."
              },
              "snippet": {
                "type": "string",
                "description": "Text excerpt with the matching words wrapped in span elements."
              },
              "timestamp": {
                "type": "string",
                "description": "Last edit time, ISO 8601 UTC."
              },
              "wordcount": {
                "type": "integer",
                "description": "Words in the article."
              }
            },
            "description": "One matching article.",
            "additionalProperties": true
          },
          "description": "The matching articles, most relevant first; empty when nothing matches."
        },
        "searchinfo": {
          "type": "object",
          "required": [
            "totalhits"
          ],
          "properties": {
            "totalhits": {
              "type": "integer",
              "description": "Total number of matching articles."
            },
            "suggestion": {
              "type": "string",
              "description": "Spelling suggestion, when there is one."
            }
          },
          "description": "Totals for the search.",
          "additionalProperties": true
        }
      },
      "description": "The search result.",
      "additionalProperties": true
    },
    "continue": {
      "type": "object",
      "description": "Continuation values for the next page; absent when there is no more.",
      "additionalProperties": true
    },
    "batchcomplete": {
      "type": "boolean",
      "description": "True when the whole result is included."
    }
  },
  "description": "One page of Wikipedia search results.",
  "additionalProperties": true
}