HuffPost API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read HuffPost. No HuffPost API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/huffpost.md and add Bowmark's HuffPost MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-huffpost https://api.bowmark.ai/mcp/site/huffpostPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-huffpost": {
"url": "https://api.bowmark.ai/mcp/site/huffpost"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-huffpost","type":"http","url":"https://api.bowmark.ai/mcp/site/huffpost"}'Run this in a terminal.
codex mcp add bowmark-huffpost --url https://api.bowmark.ai/mcp/site/huffpostIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/huffpostIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/huffpostAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/huffpostFunctions
Open a function to see its parameters and run it with your own API key.
browseSectionLists the newest stories in one HuffPost section, such as politics, us-news, world-news, life, entertainment or voices, with paging.POST /v1/sites/huffpost/browseSection
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/huffpost/browseSection \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"section":"/news/politics"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.huffpost.browseSection({ section: "/news/politics" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.huffpost.browseSection({"section": "/news/politics"}))Responsereturns HuffpostStoryListinterface HuffpostStory { id: string; headline: string; url: string; // The story's entry address, for getArticle. publishedAt: string | null; authors: { name: string; slug: string }[]; } interface HuffpostStoryList { stories: HuffpostStory[]; total: number; // Stories on this page; HuffPost reports no overall total. page: number; }browseTopicLists the newest stories under one HuffPost topic, such as us-congress or extremism, with paging.POST /v1/sites/huffpost/browseTopic
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/huffpost/browseTopic \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"topic":"us-congress"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.huffpost.browseTopic({ topic: "us-congress" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.huffpost.browseTopic({"topic": "us-congress"}))Responsereturns HuffpostTopicPageinterface HuffpostStory { id: string; headline: string; url: string; // The story's entry address, for getArticle. publishedAt: string | null; authors: { name: string; slug: string }[]; } interface HuffpostTopicPage { name: string | null; stories: HuffpostStory[]; total: number; // Stories on this page; HuffPost reports no overall total. page: number; }getArticleReads one HuffPost story by its entry address or id: headline, dek, authors, publish time, section and the body text.POST /v1/sites/huffpost/getArticle
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/huffpost/getArticle \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"url":"<url>"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.huffpost.getArticle({ url: "<url>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.huffpost.getArticle({"url": "<url>"}))Responsereturns HuffpostArticleinterface HuffpostArticle { id: string; url: string; headline: string; description: string | null; section: string | null; publishedAt: string | null; modifiedAt: string | null; authors: string[]; keywords: string[]; body: string; // Paragraph text, blank-line separated. }getAuthorReads one HuffPost writer's page by slug (/author/<slug>): name, bio and the stories listed on it, with paging.POST /v1/sites/huffpost/getAuthor
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/huffpost/getAuthor \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"slug":"<slug>"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.huffpost.getAuthor({ slug: "<slug>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.huffpost.getAuthor({"slug": "<slug>"}))Responsereturns HuffpostAuthorPageinterface HuffpostStory { id: string; headline: string; url: string; // The story's entry address, for getArticle. publishedAt: string | null; authors: { name: string; slug: string }[]; } interface HuffpostAuthorPage { name: string | null; slug: string; stories: HuffpostStory[]; total: number; // Stories on this page; HuffPost reports no overall total. page: number; }getHoroscopeReads one sign's horoscope from /horoscopes/<sign>, for aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius…POST /v1/sites/huffpost/getHoroscope
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/huffpost/getHoroscope \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"sign":"aries"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.huffpost.getHoroscope({ sign: "aries" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.huffpost.getHoroscope({"sign": "aries"}))Responsereturns HuffpostHoroscopeinterface HuffpostHoroscope { sign: string; dateRange: string | null; element: string | null; planet: string | null; blurb: string | null; daily: { date: string; text: string }[]; weekly: { date: string; text: string } | null; monthly: { title: string; text: string } | null; }listHeadlinesLists the stories on HuffPost's home page, in the order the page shows them, with each one's headline, section and link.POST /v1/sites/huffpost/listHeadlines
Parameters
No parameters.
curl -X POST https://api.bowmark.ai/v1/sites/huffpost/listHeadlines \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.huffpost.listHeadlines();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.huffpost.listHeadlines())Responsereturns HuffpostStoryListinterface HuffpostStory { id: string; headline: string; url: string; // The story's entry address, for getArticle. publishedAt: string | null; authors: { name: string; slug: string }[]; } interface HuffpostStoryList { stories: HuffpostStory[]; total: number; // Stories on this page; HuffPost reports no overall total. page: number; }listNewslettersLists the newsletters HuffPost offers from /newsletters, with each one's name and description.POST /v1/sites/huffpost/listNewsletters
Parameters
No parameters.
curl -X POST https://api.bowmark.ai/v1/sites/huffpost/listNewsletters \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.huffpost.listNewsletters();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.huffpost.listNewsletters())Responsereturns HuffpostNewsletterListinterface HuffpostNewsletter { id: string; name: string; description: string | null; list: string; // The list key HuffPost's signup form posts. } interface HuffpostNewsletterList { newsletters: HuffpostNewsletter[]; total: number; }listSectionsLists HuffPost's sections (News, Life, Entertainment, Voices, Opinion, Video and the rest) with the path each one lives at, for browseSection.POST /v1/sites/huffpost/listSections
Parameters
No parameters.
curl -X POST https://api.bowmark.ai/v1/sites/huffpost/listSections \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.huffpost.listSections();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.huffpost.listSections())Responsereturns { sections: HuffpostSection[] }interface HuffpostSection { name: string; path: string; }searchArticlesSearches HuffPost's stories for a phrase, quoted or not, and lists the matches with their links and dates, with paging.POST /v1/sites/huffpost/searchArticles
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/huffpost/searchArticles \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"climate"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.huffpost.searchArticles({ query: "climate" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.huffpost.searchArticles({"query": "climate"}))Responsereturns HuffpostSearchResultinterface HuffpostStory { id: string; headline: string; url: string; // The story's entry address, for getArticle. publishedAt: string | null; authors: { name: string; slug: string }[]; } interface HuffpostSearchResult { stories: HuffpostStory[]; total: number; // Stories on this page (12 per page). page: number; totalMatches: number | null; // HuffPost's count of all matches. }