Retrieves articles from Dev.to based on tags and search queries, enabling access to community-driven technical content.
Uses Gemini API to summarize articles from URLs and generate summaries of technical content from various sources.
Synchronizes and saves technical articles to Notion databases, with support for batch operations, field mapping, and article deduplication using SimHash.
Fetches popular articles and rankings from Qiita, a Japanese technical knowledge sharing platform, with support for article summarization using Gemini AI.
📰 tech-collector-mcp
Qiita × MCP × Gemini — AI クライアントから呼び出せる “技術記事収集・要約 & Notion 連携” プロトタイプ
✨ What’s this?
tech-collector-mcp は MCP (Model Context Protocol) を使い、複数ソース(Qiita/Dev.to/NewsAPI/Hacker News)から技術記事を一括取得し、Gemini API で要約、Notion データベースへ自動同期まで行う CLI ベースの実験プロジェクト です。
AI-Powered Prototyping: ChatGPT や Claude を活用した迅速なプロトタイピングを実施しています。
機能 | 説明 |
Zero‑Server | JSON‑RPC over STDIO — Web サーバー不要 |
Multi‑Source | Qiita/Dev.to/NewsAPI.org/Hacker News API を横断ラップ |
Summarize | URL 要約 ( |
Aggregate | 全ソース取得 ( |
Recommend | 読了 × 評価 × タグベースの簡易レコメンド ( |
Easy Integration | Claude Desktop などで関数呼び出し感覚で利用可能 |
Prototyping Phase 🛠️ スキーマ & プロンプトは随時更新中。
🔧 Requirements
Node.js 18.x 以上
npm または yarn
.envは.env.exampleを参照して作成
Dev.to/Hacker News は API キー不要です。
📦 Installation / Quick Start
🛠️ Using with Claude Desktop
settings.json に MCP サーバーを登録:
起動後、チャット例:
📂 Project Structure
📖 JSON‑RPC Overview
Method | 説明 | Params | Returns |
| MCP ハンドシェイク | — |
|
| 利用可能ツール一覧 | — |
|
| ツール実行 |
| 実行結果 ( |
Main Tools (抜粋)
getQiitaRanking— Qiita 人気記事ランキング取得getDevtoArticles— Dev.to のタグ/検索記事取得getNewsApiArticles— NewsAPI.org からテックニュース取得getHackerNewsTopStories— Hacker News トップストーリー取得fetchAllArticles— 全ソースまとめて最新取得summarizeUrlArticle— 任意 URL 記事を Gemini で要約syncArticleToNotion— 記事を Notion に保存aggregateArticles— 全ソース取得 →Notion 一括同期recommendArticles— 読了 × 評価 × タグで簡易推薦
詳細は toolDefinitions.*.js を参照。
🩹 Troubleshooting
エラー/症状 | 解決策 |
Unsupported content type: json | MCP クライアントが |
401 Unauthorized |
|
ツールが呼ばれない |
|
🗺 Roadmap
Phase 1: Qiita ランキング+要約 (✅)
Phase 2: マルチソース収集 (✅)
Phase 3: Notion 連携 & パーソナライズ推薦 (✅)
Phase 4: Slack 連携
Phase 5: 定期バッチ