section_index
is the integer to pass to wikipediagetarticle for targeted reads
How to use it
section_index is exposed by the Wikipedia MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the section_index tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Wikipedia MCP Server
docker run --rm -p 3010:3010 wikipedia-mcp-serverOther tools in Wikipedia MCP Server (6)
Full article or a targeted section as clean plain text, with section markers preserved.
All language editions available for an article, with titles and URLs.
Table of contents with sectionindex values for targeted section reads.
Lead-section summary for any article — plain text, Wikidata QID, description, thumbnail URL, and page type.
Full-text search across Wikipedia, returning ranked results with plain-text snippets and page IDs.
Geotagged Wikipedia articles within a radius of a WGS 84 coordinate, sorted by distance.