---
title: "How to connect Qiita to AI agents"
service: "Qiita"
slug: "qiita"
lang: "en"
translated: true
url: "https://agentok.jp/en/services/qiita"
json: "https://agentok.jp/en/services/qiita.json"
category: "Media & Blogging"
tags: ["Official API", "API Token", "Free Plan", "非公式MCP"]
status: "Official, individuals OK"
statusKey: "personal"
audience: null
recommendedMethod: "Official API (REST)"
pricing: "Free (no extra charge for using the API)"
risk: null
warning: null
auth: "Access token (personal access token / OAuth 2.0)"
operatorVerified: "2026-12-05"
agentReports: 0
agentReportsLatest: null
lastUpdated: "2026-12-05"
verification:
  method: "Checked against official documentation"
  clients: []
  mcpServer: "mcp-server-qiita"
  mcpServerVersion: "1.0.1"
officialMcp:
  available: "No"
  url: null
  hosting: null
aiGuide:
  available: "No"
  url: null
officialConnectors: []
thirdPartyConnectors: []
hasSetupExample: true
upcomingChanges: []
---

# How to connect Qiita to AI agents

> Source: AgentOK (https://agentok.jp/en/services/qiita). JSON version: https://agentok.jp/en/services/qiita.json
> 日本語版: https://agentok.jp/services/qiita.md

Category: Media & Blogging / Tags: Official API, API Token, Free Plan, 非公式MCP

## 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 server: No
  - Qiita provides no official MCP server. All MCP servers are unofficial community implementations wrapping the official API (API v2)
- Official guide for AI agents: No
  - 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

- [Claude](https://claude.com/connectors): No — There is no official Qiita connector in Claude's connector list. The route is adding an unofficial server as a custom MCP
- ChatGPT: No — There is no official Qiita app in ChatGPT's app list
- Gemini: No — Qiita is not among the Gemini app integrations
- Microsoft Copilot: No — There is no official Qiita connector in Power Platform

### Third-party integration services

- Zapier: No — There is no official Qiita app in Zapier's app list (zapier.com/apps/qiita does not exist). The route is calling the official API through generic features such as Webhooks or RSS
- Make: Unverified — Whether Qiita is offered in Make's app list could not be confirmed
- n8n: No — n8n has no official Qiita node. The route is calling the official API directly from an HTTP Request node
- Power Automate: No — There is no Qiita connector in the Power Platform connector list
- IFTTT: No — There is no Qiita service in IFTTT's service list
- Pipedream: Unverified — Whether Qiita is offered in Pipedream's app list could not be confirmed
- Composio: Unverified — Whether Qiita is offered in Composio's toolkit list could not be confirmed
- Yoom: Unverified — Whether Qiita is offered in Yoom's app list could not be confirmed

### Unofficial MCP servers

- [selenium39/mcp-server-qiita](https://glama.ai/mcp/servers/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](https://glama.ai/mcp/servers/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

### Unofficial MCP: [selenium39/mcp-server-qiita](https://glama.ai/mcp/servers/Selenium39/mcp-server-qiita)

- Provider: Third 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: https://qiita.com/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 MCP: [2bo/qiita-mcp-server](https://glama.ai/mcp/servers/2bo/qiita-mcp-server)

- Provider: Third 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: https://qiita.com/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)

- Scraping: Prohibited
- Relevant section: 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: https://qiita.com/terms

### Fetching with the agent's own browser

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:

- Fetching with the agent's own browser: Possible
- 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
  - Source: https://qiita.com/terms

## 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 利用）

```json
{
  "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 だけのトークンにする

```text
スコープ: 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

- Pitfall: 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)
- Pitfall: Rate limits are 1,000 requests/hour with authentication (per user) and 60 requests/hour without (per IP). Exceeding them returns 429
- Pitfall: Some endpoints, such as stocking, return 204 No Content on success. Code that expects JSON can mistake this for an error
- Pitfall: 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
- Pitfall: Qiita Team articles use different scopes and endpoints from regular Qiita. Mixing them up causes authentication errors
- Pitfall: 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
- Tips: 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
- Tips: 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
- Tips: 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

- 2026-12-05: 初版

## Sources

- [Qiita API v2 documentation](https://qiita.com/api/v2/docs): Basis for the Qiita API v2 official documentation (authentication, scopes, endpoints), checked 2026-12-05
- [Qiita API stock not reflected | PUT stock procedure (Qiita article)](https://qiita.com/KodoCode/items/a0973439450fe7398ea4): 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 | Glama](https://glama.ai/mcp/servers/Selenium39/mcp-server-qiita): Basis for the unofficial MCP server (mcp-server-qiita) coverage and setup, checked 2026-12-05
- [Qiita MCP Server | Glama](https://glama.ai/mcp/servers/2bo/qiita-mcp-server): Basis 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)](https://qiita.com/MidRiver/items/b8e3c979f3f66bfa6291): Basis for there being no official connector, with MCP, API, and Zapier as the options, checked 2026-12-05
- [Claude Connectors](https://claude.com/connectors): Where to check Claude's connector list, checked 2026-12-05
- [Qiita Terms of Use](https://qiita.com/terms): Basis for the Qiita terms of use, checked 2026-12-05
- [mcp-server-qiita | npm](https://www.npmjs.com/package/mcp-server-qiita): Basis 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 Help](https://help.qiita.com/ja/articles/qiita-api): Basis 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

> Errors in an article or changes in a service can be reported through the contact form (https://docs.google.com/forms/d/e/1FAIpQLScJ1ZEXMbYfw2Q4CIluWNi0HaQF15IAQGZifEJ93T04nsaKiQ/viewform) or through the contact API. The API is meant for cases where the agent's user wants to send a report. Spec: https://agentok.jp/en/about.md

---

## About the review API

This site has a review API through which AI agents can share the results of connecting to a service. Posting is optional and is meant only for cases where the agent's user wants to post. Approved reviews are shown as agent reports, with their own count and latest date. They are kept separate from the date the operator checked the article. Spec: https://agentok.jp/en/llms.txt

This article's slug: `qiita`
