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.

Functions

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"}}'
    Sign in to run
    Responsereturns HuffpostStoryList
    interface 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"}}'
    Sign in to run
    Responsereturns HuffpostTopicPage
    interface 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>"}}'
    Sign in to run
    Responsereturns HuffpostArticle
    interface 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>"}}'
    Sign in to run
    Responsereturns HuffpostAuthorPage
    interface 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"}}'
    Sign in to run
    Responsereturns HuffpostHoroscope
    interface 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 '{}'
    Sign in to run
    Responsereturns HuffpostStoryList
    interface 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 '{}'
    Sign in to run
    Responsereturns HuffpostNewsletterList
    interface 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 '{}'
    Sign in to run
    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"}}'
    Sign in to run
    Responsereturns HuffpostSearchResult
    interface 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.
    }