wikipedia_get_sections
Table of contents with sectionindex values for targeted section reads.
How to use it
wikipedia_get_sections is exposed by the Wikipedia MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the wikipedia_get_sections 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)
is the integer to pass to wikipediagetarticle for targeted reads
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.
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.