Wikipedia MCP server for AI agents
Let Claude, ChatGPT or your own agent read and act on Wikipedia: 40 typed functions through one MCP server. No Wikipedia API key needed.
- Site
- wikipedia.org
- Functions
- 40
- Sign-in
- For account actions
- Works with
- MCP, HTTP, Node, Python
Connect
An MCP server for Wikipedia alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/wikipediaOne MCP server for Wikipedia and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes. Functions that need a login use the person's own account: how sign-in works.
Functions
Open a function to see its arguments, what it returns and how to call it.
compareRevisionsThe diff between two revisions of an article.Arguments
Name Type Required fromRevisionIdnumberYes toRevisionIdnumberYes options{ lang?: string }No Returns
WikipediaRevisionComparisoninterface WikipediaRevisionDiffLine { type: number; // MediaWiki's own line-diff code: 0 unchanged (context), 3 changed (see highlightRanges); 1/2 (pure add/remove) pass through unchanged lineNumber: number; text: string; offset: { from: number | null; to: number | null }; highlightRanges?: { start: number; length: number; type: number }[]; } interface WikipediaRevisionComparison { from: number; to: number; diff: WikipediaRevisionDiffLine[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/compareRevisionsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.compareRevisions(1369844273, 1374050869);import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.compareRevisions(1369844273, 1374050869))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/compareRevisions \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"fromRevisionId":1369844273,"toRevisionId":1374050869}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.compareRevisions(1369844273, 1374050869);getArticleThe whole article as an agent wants to read it: title, Wikipedia's own short description, the full body as plain text with the markup gone, the…Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string }No Returns
WikipediaArticleinterface WikipediaArticle { id: number; title: string; url: string; description: string; extract: string; thumbnail?: { url: string; width: number; height: number; }; coordinates?: { lat: number; lon: number; }; revisionId: number; lastModified: string; length: number; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getArticleCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getArticle("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getArticle("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getArticle \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getArticle("Espresso");getArticleHtmlThe article's rendered HTML.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string }No Returns
WikipediaArticleHtmlinterface WikipediaArticleHtml { title: string; url: string; html: string; revisionId: number; lastModified: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getArticleHtmlCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getArticleHtml("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getArticleHtml("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getArticleHtml \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getArticleHtml("Espresso");getCurrentUserWho the caller is signed in as on Wikipedia.Arguments
None.
Returns
WikipediaCurrentUserinterface WikipediaCurrentUser { id: number; name: string; editCount: number; registrationTime: string; isBlocked: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getCurrentUserCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getCurrentUser();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getCurrentUser())curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getCurrentUser \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getCurrentUser();getFeaturedContentWikipedia's own front page for a given date, as data.Arguments
Name Type Required options{ date?: string; lang?: string }No Returns
{ content: WikipediaFeaturedContent; warnings: string[] }interface WikipediaFeaturedArticle { title: string; description: string | null; extract: string; url: string; thumbnailUrl: string | null; } interface WikipediaMostReadArticle { title: string; url: string; views: number; rank: number; } interface WikipediaFeaturedImage { title: string; imageUrl: string; thumbnailUrl: string | null; artist: string | null; license: string | null; description: string | null; } interface WikipediaFeaturedNews { story: string; links: { title: string; url: string }[]; } interface WikipediaFeaturedContent { date: string; featuredArticle: WikipediaFeaturedArticle | null; mostRead: WikipediaMostReadArticle[]; image: WikipediaFeaturedImage | null; news: WikipediaFeaturedNews[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getFeaturedContentCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getFeaturedContent();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getFeaturedContent())curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getFeaturedContent \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getFeaturedContent();getImageOne media file's real details.Arguments
Name Type Required fileTitlestringYes options{ lang?: string }No Returns
WikipediaImageinterface WikipediaImage { title: string; url: string; width: number; height: number; mime: string; descriptionUrl: string; license?: string; attribution?: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getImageCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getImage("File:Espresso.jpg");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getImage("File:Espresso.jpg"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getImage \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"fileTitle":"File:Espresso.jpg"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getImage("File:Espresso.jpg");getInfoboxThe grey fact box at the top right of an article, as key/value pairs a caller can actually use.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string }No Returns
WikipediaInfoboxinterface WikipediaInfobox { type: string; /** Raw wikitext per field, as editors wrote it. */ fields: Record<string, string>; /** The same fields as plain readable text (links, refs, comments and common templates resolved; empty values dropped). */ facts: Record<string, string>; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getInfoboxCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getInfobox("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getInfobox("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getInfobox \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getInfobox("Espresso");getOnThisDayWhat happened on this calendar day in history, according to Wikipedia.Arguments
Name Type Required options{ type?: string; date?: string; lang?: string }No Returns
{ onThisDay: WikipediaOnThisDay; warnings: string[] }interface WikipediaOnThisDayItem { year: string; text: string; pages: { title: string; url: string }[]; } interface WikipediaOnThisDay { date: string; type: "all" | "births" | "deaths" | "events" | "holidays"; items: WikipediaOnThisDayItem[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getOnThisDayCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getOnThisDay();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getOnThisDay())curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getOnThisDay \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getOnThisDay();getPageviewsHow many people actually read an article, per day, over a date range.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string; from?: string; to?: string }No Returns
{ pageviews: WikipediaPageviews[]; warnings: string[] }interface WikipediaPageviews { date: string; views: number; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getPageviewsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getPageviews("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getPageviews("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getPageviews \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getPageviews("Espresso");getRandomArticleA genuinely random Wikipedia article.Arguments
Name Type Required options{ lang?: string }No Returns
{ randomArticle: WikipediaRandomArticle; warnings: string[] }interface WikipediaRandomArticle { title: string; url: string; description: string; extract: string; thumbnail?: { url: string; width: number; height: number; }; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getRandomArticleCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getRandomArticle();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getRandomArticle())curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getRandomArticle \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getRandomArticle();getRevisionOne specific revision of an article by id.Arguments
Name Type Required revisionIdnumberYes options{ lang?: string }No Returns
WikipediaRevisionDetailinterface WikipediaRevisionDetail { id: number; page: { id: number; title: string }; timestamp: string; user: string; comment: string; size: number; delta: number | null; minor: boolean; source: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getRevisionCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getRevision(1374050869);import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getRevision(1374050869))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getRevision \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"revisionId":1374050869}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getRevision(1374050869);getSectionOne named or numbered section of an article as plain text, without downloading the rest of the page.Arguments
Name Type Required titleOrUrlstringYes sectionIndexstringYes options{ lang?: string }No Returns
WikipediaSectionContentinterface WikipediaSectionContent { title: string; html: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getSectionCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getSection("Espresso", "0");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getSection("Espresso", "0"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getSection \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso","sectionIndex":"0"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getSection("Espresso", "0");getSectionsA Wikipedia article's sections (table of contents, outline, headings): The article's table of contents.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string }No Returns
{ sections: WikipediaSection[]; warnings: string[] }interface WikipediaSection { index: string; title: string; level: string; // the site's own labels, read the values off a result, never guess one from prose line: string; anchor: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getSectionsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getSections("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getSections("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getSections \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getSections("Espresso");getSummaryThe lead of an article and nothing else.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string }No Returns
WikipediaSummaryinterface WikipediaSummary { id: number; title: string; url: string; description: string; extract: string; extractHtml: string; wikidataId?: string; thumbnail?: { url: string; width: number; height: number; }; originalImage?: { url: string; width: number; height: number; }; coordinates?: { lat: number; lon: number; }; revisionId: number; lastModified: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getSummaryCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getSummary("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getSummary("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getSummary \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getSummary("Espresso");getUserA Wikipedia editor's public record.Arguments
Name Type Required usernamesstring | string[]Yes options{ lang?: string }No Returns
{ users: WikipediaUser[]; warnings: string[] }interface WikipediaUser { name: string; editCount: number; registrationDate: string; groups: string[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getUserCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getUser("Jimbo Wales");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getUser("Jimbo Wales"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getUser \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"usernames":"Jimbo Wales"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getUser("Jimbo Wales");getWikitextThe article's raw wikitext source.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string }No Returns
WikipediaWikitextinterface WikipediaWikitext { title: string; wikitext: string; revisionId: number; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/getWikitextCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.getWikitext("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.getWikitext("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/getWikitext \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.getWikitext("Espresso");listBacklinksWhat links here on Wikipedia (backlinks, incoming links): What links HERE.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string; limit?: number }No Returns
{ backlinks: WikipediaBacklink[]; warnings: string[] }interface WikipediaBacklink { title: string; url: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/listBacklinksCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.listBacklinks("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.listBacklinks("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/listBacklinks \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.listBacklinks("Espresso");listCategoriesThe Wikipedia categories an article belongs to: The categories an article belongs to.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string; limit?: number }No Returns
{ categories: WikipediaCategory[]; warnings: string[] }interface WikipediaCategory { title: string; url: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/listCategoriesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.listCategories("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.listCategories("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/listCategories \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.listCategories("Espresso");listCategoryMembersEvery article in a category.Arguments
Name Type Required categorystringYes options{ lang?: string; limit?: number }No Returns
{ members: WikipediaCategoryMember[]; warnings: string[] }interface WikipediaCategoryMember { title: string; url: string; type: "page" | "subcategory" | "file"; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/listCategoryMembersCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.listCategoryMembers("Coffee preparation");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.listCategoryMembers("Coffee preparation"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/listCategoryMembers \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"category":"Coffee preparation"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.listCategoryMembers("Coffee preparation");listExternalLinksEvery link OFF Wikipedia from one article.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string; limit?: number }No Returns
{ externalLinks: WikipediaExternalLink[]; warnings: string[] }interface WikipediaExternalLink { url: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/listExternalLinksCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.listExternalLinks("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.listExternalLinks("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/listExternalLinks \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.listExternalLinks("Espresso");listImagesEvery image, diagram, audio clip and video in an article, in page order.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string; limit?: number }No Returns
{ images: WikipediaMediaItem[]; warnings: string[] }interface WikipediaMediaItem { title: string; type: string; section: number; leadImage: boolean; caption: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/listImagesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.listImages("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.listImages("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/listImages \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.listImages("Espresso");listLanguagesWhat this article is called in every other language Wikipedia has it in, with the url of each.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string; limit?: number }No Returns
{ languages: WikipediaLanguageLink[]; warnings: string[] }interface WikipediaLanguageLink { lang: string; title: string; url: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/listLanguagesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.listLanguages("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.listLanguages("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/listLanguages \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.listLanguages("Espresso");listLinksEvery other Wikipedia article this one links to, by title and url.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string; limit?: number }No Returns
{ links: WikipediaLink[]; warnings: string[] }interface WikipediaLink { title: string; url: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/listLinksCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.listLinks("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.listLinks("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/listLinks \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.listLinks("Espresso");listMostViewedWhat Wikipedia's readers looked at most.Arguments
Name Type Required options{ lang?: string; limit?: number; namespace?: number; date?: string }No Returns
{ articles: WikipediaMostViewedArticle[]; warnings: string[] }interface WikipediaMostViewedArticle { title: string; url: string; views: number; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/listMostViewedCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.listMostViewed();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.listMostViewed())curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/listMostViewed \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.listMostViewed();listNotificationsThe caller's Wikipedia notifications.Arguments
None.
Returns
{ notifications: WikipediaNotification[]; warnings: string[] }interface WikipediaNotification { id: number; type: string; category: string; section: string; timestamp: string; read: boolean; title?: string; titleUrl?: string; agent?: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/listNotificationsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.listNotifications();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.listNotifications())curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/listNotifications \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.listNotifications();listRecentChangesWhat is being edited on Wikipedia right now.Arguments
Name Type Required options{ lang?: string; limit?: number; namespace?: number; anonymousOnly?: boolean }No Returns
{ changes: WikipediaRecentChange[]; warnings: string[] }interface WikipediaRecentChange { title: string; pageId: number; revisionId: number; oldRevisionId: number; namespace: number; user: string; anonymous: boolean; // a classic IP editor or a temp-account placeholder, the site's own answer, never inferred from the username timestamp: string; comment: string; minor: boolean; isNew: boolean; bot: boolean; oldLength: number; newLength: number; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/listRecentChangesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.listRecentChanges({ namespace: 0, limit: 3 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.listRecentChanges({"namespace": 0, "limit": 3}))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/listRecentChanges \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"options":{"namespace":0,"limit":3}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.listRecentChanges({ namespace: 0, limit: 3 });listRelatedArticles about things like this one.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string; limit?: number }No Returns
{ results: WikipediaSearchResult[]; warnings: string[] }interface WikipediaSearchResult { id: number; title: string; url: string; excerpt: string; description: string; thumbnail?: { url: string; width: number; height: number; }; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/listRelatedCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.listRelated("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.listRelated("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/listRelated \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.listRelated("Espresso");listRevisionsThe Wikipedia edit history (revision history, page history) of an article: An article's edit history.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string; limit?: number }No Returns
{ revisions: WikipediaRevision[]; warnings: string[] }interface WikipediaRevision { id: number; timestamp: string; user: string; comment: string; size: number; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/listRevisionsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.listRevisions("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.listRevisions("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/listRevisions \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.listRevisions("Espresso");listUserContributionsEvery edit one named editor has made, newest first.Arguments
Name Type Required usernamestringYes options{ lang?: string; limit?: number }No Returns
{ contributions: WikipediaUserContribution[]; warnings: string[] }interface WikipediaUserContribution { title: string; url: string; timestamp: string; comment: string; revisionId: number; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/listUserContributionsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.listUserContributions("Jimbo Wales", { limit: 3 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.listUserContributions("Jimbo Wales", {"limit": 3}))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/listUserContributions \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"username":"Jimbo Wales","options":{"limit":3}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.listUserContributions("Jimbo Wales", { limit: 3 });listWatchlistThe caller's own watchlist.Arguments
None.
Returns
{ items: WikipediaWatchlistItem[]; warnings: string[] }interface WikipediaWatchlistItem { title: string; pageId: number; revisionId: number; oldRevisionId: number; namespace: number; user: string; anonymous: boolean; timestamp: string; comment: string; minor: boolean; isNew: boolean; bot: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/listWatchlistCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.listWatchlist();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.listWatchlist())curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/listWatchlist \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.listWatchlist();searchSearch the encyclopedia the way a person types into Wikipedia's search box, and get back the articles it offers: page id, title, url, the site's own…Arguments
Name Type Required querystringYes options{ lang?: string; limit?: number }No Returns
{ results: WikipediaSearchResult[]; warnings: string[] }interface WikipediaSearchResult { id: number; title: string; url: string; excerpt: string; description: string; thumbnail?: { url: string; width: number; height: number; }; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/searchCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.search("espresso", { limit: 3 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.search("espresso", {"limit": 3}))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/search \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"espresso","options":{"limit":3}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.search("espresso", { limit: 3 });searchNearbyWikipedia articles about places near a point.Arguments
Name Type Required latnumberYes lonnumberYes options{ lang?: string; radius?: number; limit?: number; namespace?: number }No Returns
{ places: WikipediaNearbyPlace[]; warnings: string[] }interface WikipediaNearbyPlace { title: string; pageId: number; namespace: number; lat: number; lon: number; distance: number; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/searchNearbyCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.searchNearby(48.8583, 2.2944, { limit: 3 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.searchNearby(48.8583, 2.2944, {"limit": 3}))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/searchNearby \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"lat":48.8583,"lon":2.2944,"options":{"limit":3}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.searchNearby(48.8583, 2.2944, { limit: 3 });suggestTitlesAutocomplete a partial title the way Wikipedia's search box does as you type.Arguments
Name Type Required querystringYes options{ lang?: string; limit?: number }No Returns
{ suggestions: WikipediaTitleSuggestion[]; warnings: string[] }interface WikipediaTitleSuggestion { id: number; title: string; url: string; description: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/suggestTitlesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.suggestTitles("espre", { limit: 3 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.suggestTitles("espre", {"limit": 3}))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/suggestTitles \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"espre","options":{"limit":3}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.suggestTitles("espre", { limit: 3 });thankUserSend another editor Wikipedia's built-in "thanks" for a specific edit.Arguments
Name Type Required revisionIdnumberYes options{ lang?: string }No Returns
{ thanked: true; revisionId: number; warnings: string[] }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/thankUserCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.thankUser(1);import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.thankUser(1))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/thankUser \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"revisionId":1}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.thankUser(1);undoRevisionUndo one edit to an article.Arguments
Name Type Required titleOrUrlstringYes revisionIdnumberYes options{ lang?: string; summary?: string }No Returns
{ undone: true; title: string; url: string; revisionId: number; undidRevisionId: number; warnings: string[] }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/undoRevisionCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.undoRevision("Espresso", 1);import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.undoRevision("Espresso", 1))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/undoRevision \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso","revisionId":1}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.undoRevision("Espresso", 1);unwatchPageRemove an article from the caller's watchlist.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string }No Returns
{ unwatched: true; title: string; url: string; warnings: string[] }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/unwatchPageCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.unwatchPage("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.unwatchPage("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/unwatchPage \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.unwatchPage("Espresso");watchPageAdd an article to the caller's watchlist so they are told when it changes.Arguments
Name Type Required titleOrUrlstringYes options{ lang?: string }No Returns
{ watched: true; title: string; url: string; expiry?: string; warnings: string[] }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/watchPageCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.watchPage("Espresso");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.watchPage("Espresso"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/watchPage \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"Espresso"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.watchPage("Espresso");
createPageCreate an article that does not exist yet, under the caller's account.Arguments
Name Type Required titlestringYes textstringYes options{ lang?: string; summary?: string }No Returns
{ created: true; title: string; url: string; revisionId: number; newTimestamp?: string; warnings: string[] }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/createPageCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.createPage("<title>", "<text>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.createPage("<title>", "<text>"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/createPage \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"title":"<title>","text":"<text>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.createPage("<title>", "<text>");editPageChange an article, replace a page or one of its sections with new wikitext, under the caller's own account and with their own edit summary.Arguments
Name Type Required titleOrUrlstringYes textstringYes options{ lang?: string; summary?: string; section?: string | number; minor?: boolean }No Returns
{ edited: true; title: string; url: string; revisionId: number; oldRevisionId?: number; newTimestamp?: string; warnings: string[] }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/editPageCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.editPage("<titleOrUrl>", "<text>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.editPage("<titleOrUrl>", "<text>"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/editPage \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"<titleOrUrl>","text":"<text>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.editPage("<titleOrUrl>", "<text>");postTalkMessagePost a message to an article's talk page or to a user's talk page, under the caller's own account.Arguments
Name Type Required titleOrUrlstringYes messagestringYes options{ lang?: string; subject?: string }No Returns
{ posted: true; title: string; url: string; revisionId: number; warnings: string[] }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/wikipedia/postTalkMessageCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wikipedia.postTalkMessage("<titleOrUrl>", "<message>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wikipedia.postTalkMessage("<titleOrUrl>", "<message>"))curl -X POST https://api.bowmark.ai/v1/sites/wikipedia/postTalkMessage \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"titleOrUrl":"<titleOrUrl>","message":"<message>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.wikipedia.postTalkMessage("<titleOrUrl>", "<message>");
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/wikipedia/<function> - OpenAPI
/v1/sites/wikipedia/openapi.json