How to connect Qiita to AI agents
checked by the operator
TL;DR
| Verdict | Official, individuals OK Individuals can connect through an official route (MCP, connector or API) without a business contract or review |
|---|---|
| Method | Official API (REST) |
| Pricing | Free (no extra charge for using the API) |
The official Qiita API v2 exists, and with an access token you can post and edit your articles, manage stocks, and comment. Public articles can be fetched without authentication. There is no official MCP server or official connector; for MCP, use an unofficial server that wraps the official API.
| Authentication | Access token (personal access token / OAuth 2.0) |
|---|---|
| Checked by the operator | 2026.12.05 |
| How the operator checked | Checked against official documentation |
Official MCP and AI guides
- Official MCP serverNo
Qiita provides no official MCP server. All MCP servers are unofficial community implementations wrapping the official API (API v2)
- Official guide for AI agentsNo
No official llms.txt or dedicated AI-agent guide is provided (confirmed that https://qiita.com/llms.txt does not exist)
Connectors
Official connectors from AI services
Not supported: Claude, ChatGPT, Gemini, Microsoft Copilot
Third-party integration services
Not supported: Zapier, n8n, Power Automate, IFTTT
Unverified: Make, Pipedream, Composio, Yoom
Unofficial MCP servers
Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.
An unofficial MCP server wrapping the Qiita API v2 (npm package mcp-server-qiita). It exposes a wide range of the API v2 surface — articles, users, tags, comments, stocks — as tools. It runs locally with your token in the QIITA_ACCESS_TOKEN environment variable
An unofficial MCP server using the Qiita API (npm package @2bo/qiita-mcp-server), with a focused set of five tools: fetching your articles, and fetching, posting, and updating articles. Startup details such as environment variable names differ per server, so check the README
Security assessment
For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.
- Unofficial MCPselenium39/mcp-server-qiitaThird party (unofficial)
Permissions required Read and write Runs with the scopes of your access token (read_qiita / write_qiita)
Terms of service No issues Implemented on the official API and within the terms of use. However, running a third-party package locally and handing it a token means the risk of the token or fetched data being sent externally, depending on the code and its updates, is not zero. Pinning the version and reviewing the source is advisable
Source: relevant section of the terms
Data path Runs locally and connects directly to the Qiita API. Fetched content is passed to the AI service using the MCP server - Unofficial MCP2bo/qiita-mcp-serverThird party (unofficial)
Permissions required Read and write Runs with the scopes of your access token
Terms of service No issues Implemented on the official API and within the terms of use. However, running a third-party package locally and handing it a token means the risk of the token or fetched data being sent externally, depending on the code and its updates, is not zero. Pinning the version and reviewing the source is advisable
Source: relevant section of the terms
Data path Runs locally and connects directly to the Qiita API. Fetched content is passed to the AI service using the MCP server
Data you can fetch within the terms of service
Public articles, users, and tags can be fetched via the official API, readable without authentication. Posting, editing, and deleting your articles, stocks, and comments are done with a token (write_qiita)
- ScrapingProhibited
The official help states explicitly that scraping is not permitted due to server load concerns. Fetching is done via the official API. Developing apps on the API is allowed within the API's scope, but monetizing an app with ads violates the terms of use
- Fetching with the agent's own browserPossible
There is an official API or MCP server, so we do not recommend having an agent sign in and operate the site in a browser on your behalf.
For data the official route does not cover:
Automation under the terms Prohibited Bot detection / CAPTCHA 未確認 Public articles can be read without signing in. Account data such as your own drafts and stocks requires sign-in. The official API covers most operations, so there is almost no reason to use browser automation
Usage
How to connect
- Qiita の設定「アプリケーション」からアクセストークンを発行する。用途に合わせてスコープを選ぶ(読み取りは read_qiita、投稿やストックには write_qiita)
- 公開記事の取得だけなら認証なしでも API を呼べる。自分のデータや書き込みには Authorization: Bearer ヘッダーにトークンを付ける
- エージェントからは REST(https://qiita.com/api/v2/…)を直接呼ぶ。MCP 形式なら非公式サーバー(mcp-server-qiita 等)を手元で動かす
- レート制限(認証あり 1,000 回/時、認証なし 60 回/時)に注意し、大量取得はページングしながら間隔を空ける
Setup examples
Paste these as they are. Replace the API key, domain and similar values with your own.
{
"mcpServers": {
"qiita": {
"command": "npx",
"args": ["-y", "mcp-server-qiita@1.0.1"],
"env": {
"QIITA_ACCESS_TOKEN": "your-access-token"
}
}
}
}公式 MCP がないため、公式 API を使う非公式サーバーの設定例(版を固定)。QIITA_ACCESS_TOKEN には、Qiita の設定「アプリケーション」で発行した自分のアクセストークンを入れる。読み取りだけなら read_qiita のトークンにする。トークンを設定ファイルに平文で保存する形になるため、ファイルの管理に注意する
Official page checked: https://glama.ai/mcp/servers/Selenium39/mcp-server-qiita
Limiting the features
スコープ: read_qiita のみ読み取り用途では、設定の「アプリケーション」から read_qiita だけを付けたトークンを発行する。投稿やストックが必要になったら write_qiita 付きの別トークンを分ける
Official page checked: https://qiita.com/api/v2/docs
Search articles
Show me the 10 most recent articles about MCP
Public articles can be fetched via the API without authentication. GET /api/v2/items takes only page, per_page, and query parameters, and returns newest first. There is no popularity sort, so use query filters such as stocks:>N, or sort by likes_count after fetching
Post an article
Post this Markdown to Qiita as a limited-sharing (private) article
Uses POST /api/v2/items with a write_qiita token. The API has no drafts; private: true creates a limited-sharing article (readable by anyone who knows the URL). Omitting private publishes it publicly
See your stocks
List the articles I have stocked
Your stock list requires authentication. A read_qiita token is enough
Pitfalls and tips
Pitfalls
- An insufficient token scope returns 403. Reading needs read_qiita; posting, stocking, and liking need write_qiita. Qiita Team uses separate scopes (read_qiita_team / write_qiita_team)
- Rate limits are 1,000 requests/hour with authentication (per user) and 60 requests/hour without (per IP). Exceeding them returns 429
- Some endpoints, such as stocking, return 204 No Content on success. Code that expects JSON can mistake this for an error
- Hosted MCP servers that take the token as a URL query parameter also circulate. The token ends up in the URL and can leak, so prefer a locally run server
- Qiita Team articles use different scopes and endpoints from regular Qiita. Mixing them up causes authentication errors
- The API has no drafts. private: true means limited sharing (anyone with the URL can read it), which differs from an author-only draft. Forgetting private publishes the article publicly at once
Tips
- For personal use, calling the official API directly is the basics. The token's scopes are the permissions themselves, so issue separate tokens per purpose
- If you need the MCP format, choose a locally run unofficial server (mcp-server-qiita). Avoid hosted ones that take the token in the URL
- For automated posting, post as a limited-sharing article (private: true) first and eyeball it; that reduces accidents. Note that limited sharing is readable by anyone who knows the URL
- The official Qiita CLI also exists for creating and previewing articles. You can have the agent write the files and post via the CLI or API
Test environment and change history
| How it was checked | Checked against official documentation |
|---|---|
| Clients tried | Not yet tried with a real client |
| MCP server version | mcp-server-qiita 1.0.1 (latest at the time of writing) |
ドキュメント確認: Qiita API v2 の認証・スコープ・エンドポイント(公式ドキュメント)、非公式 MCP サーバーの対応範囲(各配布ページ)。実機確認はしていない。
Change history
- 初版
Sources
Other sources
- Qiita API v2 documentationBasis for the Qiita API v2 official documentation (authentication, scopes, endpoints), checked 2026.12.05
- Qiita API stock not reflected | PUT stock procedure (Qiita article)Basis for the scopes (read_qiita / write_qiita and others) and the handling of 204, 403, and 429, checked 2026.12.05
- Qiita API MCP Server | GlamaBasis for the unofficial MCP server (mcp-server-qiita) coverage and setup, checked 2026.12.05
- Qiita MCP Server | GlamaBasis for the tool set of the unofficial MCP server (@2bo/qiita-mcp-server), checked 2026.12.05
- How to connect Claude Cowork with Qiita (Qiita article)Basis for there being no official connector, with MCP, API, and Zapier as the options, checked 2026.12.05
- Claude ConnectorsWhere to check Claude's connector list, checked 2026.12.05
- Qiita Terms of UseBasis for the Qiita terms of use, checked 2026.12.05
- mcp-server-qiita | npmBasis for the latest version (1.0.1) of the unofficial MCP server (mcp-server-qiita), checked 2026.12.05
- About the Qiita API and scraping | Qiita HelpBasis for scraping not being permitted, the API's scope of use (ad monetization violates the terms), and the rate limits (1,000/hour authenticated, 60/hour unauthenticated), checked 2026.12.05
