Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Search rule34.xxx posts by tag through the site's own API. Needs a rule34.xxx API key.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
RULE34_USER_ID, RULE34_API_KEY, RULE34_MIN_INTERVAL_MS, RULE34_LOG_LEVEL「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
リンク先は作者自身のファイルです。私たちが置いたり再パッケージしたりしたものではありません。ファイルを開くと、Claude Desktopがインストールします。
ターミナルでこれを実行します
claude mcp add rule34 --env RULE34_USER_ID=your-value --env RULE34_API_KEY=your-value --env RULE34_MIN_INTERVAL_MS=your-value --env RULE34_LOG_LEVEL=your-value -- npx -y mcp-rule34動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"rule34": {
"command": "npx",
"args": [
"-y",
"mcp-rule34"
],
"env": {
"RULE34_USER_ID": "your-value",
"RULE34_API_KEY": "your-value",
"RULE34_MIN_INTERVAL_MS": "your-value",
"RULE34_LOG_LEVEL": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"rule34": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-rule34"
],
"env": {
"RULE34_USER_ID": "your-value",
"RULE34_API_KEY": "your-value",
"RULE34_MIN_INTERVAL_MS": "your-value",
"RULE34_LOG_LEVEL": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
RULE34_MIN_INTERVAL_MS envRULE34_LOG_LEVEL envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント smeet666 で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:RULE34_USER_ID, RULE34_API_KEY
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(2.1.0)がレジストリに届いたのは9 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.js, MCPBも必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
rule34.xxx is a large image board whose posts are indexed entirely by tags, and it publishes an API for reading them. A post carries its identifier, the address of its page and of its file, its dimensions, the score its viewers gave it, its rating, and the full list of tags it was filed under. The site holds tens of millions of posts and answers a tag search with the number it matched.
This server connects a chat client to that index. You can search the posts by tags, combining required tags, alternatives and exclusions, read one post's record by its identifier, and look up how the site spells a tag before searching on it. It needs an account and an API key, which the site issues per person.
_Version française_
Claude Code
claude mcp add rule34 --env RULE34_USER_ID=your-id --env RULE34_API_KEY=your-key -- npx -y mcp-rule34
Claude Desktop, Cursor, and any client using the standard config format
{
"mcpServers": { "rule34": { "command": "npx", "args": ["-y", "mcp-rule34"], "env": { "RULE34_USER_ID": "your-id", "RULE34_API_KEY": "your-key" } } } }
Node 24 or later is required. The two credentials are required; everything else under Configuration is optional.
{
"mcpServers": { "rule34": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "RULE34_USER_ID", "-e", "RULE34_API_KEY", "ghcr.io/smeet666/mcp-rule34:2.1.0" ] } } }
-i keeps stdin open, which is where the protocol travels, and -t is left out because a TTY rewrites the stream. The container needs outbound HTTPS to api.rule34.xxx and rule34.xxx, and the two credentials from your environment: no volume, no port.
Download mcp-rule34-2.1.0.mcpb from the latest release and open it. A client that supports MCP bundles installs it on its own, with no npm to run. The credentials are still set in the client's configuration.
The ordinary path runs from a tag lookup to a search: find_tags gives the spelling the site uses, and search_posts takes it.
| Tool | What it does |
|---|---|
find_tags | Finds how the site spells a tag, and how many posts carry it. |
search_posts | Searches the posts by tags, with alternatives and exclusions. |
get_post | Reads one post's record by its identifier or its address. |
Look a tag up before searching on it. The site indexes by tag alone, and a tag it does not hold matches nothing, which reads as an empty result rather than as a misspelling.
find_tagsFinds how the site spells a tag.
| Argument | Type | Required | What it does |
|---|---|---|---|
query | string, up to 60 characters | yes | The text to look up. |
In return: query as it was sent, and tags, each with the spelling the site uses and the number of posts carrying it.
search_postsSearches the posts by tags.
| Argument | Type | Required | What it does |
|---|---|---|---|
tags | array of 1 to 10 tag names | yes | Tags a post must carry. |
any_of | array of 1 to 10 tag names | no | Tags a post must carry at least one of. |
exclude | array of 1 to 10 tag names | no | Tags a post must carry none of. |
media_type | image, animated, video or any, default any | no | Stills, GIFs or MP4. |
rating | questionable or explicit | no | Both are searched when this is left out. |
sort | score, id, updated or random, default score | no | The order the site sorts by. |
limit | integer, 1 to 100, default 20 | no | Posts to serve. |
page | integer, 1 to 200, default 1 | no | Which page of posts. |
media_type is read off the site's own tags, so the classification is as good as the tagging. The two ratings above are the only ones the site holds: any other value answers zero posts and no error, which would hand back an absence the site never had.
In return: tags, any_of and exclude as the site spells them; query, the search as it was sent in the site's own language; total, the posts the whole search matches as counted by the site; and the posts themselves, each with its id, post_url, file_url, preview_url, sample_url, width, height, score, rating and tags. The score is the site's own and it is updated once a day.
get_postReads one post's record.
| Argument | Type | Required | What it does |
|---|---|---|---|
id | integer, 1 or more | one of two | The post identifier. |
url | a rule34.xxx post URL | one of two | The address of the post's page. |
In return: the post a search row carries, with its full tag list.
The two credentials are required. Everything else is optional, and all of it goes in the env block of your client config.
| Variable | Default | What it does |
|---|---|---|
RULE34_USER_ID | none, required | Your numeric account id. |
RULE34_API_KEY | none, required | Your API key, which is personal. |
RULE34_USER_AGENT | the project identity | Names your application to the site, with an address where a person can be reached. |
RULE34_MIN_INTERVAL_MS | 1000 | Gap between two requests, from 1000 to 60000. |
RULE34_TIMEOUT_MS | 20000 | Deadline for one request, from 1000 to 120000. |
RULE34_MAX_RETRIES | 3 | Attempts after a transient failure, from 0 to 10. |
RULE34_CACHE_TTL_MS | 300000 | How long an answer stays in memory, from 0 to 86400000. |
RULE34_CACHE_MAX_ENTRIES | 300 | Answers held in memory at once, from 0 to 10000. |
RULE34_LOG_LEVEL | error | silent, error, info or debug, written to stderr. |
Where the credentials come from. Sign in, open Account options, and find the row named _API Access Credentials_. It shows &api_key=…&user_id=…, and those two values are what goes in the configuration above. If the key is empty, tick _Generate New Key?_ and save.
The site issues one key per person, and asks that applications serving its content display no advertising and put it behind no paywall. This server ships no key of its own, and each user brings their own. Started without credentials, it runs, publishes its tools, and answers every call by naming the two variables to set: it sends no request it knows the site will refuse.
A value outside its range falls back to the default, and the reason is written to stderr.
Every failure carries one of six codes, a message, and where it helps a hint naming the next move.
| Code | What happened | What to do |
|---|---|---|
not_found | The site answered, and holds nothing at that address. | Check the identifier with search_posts. |
invalid_input | The arguments were refused before any request went out. | Read the message, which names the argument. A missing credential is reported here. |
rate_limited | The site asked this client to slow down. | Wait the number of seconds the hint names and call again with the same arguments. The post is still there. |
parse_failure | The answer arrived in a shape this client cannot read. | Report it at the issue tracker. |
network_error | The request did not complete. | Try again shortly. |
timeout | The request passed its deadline. | Raise RULE34_TIMEOUT_MS, or ask for fewer posts. |
The layer reading the site is published on its own, with its pacing, its cache and its errors, and with no protocol attached.
import { Rule34Client } from "mcp-rule34/client";
const client = new Rule34Client({ credentials: { userId: "…", apiKey: "…" } }); const { data, cached } = await client.searchPosts({ tags: ["example"], limit: 5 }); console.log(data.total, cached);
Each read answers { data, cached }, and throws an error carrying one of the six codes. The one-second floor between two requests holds here as well.
Requests go out one at a time with at least a second between them, and that floor holds however the server is configured. The User-Agent always ends with the project identity and an address where a person can be reached.
Reads go to the API the site documents, and the credentials it issues are what its terms ask automated reading to use. Every result carries the address of the post's page. Nothing is downloaded: a file address travels through an answer as a string.
This MCP server is an unofficial project, with no affiliation to rule34.xxx.
This server collects nothing about you and sends nothing to its author. It runs on your machine, contacts api.rule34.xxx and rule34.xxx and nothing else, holds its answers in memory while it runs, and writes nothing to disk. Your credentials are read from the environment and sent to that site alone. PRIVACY.md
冒頭だけを表示しています。続きはリポジトリで読めます