RSS订阅爬虫
STDIO抓取RSS源并与LLM共享的服务器
抓取RSS源并与LLM共享的服务器
An MCP (Message Chain Protocol) server that fetches RSS feeds and shares them with LLMs.
claude_desktop_config.json
file based on claude_desktop_config.json.example
with your configuration{ "mcpServers": { "rss-crawler": { "command": "/path/to/bun", "args": ["run", "/path/to/mcp-rss-crawler/apps/mcp-server/src/mcp-cli.ts"], "cwd": "/path/to/mcp-rss-crawler", "env": { "PORT": "5556", "DB_DIR": "/path/to/mcp-rss-crawler", "FIRECRAWL_API_KEY": "fc-<YOUR_FIRECRAWL_API_KEY>" } } } }
bun install
The server implements the Message Chain Protocol (MCP) which allows LLMs to access your latest RSS feeds. The MCP endpoint accepts POST requests with a JSON body containing a messages array and returns a response with the latest feed items.
Example request:
{ "messages": [ { "role": "user", "content": "What are the latest news from my RSS feeds?" } ] }
Example response:
{ "messages": [ { "role": "assistant", "content": "Here are the latest articles from your RSS feeds:", "name": "rss-mcp" }, { "role": "tool", "content": "[{\"title\":\"Article Title\",\"summary\":\"Article summary...\",\"published\":\"2025-03-16T04:30:00.000Z\",\"origin\":\"Feed Name\",\"link\":\"https://example.com/article\"}]", "name": "rss-feeds" } ] }
The server can be configured through environment variables or a .env
file:
PORT
- Server port (default: 5556)FIRECRAWL_API_KEY
- Firecrawl API keyDB_DIR
- Database directory (default: ~/.mcp-rss-crawler
)DEBUG=mcp-rss:*
environment variable