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]) -> strget_articles_by_person(person: str) -> strget_similar_articles(text: str) -> strget_article_groups(date: Optional[str]) -> strget_categories(date: Optional[str]) -> str
News Summaries
daily_news(target_date: str) -> strdaily_news_summary(target_date: str) -> strdaily_news_highlights(target_date: str) -> strdaily_cultural_news(target_date: str) -> str
Requirements
- Python >= 3.8
- httpx >= 0.25.0
- fastmcp >= 0.1.0
License
MIT License
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
438fc6ca0e4e5125adf69eebcecd5e79faf12c621dda74791dd0fd96169d3c16
|
|
| MD5 |
9b21c01fc7cb95a9c54254a91ff282dd
|
|
| BLAKE2b-256 |
55af499f7bd1ec5b43658c8c8055e753b03e40841456988a4d58a6293a296142
|
File details
Details for the file boring_news_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: boring_news_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c07da6c656d59e30f45dffa9add031394013548885ea770e145b294e2940e28
|
|
| MD5 |
301f82985b5cf66906f2f9f23155b4e0
|
|
| BLAKE2b-256 |
6731dd640c69caa8738bee7325dcc92918e17c04a230058e2a9cabc750aab59e
|