RSSidianのロゴ

RSSidian

コミュニティ
pedramamini

An MCP-capable intelligent RSS feed ingestion and summarization to markdown tool.

公開者pedramamini
リポジトリRSSidian
言語Python
フォーク
6
スター
36
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    RSSidianは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには36件のスターと6件のフォークがあります。

RSSidian

RSSidian is a powerful tool that bridges your RSS feed subscriptions with Obsidian, creating an automated pipeline for article content analysis and knowledge management.

Features

  • OPML Integration:
    • Automatically imports RSS subscriptions from OPML files
    • Direct feed addition via command line (no OPML required)
    • Smart feed management with mute/unmute capabilities
    • Easy subscription organization and article listing
  • RSS Feed Processing:
    • Retrieves and parses RSS feeds to discover new articles
    • Defaults to processing only recent articles (last 7 days)
    • Configurable lookback period for older content
  • Smart Storage:
    • SQLite3 database for article metadata and full content
    • Annoy vector index for fast semantic search
    • Vector embeddings for efficient content discovery
    • Feed statistics tracking (article count, quality ratings)
    • Configurable Obsidian markdown export
  • AI-Powered Analysis:
    • Uses OpenRouter to generate customized summaries and insights
    • Smart content quality assessment (S/A/B/C/D tier system)
    • Value analysis with numerical scoring (1-100)
    • Configurable quality thresholds for content filtering
    • Cost tracking for all AI API calls
  • Digest Generation:
    • Creates comprehensive digest notes in Obsidian
    • Collapses similar/overlapping stories for concise presentation
    • Organizes content by quality tier and relevance
    • Includes feed statistics and processing metrics
  • Natural Language Search:
    • Fast semantic search powered by Annoy library
    • Intelligent search that understands the meaning of your queries
    • Finds relevant content even when exact words don't match
    • Configurable relevance threshold for fine-tuning results
    • Results grouped by feed with relevant excerpts
  • Obsidian Integration:
    • Generates markdown notes with customizable templates
  • MCP Service API: -Exposes a Model Context Protocol service for AI agents

Installation

bash
# Clone the repository
git clone https://github.com/pedramamini/rssidian.git
cd rssidian

# Create and activate virtual environment using uv
uv venv
source .venv/bin/activate

# Install dependencies
uv pip install hatch
uv pip install -e .

# Or if you prefer using regular pip
python -m venv .venv
source .venv/bin/activate
pip install hatch
pip install -e .

Note: We use hatch as our build system. The -e flag installs the package in editable mode, which is recommended for development.

OSX XCode Issues

If you have build issues, try:

bash
sudo xcode-select --reset
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

sudo xcodebuild -license

export SDKROOT=$(xcrun --sdk macosx --show-sdk-path)
export CFLAGS="-isysroot $SDKROOT -I$SDKROOT/usr/include"
export CXXFLAGS="$CFLAGS"
export LDFLAGS="-L$SDKROOT/usr/lib"
export PATH="$SDKROOT/usr/bin:$PATH"

rm -rf ~/.cache/uv/builds-v0
uv pip install -e .

Configuration

Initialize configuration:

bash
rssidian init

This creates a config file at ~/.config/rssidian/config.toml

Configure settings:

toml
[obsidian]
# Path to your Obsidian vault
vault_path = "~/Documents/Obsidian"

# Template for generated digest note
# Available variables: {date_range}, {summary_items}, {value_analysis}, {feed_stats}
template = """{date_range}

# Feed Digest

## Top Stories
{summary_items}

## Feed Statistics
{feed_stats}
"""

[search]
# Search configuration options
# Length of context to include in search excerpts (in characters)
excerpt_length = 300

[openrouter]
# OpenRouter API configuration
# API key can also be set via RSSIDIAN_OPENROUTER_API_KEY environment variable
api_key = ""

# Model to use for topic detection and article processing
processing_model = "openai/gpt-4o"

# Sample size in characters for topic detection
topic_sample_size = 4096

# Model to use for summarization
# See https://openrouter.ai/docs for available models
model = "openai/gpt-4o"

# Prompt template for processing articles
# Available variables: {content}
prompt = """Your custom prompt template here.
Available variable: {content}"""

# Enable value analysis in output
# When enabled, each article will include a Value assessment
value_prompt_enabled = true

# Minimum quality tier to include in digest (S, A, B, C, D)
# Articles with lower quality tiers will be discarded
minimum_quality_tier = "B"

[annoy]
# Path to vector index file
index_path = "~/.config/rssidian/annoy.idx"

# Number of trees (more = better accuracy but slower build)
n_trees = 10

# Distance metric (angular = cosine similarity)
metric = "angular"

Usage

bash
# Initialize configuration
rssidian init

# Show configuration and system status
rssidian show-config    # Displays config, vector index status, and article stats

# Import and export feeds in OPML format
rssidian opml import path/to/subscriptions.opml           # Import feeds from OPML file
rssidian opml export path/to/export.opml                  # Export all feeds
rssidian opml export path/to/export.opml --exclude-muted  # Export only active feeds (exclude muted)

# Manage feed subscriptions
rssidian subscriptions add <feed_url>                      # Add a new RSS feed subscription
rssidian subscriptions add <feed_url> --title "My Feed"    # Add feed with custom title
rssidian subscriptions add <feed_url> --force              # Update existing feed metadata
rssidian subscriptions list                                # List all subscriptions (sorted alphabetically)
rssidian subscriptions list --sort=articles                # List all subscriptions (sorted by article count)
rssidian subscriptions list --sort=rating                  # List all subscriptions (sorted by quality rating)
rssidian subscriptions list --sort=updated                 # List all subscriptions (sorted by last update date)
rssidian subscriptions mute "Feed Title"                   # Mute a feed (skip during ingestion)
rssidian subscriptions unmute "Feed Title"                 # Unmute a feed

# Process new articles (last 7 days by default)
rssidian ingest

# Process articles from last 30 days with debug output
rssidian ingest --lookback 30 --debug

# Search through article content using natural language (default relevance)
rssidian search "impact of blockchain on cybersecurity"

# Search with custom relevance threshold
rssidian search "meditation techniques for beginners" --relevance 75

# Force refresh of search index before searching
rssidian search "blockchain" --refresh

# Start the MCP (Model Context Protocol) service
rssidian mcp --port 8080                # Start in HTTP mode on port 8080
rssidian mcp --stdio                   # Start in STDIO mode for Claude Desktop integration

Database Backup

RSSidian includes a robust backup system to help you safeguard your article database:

  • Automatic Timestamping: Backups are automatically named with YYYY-MM-DD format
  • Multiple Daily Backups: System automatically handles multiple backups on the same day by adding an index
  • Safe Restore Process: Creates temporary backup before restore in case of failures

Commands:

bash
# Create a new backup
rssidian backup create

# List all backups with sizes and dates
rssidian backup list

# Restore from a specific date
rssidian backup restore 2025-02-24

When restoring a backup, RSSidian will:

  • Show size difference between current and backup database
  • Display time difference between current and backup
  • Require explicit confirmation before proceeding
  • Create a temporary backup of your current database as a safety measure

System Status

Use the show-config command to view the current state of your RSSidian installation:

bash
rssidian show-config

This will display:

  • Vector index location and size
  • Number of total articles
  • Number of articles with embeddings
  • Other configuration settings

How It Works

Feed Management:

  • Imports feed URLs from OPML file
  • Exports feeds to OPML file (with option to include/exclude muted feeds)
  • Stores subscription data in SQLite database
  • Enables muting/unmuting of specific feeds

Content Processing:

  • Fetches articles from RSS feeds
  • Generates vector embeddings
  • Updates Annoy vector index
  • Stores in SQLite database

AI Processing:

  • Generates summaries via OpenRouter
  • Analyzes content value (S/A/B/C/D tiers)
  • Assigns quality scores (1-100)
  • Filters out low-value content (configurable threshold)

Knowledge Integration:

  • Creates digest notes in Obsidian
  • Organizes content by quality and relevance
  • Includes feed statistics and processing metrics
  • Customizable filename templates with date variables ({from_date}, {to_date}, {date_range}, {date}, {datetime})
  • Enables semantic search across all content

MCP (Model Context Protocol) Service API

RSSidian provides a Model Context Protocol (MCP) service that enables AI agents like Claude to interact with your RSS content. The MCP service exposes a RESTful API that allows for comprehensive access to your RSS-ingested content.

Starting the MCP Service

bash
# Start the MCP service on the default port (8080)
rssidian mcp

# Start the MCP service on a custom port
rssidian mcp --port 9000

API Endpoints

# Base URL
http://localhost:8080/api/v1

# Standard API Endpoints
GET  /search                       # Natural language search across articles
GET  /articles                     # List all processed articles
GET  /articles/:id                 # Get article details and content
GET  /subscriptions                # List all subscriptions with mute state
POST /subscriptions/:title/mute    # Mute a feed subscription
POST /subscriptions/:title/unmute  # Unmute a feed subscription

# MCP-specific Endpoints
GET  /mcp                          # Discovery endpoint with capabilities and endpoints
GET  /mcp/subscriptions            # List all feed subscriptions
GET  /mcp/articles                 # List articles with advanced filtering
GET  /mcp/articles/:id/content     # Get full article content
GET  /mcp/search                   # Semantic search with relevance control
GET  /mcp/digest                   # Get digest of high-value articles
GET  /mcp/feed-stats               # Get feed statistics
POST /mcp/query                    # Process natural language queries

Configuring Claude Desktop to Use RSSidian MCP

RSSidian MCP can be used with Claude Desktop in two ways: HTTP mode or STDIO mode.

Option 1: STDIO Mode (Recommended)

STDIO mode allows Claude Desktop to directly spawn and communicate with the RSSidian MCP server, without requiring a separate HTTP server to be running.

  1. Edit Claude Desktop's configuration file by clicking on the Claude icon in the menu bar, selecting "Settings", and then clicking "Edit Configuration File"

  2. Add a new entry to the mcpServers section of the JSON configuration:

    json
    {
      "globalShortcut": "Shift+Space",
      "mcpServers": {
        "rssidian": {
          "command": "/path/to/your/python",
          "args": [
            "-m",
            "rssidian",
            "mcp",
            "--stdio"
          ]
        }
        // other MCP servers...
      }
    }

    Replace /path/to/your/python with the actual path to your Python executable where RSSidian is installed. You can find this by running which python in the terminal where you normally run RSSidian.

  3. Save the configuration file

Option 2: HTTP Mode

In HTTP mode, you need to start the RSSidian MCP service separately and configure Claude Desktop to connect to it.

  1. Start the RSSidian MCP service manually:

    bash
    rssidian mcp --port 8080
  2. Edit Claude Desktop's configuration file by clicking on the Claude icon in the menu bar, selecting "Settings", and then clicking "Edit Configuration File"

  3. Add a new entry to the mcpServers section of the JSON configuration:

    json
    {
      "globalShortcut": "Shift+Space",
      "mcpServers": {
        "rssidian-http": {
          "command": "/path/to/your/python",
          "args": [
            "-m",
            "rssidian",
            "mcp",
            "--port",
            "8080"
          ]
        }
        // other MCP servers...
      }
    }
  4. Save the configuration file

  5. When chatting with Claude, you can now ask questions about your RSS content such as:

    • "What are the latest articles about AI?"
    • "Find articles about blockchain from the last week"
    • "Summarize the top quality articles from my tech feeds"
    • "What are the trending topics across my subscriptions?"

Claude will automatically use the RSSidian MCP service to access your RSS content and provide informed responses based on your feeds.

Requirements

  • Python 3.9+
  • OpenRouter API access
  • OPML file with RSS subscriptions
  • Obsidian vault (optional)

Development

bash
# Setup development environment
./scripts/setup_dev.sh

# Activate environment
source .venv/bin/activate

License

This project is open source and available under the MIT License.

インストール

TypingMind
{
  "mcpServers": {
    "rssidian": {
      "command": "rssidian",
      "args": [
        "mcp",
        "--stdio"
      ]
    }
  }
}

RSSidianのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度RSSidianに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

RSSidianをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. RSSidianのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "rssidian": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてRSSidianのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. RSSidianのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
RSSidianを使ってこのタスクを手伝ってもらえますか?
RSSidian
はい、読みました。
RSSidianで調べた結果をお伝えします。

よくある質問

RSSidian MCPサーバーは何に使いますか?

RSSidianは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでRSSidian MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでRSSidianを利用できます。

TypingMindでRSSidian MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。RSSidianを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

RSSidian MCPをTypingMindに接続するにはどうすればよいですか?

RSSidianはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでRSSidian MCPのどのようなツールを利用できますか?

RSSidianはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

RSSidian MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。RSSidianで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇