Wikipedia
$0.01/call
Search and read Wikipedia articles with summaries and full content
Connect Wikipedia tools
Cursor
Claude Code
Claude Desktop
Windsurf
VS Code
Cline
Roo Code
ChatGPT
Gemini CLI
Amazon Q
Goose
Augment
n8n
API / cURL
AI SDK
TypeScript SDK
{
"mcpServers": {
"wikipedia": {
"url": "https://wikipedia.mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}Or connect all tools
Access all tools (including Wikipedia) through a single MCP connection.
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}Agent Discovery
Machine-readable catalogs for LLM agents and automation.
curl https://xpay.tools/llms.txt
curl https://xpay.tools/agents.txt
curl https://xpay.tools/skill.md
Pricing
Pay per tool call. No subscriptions.
7 Wikipedia tools availableAbout Wikipedia
Wikipedia on xpay — Agent-native article search and retrieval, billed per call
Wikipedia is the world's largest free online encyclopedia, and developers often need programmatic access to search articles, extract content, and retrieve citations. Rather than building custom scrapers or managing Wikipedia's own API, xpay wraps Wikipedia's capabilities as MCP tools—callable directly from Claude Code, Cursor, VS Code, and other MCP-compatible agents. You authenticate once with your xpay key; xpay handles the upstream connection. Each call costs $0.01, with no subscription or per-provider signup required.
See the official Wikipedia for more context on the encyclopedia itself.
What's available
search— Find articles by keyword with optional filtering and sorting. Useful for discovery and research workflows.get_page— Retrieve complete page metadata, content preview, and citations summary in one call.get_page_content— Extract article text without citations or metadata overhead.get_page_citations— Fetch the citations list for fact-checking and source attribution.get_related_pages— Discover linked articles from a given page for exploratory research.get_page_section— Extract a specific section by header name (e.g., "History", "See also").get_page_sections— List all section headers in an article for navigation and selective retrieval.
When Wikipedia is the right tool
- Research and fact-checking: Agents need to verify claims or gather background information on topics, people, places, or events.
- Content enrichment: Augment your application with summaries, definitions, or related links from a trusted source.
- Knowledge base queries: Build chatbots or Q&A systems that cite Wikipedia as a reference.
- Citation and source tracking: Extract citations to validate information or link users to primary sources.
- Educational tools: Create study aids, flashcards, or tutoring systems that pull from Wikipedia's corpus.
When to choose something else
- Real-time news or breaking events: Wikipedia articles lag behind current events. Use a news API or web search for live updates.
- Specialized or niche domains: Wikipedia covers general knowledge well but may lack depth in proprietary, academic, or emerging fields. Consider domain-specific APIs or databases.
- High-volume, low-latency retrieval: If you need thousands of calls per second, per-call pricing may exceed a subscription model. Evaluate bulk licensing or direct API access.
- Structured data extraction: Wikipedia's semi-structured format requires parsing. For clean, normalized data (e.g., company financials, product specs), use dedicated data APIs.
- Non-English content at scale: While Wikipedia supports many languages, coverage and quality vary. Verify language availability for your use case.
Pricing snapshot
| Tool | Price per call |
|---|---|
search | $0.01 |
get_page | $0.01 |
get_page_content | $0.01 |
get_page_citations | $0.01 |
get_related_pages | $0.01 |
get_page_section | $0.01 |
get_page_sections | $0.01 |
All Wikipedia tools on xpay cost $0.01 per call. No subscription, no overage fees—you pay only for what you use.
Quickstart
Install the Wikipedia MCP endpoint in Claude Code:
claude mcp add --transport http wikipedia "https://wikipedia.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"
Replace YOUR_XPAY_KEY with your xpay API key (get one free at https://xpay.tools after email or Google signup).
Once connected, your agent can call tools by name—for example, ask Claude to "search for information on photosynthesis" and it will invoke the search tool with your query.
Alternatively, connect all xpay providers at once:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"
With the unified endpoint, use xpay_discover to find Wikipedia tools, xpay_details to inspect their schemas, and xpay_run to execute them.
Why route Wikipedia through xpay?
- No Wikipedia signup: xpay holds the upstream credentials. You authenticate once with your xpay key and immediately access Wikipedia's full API.
- Pay-per-call, no subscription: Each call costs $0.01. No monthly fees, no commitment. Scale from one call to millions without changing your plan.
- MCP-native integration: Wikipedia tools appear as first-class MCP resources in Claude Code, Cursor, VS Code, and other compatible agents. No custom wrappers or SDK boilerplate.
- Unified billing across providers: Use Wikipedia alongside Tavily, Apollo, Perplexity, and other xpay providers. One invoice, one API key, one dashboard.
- Transparent pricing and usage: See exactly which tools you called, how many times, and what you owe. No hidden fees or surprise charges.
Overview
xpay transforms Wikipedia (and other third-party APIs) into MCP tools—callable directly from your AI agent with per-call billing. Install in seconds, start searching and reading articles immediately, and pay only for the calls you make.
Frequently Asked Questions
Wikipedia on xpay is a pay-per-call MCP integration that lets you search, read, and extract content from Wikipedia articles through Claude Code, Cursor, VS Code, and other MCP-compatible agents. xpay wraps Wikipedia's API and bills each call at $0.01, so you never sign up for Wikipedia directly or pay a subscription.
All Wikipedia tools on xpay cost $0.01 per call. There are no subscription fees, setup costs, or overage charges. You pay only for the calls you make. New users get $5 in free credit to try it out.
No. xpay holds the upstream Wikipedia credentials, so you authenticate only with your xpay API key. You never sign up for Wikipedia directly. After signing up at https://xpay.tools with your email or Google account, you receive an API key and can start using Wikipedia tools immediately.
In Claude Code, run: `claude mcp add --transport http wikipedia "https://wikipedia.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"` (replace YOUR_XPAY_KEY with your xpay API key). For Cursor, VS Code, or Windsurf, add a server entry to your mcp.json file with the same URL. See the Quickstart section above for details.
You can search for articles, retrieve full page content and metadata, extract specific sections, fetch citations, discover related pages, and list section headers. Common use cases include research, fact-checking, content enrichment, chatbots, educational tools, and citation tracking.
Wikipedia is ideal for general knowledge, background research, definitions, and verified facts on established topics. For breaking news, use a news API. For specialized or proprietary data, use domain-specific APIs. For real-time or niche information, Wikipedia may not be the best fit.
Yes. You can install the unified xpay endpoint (`https://mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY`) to access Wikipedia, Tavily, Apollo, Perplexity, and other providers through one MCP connection. Use `xpay_discover` to find tools and `xpay_run` to execute them. All calls are billed to your single xpay account.
xpay currently exposes 7 core Wikipedia tools (search, get_page, get_page_content, get_page_citations, get_related_pages, get_page_section, get_page_sections). If you need additional capabilities or direct access to Wikipedia's API, consider signing up for Wikipedia directly or contacting xpay support to request new tool additions.

