Skip to main content

NewsBlur CLI and MCP server - manage feeds, stories, and classifiers

Project description

NewsBlur CLI

A command-line interface for NewsBlur, the visual intelligence RSS reader. Read feeds, manage stories, train classifiers, and more from your terminal.

Install

pip install newsblur-cli

Quick Start

# Log in (opens your browser for OAuth)
newsblur auth login

# Get your daily briefing
newsblur briefing

# List your feeds
newsblur feeds list

# Read stories from a feed
newsblur stories river --feed 42

# Search stories
newsblur stories search "machine learning"

# Save a story
newsblur save <story-hash>

# Mark stories as read
newsblur read <story-hash>

Commands

Command Description
newsblur auth login Log in via OAuth
newsblur auth logout Log out and remove credentials
newsblur auth status Show authentication status
newsblur briefing Daily briefing of top stories
newsblur stories river Read stories from feeds or folders
newsblur stories search Search across stories
newsblur feeds list List subscribed feeds
newsblur feeds add Subscribe to a new feed
newsblur feeds remove Unsubscribe from a feed
newsblur train show View intelligence classifiers
newsblur train set Train a classifier
newsblur discover Find new feeds by topic
newsblur account Show account info
newsblur save Save a story
newsblur read Mark a story as read

Self-Hosted

For self-hosted NewsBlur instances, pass --server:

newsblur auth login --server https://nb.example.com

The server URL is persisted to ~/.config/newsblur/config.json.

Output Formats

# Rich terminal output (default)
newsblur feeds list

# JSON output (for scripting)
newsblur --json feeds list

# Raw text output
newsblur --raw feeds list

MCP Server

This package also includes an MCP (Model Context Protocol) server for AI assistants. See NewsBlur MCP Server for details.

Requirements

  • Python 3.11+
  • A NewsBlur account (premium required for most features)

Links

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

newsblur_cli-0.2.0.tar.gz (98.2 kB view details)

Uploaded Source

Built Distribution

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

newsblur_cli-0.2.0-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: newsblur_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 98.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for newsblur_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 19b6a25d1e8e450390818197b77a41280954b29f7198115ce9b9034f28178072
MD5 9ff1c7904075e7f5ab5617237f289578
BLAKE2b-256 b1f74184f312bb787bcad04db80a58b411c100cfb8a45ad2c8d0fdaefdb92b59

See more details on using hashes here.

Provenance

The following attestation bundles were made for newsblur_cli-0.2.0.tar.gz:

Publisher: publish-cli.yml on samuelclay/NewsBlur

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: newsblur_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 46.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for newsblur_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f3ff062931c3a7a11d30e92fda5d68c236c9fbba9362563abaa0836bc16739c
MD5 628df3ec5465212c27b9faf600a91160
BLAKE2b-256 5f4a66071e53f243f4eb6b508ed9ae4d0f7c7be7c49eef620df3b8bf25a498e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for newsblur_cli-0.2.0-py3-none-any.whl:

Publisher: publish-cli.yml on samuelclay/NewsBlur

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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