Qiita MCP Server
The Qiita MCP Server is a Model Context Protocol server that provides comprehensive access to Qiita and Qiita Team articles through various search and retrieval tools.
Core Capabilities:
Search articles - Search by query string or retrieve recent articles, with pagination support (1-100 items per page)
Get specific articles - Retrieve detailed information about an article using its ID
Browse by tags - Find articles with specific tags (e.g., 'Python', 'JavaScript') with pagination
Browse by user - Get all articles written by a specific user with pagination
Explore tags - Retrieve a list of tags used in Qiita, sortable by usage count or name
Read comments - Access comments posted on a specific article
View user bookmarks - Retrieve articles that a user has stocked (bookmarked) with pagination
Additional Features:
Supports both public Qiita and private Qiita Team instances
Optional authentication with access tokens for higher rate limits
Type-safe validation using Zod
SSE (Server-Sent Events) communication for integration with Claude Desktop
Provides tools for searching and viewing Qiita articles, retrieving articles by tag or user, managing bookmarked articles (stocks), fetching comments, and accessing Qiita Team content.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Qiita MCP Server search for articles about TypeScript with the latest 10 results"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Qiita MCP Server
Qiita および Qiita Team の記事検索・閲覧機能を提供する MCP (Model Context Protocol) サーバー。
特徴
📖 記事の検索・閲覧
🏷️ タグによる絞り込み
👤 ユーザー別記事取得
💬 コメント取得
⭐ ストック(ブックマーク)記事の取得
🔒 Qiita Team 対応
⚡ Hono による高速なルーティング
✅ Zod による型安全なバリデーション
Related MCP server: Qiita API MCP Server
技術スタック
Hono: 軽量で高速な Web フレームワーク
Zod: TypeScript ファーストなスキーマバリデーション
MCP SDK: Model Context Protocol の公式 SDK
TypeScript: 型安全な開発
仕様書
詳細な仕様は docs/specification.md を参照してください。
インストール
npm install
npm run build起動
サーバーの起動
npm startデフォルトでは http://localhost:3000 で起動します。
環境変数
ポート設定(オプション)
export PORT=3000Qiita アクセストークン(オプション)
認証なしでも公開記事は閲覧できますが、レート制限が厳しくなります。 アクセストークンを設定することを推奨します。
export QIITA_ACCESS_TOKEN=your_access_token_hereアクセストークンは Qiita の設定ページ で取得できます。
Qiita Team(オプション)
Qiita Team を使用する場合は、チーム名を設定します。
export QIITA_TEAM=your_team_name環境変数を設定して起動
QIITA_ACCESS_TOKEN=your_token PORT=3000 npm startClaude Desktop での設定
本サーバーは SSE (Server-Sent Events) 方式で動作します。
Claude Desktop の設定ファイルに以下を追加します。
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"qiita": {
"url": "http://localhost:3000/sse"
}
}
}重要: Claude Desktop から接続する前に、サーバーを起動しておく必要があります。
サーバーを起動してから Claude Desktop を起動、またはリロードしてください。
環境変数付きで起動する場合
別のターミナルウィンドウで以下のコマンドを実行してサーバーを起動します:
QIITA_ACCESS_TOKEN=your_token npm startQiita Team を使用する場合:
QIITA_ACCESS_TOKEN=your_token QIITA_TEAM=your_team_name npm start提供されるツール
search_items
記事を検索します。
パラメータ:
query(string, optional): 検索クエリpage(number, optional): ページ番号(1-100、デフォルト: 1)per_page(number, optional): 1ページあたりの件数(1-100、デフォルト: 20)
使用例:
Qiita で「MCP Server」を検索してくださいget_item
特定の記事を取得します。
パラメータ:
item_id(string, required): 記事ID
使用例:
記事 ID が "abc123" の記事を表示してくださいget_items_by_tag
特定のタグが付いた記事を取得します。
パラメータ:
tag_id(string, required): タグIDpage(number, optional): ページ番号per_page(number, optional): 1ページあたりの件数
使用例:
Python タグの記事を表示してくださいget_items_by_user
特定のユーザーの記事を取得します。
パラメータ:
user_id(string, required): ユーザーIDpage(number, optional): ページ番号per_page(number, optional): 1ページあたりの件数
使用例:
ユーザー "example_user" の記事を表示してくださいget_tags
タグ一覧を取得します。
パラメータ:
page(number, optional): ページ番号per_page(number, optional): 1ページあたりの件数sort(string, optional): ソート順("count" または "name")
使用例:
人気のタグ一覧を表示してくださいget_item_comments
記事のコメントを取得します。
パラメータ:
item_id(string, required): 記事ID
使用例:
記事 "abc123" のコメントを表示してくださいget_user_stocks
ユーザーがストックした記事を取得します。
パラメータ:
user_id(string, required): ユーザーIDpage(number, optional): ページ番号per_page(number, optional): 1ページあたりの件数
使用例:
ユーザー "example_user" がストックした記事を表示してください開発
# ビルド
npm run build
# 開発モード(ウォッチモード)
npm run dev
# 起動
npm startライセンス
MIT
参考
Available Tools
7 toolsget_itemB
Get a specific Qiita article by its ID.
Inputs: item_id (required).
get_item_commentsB
Get comments on a specific article.
Inputs: item_id (required).
get_items_by_tagC
Get Qiita articles with a specific tag.
Inputs: tag_id (required), page, per_page.
get_items_by_userC
Get articles written by a specific user.
Inputs: user_id (required), page, per_page.
get_tagsC
Get a list of tags used in Qiita.
Inputs: page, per_page, sort.
get_user_stocksC
Get articles that a user has stocked (bookmarked).
Inputs: user_id (required), page, per_page.
search_itemsB
Search Qiita articles. You can search with a query string or get recent articles without a query.
Inputs: query, page, per_page.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Every tool has a clearly distinct purpose targeting specific resources and actions: retrieving articles by ID, comments, tags, users, stocks, or search. No ambiguity exists as each tool name precisely indicates its function without overlap.
All tools follow a consistent verb_noun pattern using snake_case (e.g., get_item, get_tags, search_items). The naming is highly predictable and readable throughout the set.
With 7 tools, the count is well-scoped for a Qiita article browsing and retrieval server. Each tool earns its place by covering distinct aspects like articles, tags, users, comments, and search.
The tool set provides comprehensive read-only coverage for browsing and retrieving Qiita content, including articles, comments, tags, users, and search. A minor gap exists in write operations (e.g., creating or updating articles), but agents can effectively work with the available tools for querying purposes.
Maintenance
Related MCP Connectors
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Search and read Wikipedia articles and sections, list cited references, nearby pages, and languages.
Search X (Twitter) posts and read profiles, followers, trends and X Articles. OAuth sign-in.
Search Stack Exchange questions, fetch Q&A threads as markdown, look up tag FAQs and user profiles.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with the dev.to platform through its public API. Allows users to retrieve articles, user profiles, tags, comments, and perform article searches without requiring authentication.46MIT
- AlicenseBqualityDmaintenanceEnables interaction with Qiita, a Japanese developer community platform, through its API v2. Supports comprehensive operations including article management, user interactions, tag following, and commenting with Japanese language support.3011 npm1MIT
- AlicenseCqualityBmaintenanceEnables interaction with note.com through API to search and read articles, manage posts and drafts, handle comments and likes, retrieve analytics, and access membership information.3436 npm31ISC
- AlicenseNot gradedqualityFmaintenanceEnables interaction with esa.io team documentation including creating, reading, updating, and deleting posts, managing tags, and handling comments through natural language.59 npm2MIT