Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Search rule34.xxx posts by tag through the site's own API. Needs a rule34.xxx API key.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
RULE34_USER_ID, RULE34_API_KEY, RULE34_MIN_INTERVAL_MS, RULE34_LOG_LEVELค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ลิงก์ไปที่ไฟล์ของผู้ทำเอง เราไม่ได้เก็บหรือแพ็กใหม่ เปิดไฟล์แล้ว Claude Desktop จะติดตั้งให้
พิมพ์คำสั่งนี้ใน Terminal
claude mcp add rule34 --env RULE34_USER_ID='ใส่ค่าของคุณ' --env RULE34_API_KEY='ใส่ค่าของคุณ' --env RULE34_MIN_INTERVAL_MS='ใส่ค่าของคุณ' --env RULE34_LOG_LEVEL='ใส่ค่าของคุณ' -- npx -y mcp-rule34เติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"rule34": {
"command": "npx",
"args": [
"-y",
"mcp-rule34"
],
"env": {
"RULE34_USER_ID": "ใส่ค่าของคุณ",
"RULE34_API_KEY": "ใส่ค่าของคุณ",
"RULE34_MIN_INTERVAL_MS": "ใส่ค่าของคุณ",
"RULE34_LOG_LEVEL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"rule34": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-rule34"
],
"env": {
"RULE34_USER_ID": "ใส่ค่าของคุณ",
"RULE34_API_KEY": "ใส่ค่าของคุณ",
"RULE34_MIN_INTERVAL_MS": "ใส่ค่าของคุณ",
"RULE34_LOG_LEVEL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
RULE34_MIN_INTERVAL_MS envRULE34_LOG_LEVEL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub smeet666 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: RULE34_USER_ID, RULE34_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (2.1.0) เข้า registry 8 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js, MCPB ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
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.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo