A personal news reader bringing people together to talk about the world. A new sound of an old instrument.


NewsBlur is a personal news reader with intelligence. It's an RSS feed reader and social news network that shows the original site while giving you powerful filtering tools. Train NewsBlur to learn what you like and dislike, and it will automatically highlight and hide stories.
NewsBlur is free to use at newsblur.com (up to 64 sites) with premium plans available, or you can self-host your own instance using this repository.
NewsBlur is a Django application (Python 3.7+) with a Backbone.js frontend. It uses:
This repository contains everything you need to run your own NewsBlur instance with complete control over your data.
Prerequisites: Docker and Docker Compose
git clone https://github.com/samuelclay/NewsBlur.git
cd NewsBlur
make
Visit https://localhost (type thisisunsafe to bypass the self-signed certificate warning).
Common commands:
- make - Start/update and apply migrations (run after git pull)
- make log - View web and node logs
- make logall - View all container logs
- make shell - Django shell with auto-imported models
- make bash - Bash shell in web container
- make test - Run tests
- make lint - Format code (isort, black, flake8)
- make down - Stop containers
Bootstrap discover feeds (without fetching):
docker exec -t newsblur_web python manage.py bootstrap_popular_feeds --skip-fetch
This creates PopularFeed records from the curated fixtures file without fetching any feed content. You can filter by type with --type youtube, --type reddit, --type podcast, --type newsletter, or --type rss.
Database access:
- make mongo - MongoDB shell
- make redis - Redis CLI
- make postgres - PostgreSQL shell
See AGENTS.md for detailed development guidelines.
To customize your NewsBlur installation, create newsblur_web/local_settings.py to override settings from docker_local_settings.py.
Settings for self-hosted installations:
NEWSBLUR_URL - Your domain (default: https://localhost). Also used for Archive browser extension OAuth.SESSION_COOKIE_DOMAIN - Cookie domain for authenticationAUTO_PREMIUM - Give new users premium features (default: True)AUTO_ENABLE_NEW_USERS - Auto-activate new accounts (default: True)ENFORCE_SIGNUP_CAPTCHA - Require captcha on signup (default: False)OPENAI_API_KEY - AI features and Discover for related storiesDAYS_OF_UNREAD - Story retention for premium users in days (default: 30)DAYS_OF_UNREAD_FREE - Story retention for free users in days (default: 14)HOMEPAGE_USERNAME - Username shown on homepage to unauthenticated users (default: "popular")Uncommon settings (for running full newsblur.com):
EMAIL_BACKEND - Email delivery methodSTRIPE_SECRET / STRIPE_PUBLISHABLE - Stripe payment processingPAYPAL_API_CLIENTID / PAYPAL_API_SECRET - PayPal payment processingS3_* settings - AWS S3 bucket configuration for backups, icons, avatarsFACEBOOK_APP_ID / TWITTER_CONSUMER_KEY / YOUTUBE_API_KEY - Social API keysSee the full list in docker_local_settings.py and settings.py.
NewsBlur supports Git worktrees for working on multiple features simultaneously, with each worktree running on its own set of ports. This is ideal when working with AI coding assistants like Claude Code.
Create and start a worktree:
git worktree add .worktree/feature-name
cd .worktree/feature-name
make worktree
Each worktree automatically gets unique ports based on its directory name:
- Main repo: https://localhost (ports 80/443)
- Worktree: https://localhost:XXXX (unique ports)
View your worktree's URLs:
make worktree
Follow the worktree logs:
make worktree-log
Close a worktree:
make worktree-close # Stops containers and removes worktree if no uncommitted changes
All worktrees share the same database services (PostgreSQL, MongoDB, Redis, Elasticsearch), so you can test multiple features without duplicating data.
NewsBlur includes an MCP server that lets AI agents (Claude Desktop, Claude Code, Cursor, or any MCP-compatible client) interact with your feeds, stories, and classifiers. Premium subscription required.
Claude Code:
claude mcp add --transport http newsblur https://newsblur.com/mcp/
Codex: Add to ~/.codex/config.toml:
[mcp_servers.newsblur]
url = "https://newsblur.com/mcp"
On first use, a browser window opens for you to log in to NewsBlur and authorize access.
Read your feeds - Get unread stories from any feed or folder, search across all subscriptions, retrieve saved stories by tag.
Take action - Mark stories as read, save stories with tags and notes, subscribe to new feeds, share stories to your blurblog.
Train intelligence - View and update classifiers to like/dislike authors, tags, titles, and feeds. Let an AI agent analyze your reading patterns and suggest training rules.
Discover - Find new feeds by topic, see trending feeds, find feeds similar to ones you already follow.
| Tool | Description |
|---|---|
newsblur_list_feeds |
All subscribed feeds with folders and unread counts |
newsblur_get_stories |
Load stories from feeds, folders, or all subscriptions |
newsblur_get_saved_stories |
Saved stories filtered by tag |
newsblur_search_stories |
Full-text search across feeds |
newsblur_get_original_text |
Fetch full article from source website |
newsblur_get_feed_info |
Detailed feed metadata and statistics |
newsblur_get_account_info |
User profile and subscription tier |
newsblur_mark_stories_read |
Mark stories read by hash, feed, or folder |
newsblur_save_story |
Save a story with tags, notes, and highlights |
newsblur_unsave_story |
Remove from saved stories |
newsblur_subscribe |
Subscribe to a feed by URL |
newsblur_unsubscribe |
Remove a feed subscription |
newsblur_organize_feed |
Move feeds between folders, rename feeds/folders |
newsblur_share_story |
Share to your blurblog with comments |
newsblur_train_classifier |
Train like/dislike on title, author, tag, or feed |
newsblur_get_classifiers |
View all trained intelligence classifiers |
newsblur_discover_feeds |
Search, similar, or trending feed discovery |
newsblur_manage_notifications |
View/configure per-feed notifications |
The MCP server includes prompt templates for common workflows:
If you self-host NewsBlur, the MCP server runs as a separate container on port 8099:
docker compose up newsblur_mcp
Point your MCP client to https://your-newsblur-domain/mcp/.
NewsBlur welcomes contributions! The development workflow:
make after git pull to apply migrationsAGENTS.md for code style and development conventionsAGENTS.md firstCreated by Samuel Clay • samuel@newsblur.com • @samuelclay
MIT License - see LICENSE file for details
$ claude mcp add NewsBlur \
-- python -m otcore.mcp_server <graph>