Skip to main content

MCP (Model Context Protocol) Server for Boring News API

Project description

Boring News MCP Client

A Python client library for interacting with the Boring News API using Mission Control Protocol (MCP).

Installation

pip install boring-news-mcp

Features

  • Fetch articles by date, category, or tags
  • Get articles mentioning specific people
  • Find similar articles based on text content
  • Get article groups and categories
  • Generate various types of news summaries:
    • Daily news (tech and culture focused)
    • Comprehensive daily summaries
    • News highlights
    • Cultural news focus

Quick Start

from boring_news_mcp import get_articles_by_date, daily_news_summary

# Get today's articles
articles = await get_articles_by_date()
print(articles)

# Get a comprehensive news summary for a specific date
summary = await daily_news_summary("2024-04-05")
print(summary)

API Reference

Articles

  • get_articles_by_date(date: Optional[str], category: Optional[str], tags: Optional[str]) -> str
  • get_articles_by_person(person: str) -> str
  • get_similar_articles(text: str) -> str
  • get_article_groups(date: Optional[str]) -> str
  • get_categories(date: Optional[str]) -> str

News Summaries

  • daily_news(target_date: str) -> str
  • daily_news_summary(target_date: str) -> str
  • daily_news_highlights(target_date: str) -> str
  • daily_cultural_news(target_date: str) -> str

Requirements

  • Python >= 3.8
  • httpx >= 0.25.0
  • fastmcp >= 0.1.0

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boring_news_mcp-0.2.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boring_news_mcp-0.2.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file boring_news_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: boring_news_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for boring_news_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 438fc6ca0e4e5125adf69eebcecd5e79faf12c621dda74791dd0fd96169d3c16
MD5 9b21c01fc7cb95a9c54254a91ff282dd
BLAKE2b-256 55af499f7bd1ec5b43658c8c8055e753b03e40841456988a4d58a6293a296142

See more details on using hashes here.

File details

Details for the file boring_news_mcp-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for boring_news_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c07da6c656d59e30f45dffa9add031394013548885ea770e145b294e2940e28
MD5 301f82985b5cf66906f2f9f23155b4e0
BLAKE2b-256 6731dd640c69caa8738bee7325dcc92918e17c04a230058e2a9cabc750aab59e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page