Ask your AI

Copy this and paste it into ChatGPT, Claude or another assistant to get an answer based on this site.

How do I connect Qiita to an AI agent? Please use this URL as a reference:
https://agentok.jp/en/services/qiita.md
Media & Blogging

How to connect Qiita to AI agents

TL;DR

The short answer
VerdictOfficial, individuals OK Individuals can connect through an official route (MCP, connector or API) without a business contract or review
MethodOfficial API (REST)
PricingFree (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.

AuthenticationAccess token (personal access token / OAuth 2.0)
Checked by the operator2026.12.05
How the operator checkedChecked against official documentation

For AI agents: Markdown ・ JSON

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.

  • selenium39/mcp-server-qiita

    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

  • 2bo/qiita-mcp-server

    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 requiredRead and write

Runs with the scopes of your access token (read_qiita / write_qiita)

Terms of serviceNo 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 pathRuns 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 requiredRead and write

Runs with the scopes of your access token

Terms of serviceNo 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 pathRuns 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

Source: relevant section of the terms of service

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 termsProhibited
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

Source: relevant section of the terms of service

Usage

How to connect

  1. Qiita の設定「アプリケーション」からアクセストークンを発行する。用途に合わせてスコープを選ぶ(読み取りは read_qiita、投稿やストックには write_qiita)
  2. 公開記事の取得だけなら認証なしでも API を呼べる。自分のデータや書き込みには Authorization: Bearer ヘッダーにトークンを付ける
  3. エージェントからは REST(https://qiita.com/api/v2/…)を直接呼ぶ。MCP 形式なら非公式サーバー(mcp-server-qiita 等)を手元で動かす
  4. レート制限(認証あり 1,000 回/時、認証なし 60 回/時)に注意し、大量取得はページングしながら間隔を空ける

Setup examples

Paste these as they are. Replace the API key, domain and similar values with your own.

Claude Desktop(非公式 MCP・公式 API 利用)
{
  "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 のみ

読み取り用途では、設定の「アプリケーション」から read_qiita だけを付けたトークンを発行する。投稿やストックが必要になったら write_qiita 付きの別トークンを分ける

Official page checked: https://qiita.com/api/v2/docs

Search articles

Instruction to the agent

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

Instruction to the agent

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

Instruction to the agent

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 checkedChecked against official documentation
Clients triedNot yet tried with a real client
MCP server versionmcp-server-qiita 1.0.1 (latest at the time of writing)

https://www.npmjs.com/package/mcp-server-qiita

ドキュメント確認: Qiita API v2 の認証・スコープ・エンドポイント(公式ドキュメント)、非公式 MCP サーバーの対応範囲(各配布ページ)。実機確認はしていない。

Change history

  • 初版

Sources

Other sources

Related articles

How to connect Zenn to AI agents

Official, individuals OK

How to connect Instagram to AI agents

Business or paid only

How to connect Spotify to AI agents

Official, individuals OK

How to connect Yahoo! Shopping to AI agents

Official, individuals OK