wikipedia-mcp-server: Instructions file for Codex

AGENTS.md

wikipedia-mcp-server AGENTS.md is an instructions file for Codex, OpenCode from surendranb/wikipedia-mcp-server. It costs 580 tokens per session, scanned C, original, MIT.

An operating manual for installing and connecting the Wikipedia retrieval server to AI tools such as Claude Code, Cursor, Codex, or Gemini.

In plain words
What is it for?
Installing the server, adding it to an AI client, launching it through standard input and output, and understanding its available lookup tools.
Why use it?
It provides the setup commands and configuration needed before an agent can retrieve Wikipedia content through the server.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

This is surendranb/wikipedia-mcp-server's own configuration. It tells Codex and OpenCode how to work on wikipedia-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything wikipedia-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to surendranb/wikipedia-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/surendranb/wikipedia-mcp-server/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/surendranb/wikipedia-mcp-server

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wikipedia-mcp-server AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/surendranb/wikipedia-mcp-server/agents-md/github.svg)](https://agentmods.dev/instructions/surendranb/wikipedia-mcp-server/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/surendranb/wikipedia-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/surendranb/wikipedia-mcp-server/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wikipedia-mcp-server AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/surendranb/wikipedia-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/surendranb/wikipedia-mcp-server/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 580 This file is loaded in full into every session.
When invoked 580 The same file — it is already loaded in full.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00580 $0.00580
Opus 5.5 $0.00232 $0.00232
Sonnet 5.5 $0.00116 $0.00116
Haiku 4.5 $0.00058 $0.00058

Measured 2mo ago against content hash 940667aa0cb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

wikipedia-mcp-server AGENTS.md scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL "https://wikipedia.builditwithai.xyz/install" | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL "https://wikipedia.builditwithai.xyz/install" | bash
AGENTS.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — Agent Operating Manual

For AI Agents (Claude Code, Cursor, Codex, Gemini, Antigravity, OpenCode, Aider) connecting to or executing wikipedia-mcp-server.


⚡ 1. Fast Install & Client Wiring (Start Here)

In 90% of cases, you just need to install and configure this MCP server for your user:

# 1-Line Universal Auto-Installer (Configures Claude Code, Cursor, Claude Desktop & Antigravity)
curl -fsSL "https://wikipedia.builditwithai.xyz/install" | bash

# Or launch directly via stdio:
uvx mcp-server-wikipedia
npx -y mcp-server-wikipedia

Client Config Snippet (mcp.json / claude_desktop_config.json)

{
  "mcpServers": {
    "wikipedia": {
      "command": "uvx",
      "args": ["mcp-server-wikipedia"]
    }
  }
}

📖 2. What This Repo Is

A surgical, token-efficient Wikipedia knowledge retrieval MCP server. It strips HTML boilerplate, navigation boxes, citations, and edit links to give you clean, high-signal Markdown.

Primary Tools Available:

  • get_summary: Fetch the concise lead summary paragraph of any topic (best for quick factual verification).
  • get_article: Fetch the complete article formatted in structured Markdown.
  • search: Search Wikipedia with autocomplete and ranking.
  • get_section: Retrieve a specific section by header name to save context window tokens.
  • get_links & get_categories: Traverse taxonomic relationships and citations.

👤 3. How to Handle the Human

  • Zero Credentials Needed: No API keys, tokens, or environment variables are required.
  • Fast Answers: Default to get_summary for quick answers. Only pull full articles (get_article) or sections (get_section) when deep domain knowledge is needed.

⚠️ 4. Quirks & API Landmines (Zero-Hallucination Rules)

  1. Token Efficiency: Full Wikipedia articles can be 10,000+ words. Do not call get_article indiscriminately. Use search → get_summary → get_section to conserve your context budget.
  2. Disambiguation Pages: If a query returns multiple topics (e.g. "Mercury"), the tool returns a structured list of disambiguation options. Pick the exact title corresponding to your user's context.
  3. Language Code: Default is en. Pass lang="es", lang="de", lang="fr", etc. for non-English queries.

Read the full file on GitHub · 59 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 59 lines · 580 tokens per session scan C 940667aa0cb4

Subscribe to this mod's changes

wikipedia-mcp-server AGENTS.md is an instructions file published in the GitHub repository surendranb/wikipedia-mcp-server (1 stars, last pushed 1mo ago), licensed MIT. It adds 580 tokens to every session, about $0.0023 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

wikipedia-mcp-server AGENTS.md compared with instructions from other repositories

wikipedia-mcp-server AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wikipedia-mcp-server AGENTS.mdsurendranb/wikipedia-mcp-serverInstructions file11mo agoMITC580Codex, OpenCode
plugin-files-modegriddynamics/rosettaInstructions file370yesterdayApache-2.0A236GitHub Copilot
md-feedback copilot-instructions.mdyeominux/md-feedbackInstructions file57mo agononeA309GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot