reversing-knowledge-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@reversing-knowledge-mcp search for IDA Pro struct recovery writeups on guided-hacking"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
reversing-knowledge-mcp
A single-file Model Context Protocol server (stdio) that gives an AI client search and read access to an allowlisted set of reverse-engineering and game-hacking sources.
Search — DuckDuckGo-backed search, hard-restricted to the allowlist (
site:queries).Read — fetch an allowlisted page and return clean Markdown, with
httpxfirst and a headless Playwright fallback for JavaScript or bot-protected pages.List — report the allowlist, cookie requirements and cookie-file status.
No database, no API keys, no external service. Everything runs locally over stdio.
Tools
Tool | Arguments | Returns |
|
|
|
|
|
|
| — |
|
Related MCP server: mcp-media-9router
Requirements
Python 3.10+
Optional: Playwright Chromium for bot-protected sites
Install
git clone https://github.com/<your-user>/reversing-knowledge-mcp.git
cd reversing-knowledge-mcp
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
playwright install chromium # optional but recommendedOr install it as a package, which adds a reversing-knowledge-mcp entry point:
pip install ".[browser]"Run
python /absolute/path/to/server.pyThe server speaks MCP over stdin/stdout and prints logs to stderr, so it is meant to be launched by an MCP client rather than by hand.
Client configuration
Always use an absolute path to server.py and the interpreter that has the dependencies installed — clients do not start the server from the project directory.
Claude Desktop / Cursor / most clients (mcpServers)
claude_desktop_config.json on Windows lives at %APPDATA%\Claude\claude_desktop_config.json, on macOS at ~/Library/Application Support/Claude/claude_desktop_config.json.
{
"mcpServers": {
"reversing-knowledge": {
"command": "/absolute/path/to/.venv/bin/python",
"args": ["/absolute/path/to/server.py"],
"env": {
"MCP_COOKIES_PATH": "/absolute/path/to/cookies.json"
}
}
}
}OpenCode
opencode mcp add reversing-knowledge -- \
/absolute/path/to/.venv/bin/python /absolute/path/to/server.py
opencode mcp listOr edit opencode.json (current releases nest servers under mcp.servers):
{
"mcp": {
"servers": {
"reversing-knowledge": {
"type": "local",
"command": ["/absolute/path/to/.venv/bin/python", "/absolute/path/to/server.py"],
"environment": { "MCP_COOKIES_PATH": "/absolute/path/to/cookies.json" },
"protocol": "legacy"
}
}
}
}"protocol": "legacy" avoids the new-protocol probe delaying startup; omit it on OpenCode 1.x, which also expects server names directly under mcp with an enabled flag.
Claude Code
claude mcp add reversing-knowledge -- \
/absolute/path/to/.venv/bin/python /absolute/path/to/server.pyVS Code (.vscode/mcp.json)
{
"servers": {
"reversing-knowledge": {
"type": "stdio",
"command": "/absolute/path/to/.venv/bin/python",
"args": ["/absolute/path/to/server.py"]
}
}
}Tool names are exposed as <server>_<tool>, e.g. reversing-knowledge_search_reversing_knowledge.
Configuration
All settings are environment variables.
Variable | Default | Purpose |
|
| Cookie file used for sites that require a session |
|
| HTTP timeout in seconds |
|
| Browser navigation timeout in milliseconds |
|
| Maximum concurrent outbound HTTP requests |
|
| Markdown truncation limit per read |
|
| Read cache lifetime in seconds |
|
| Comma-separated DuckDuckGo backends; an explicit list is used because |
| Chrome 124 desktop UA | Outbound User-Agent |
|
| stderr log level |
Cookies
Several allowlisted forums return a challenge page or HTTP 403 without a session. Export your own cookies into a Playwright-compatible JSON array:
cp cookies.json.example cookies.json
chmod 600 cookies.jsonThen fill in the real values. Cookie files are git-ignored, never logged, and only sent to the matching domain. This project does not bypass CAPTCHAs or logins — if a site blocks automated access, provide cookies for an account you are entitled to use, or read the page manually.
Search quality notes
An unrestricted keyword query runs first and its results are filtered against the allowlist.
The remaining budget (up to 8 DuckDuckGo calls) is spent on per-domain
site:queries for domains not yet covered.Multi-domain
site:(a OR b)queries return nothing on the supported backends, so each domain is queried individually.Public search backends are rate-limited and occasionally answer with a challenge page; the explicit backend list makes a single failure non-fatal.
Security model
Exact-or-subdomain host matching against the allowlist — no substring matches (
evil-github.comis rejected,gist.github.comis accepted).Only
http/https, only ports 80/443, no userinfo (user:pass@).Hostnames are resolved and rejected if any address is loopback, private, link-local, reserved or multicast (SSRF guard).
Redirects are re-validated; a redirect off the allowlist fails the read.
Playwright requests are routed through the same allowlist and everything else is aborted.
Reddit is restricted to
/r/ReverseEngineering,/r/REGamesand/r/gamehacks.Politeness: at most 3 concurrent outbound requests, one request per domain at a time, at least 1s between requests to the same domain.
Tests
python -m unittest discover -s tests -vThe suite covers the allowlist and URL guards and needs no network access.
Troubleshooting
Symptom | Cause |
Client shows the server as failed | Wrong interpreter path; install dependencies into the interpreter named in the config |
| Every search backend failed or rate-limited; retry later or change |
| URL is off the allowlist, non-http(s), on a non-standard port, or resolves to a private address |
Forum thread returns a challenge page | Export cookies for that domain into |
|
|
Contributing
Issues and pull requests are welcome. Keep the server a single file, keep the three-tool surface, and add a guard test for any allowlist or validation change.
License
MIT — see LICENSE.
Disclaimer
This project is a research tool. It only reads publicly reachable pages (or pages you supply cookies for) on the domains listed in list_supported_sources, and it is the user's responsibility to comply with each site's terms of service, robots.txt and local law. The maintainers do not host, mirror or distribute any third-party content, and the inclusion of a domain in the allowlist is not an endorsement of what is posted there.
Available Tools
3 toolslist_supported_sourcesA
Return the allowlisted domains by category, which ones need cookies, and whether a cookies file is present.
Inputs: no named parameters. Returns: object
read_thread_or_articleA
Fetch an allowlisted URL and return its main content as clean Markdown.
Args: url: http(s) URL on an allowlisted domain. page: Page number to attempt for paginated threads (1-500, default 1).
Uses httpx first and falls back to headless Playwright for JavaScript or bot-protected pages. Returns url, domain, title, byline, page, pagination_supported, fetcher, content_markdown, truncated and content_length.
Inputs: url (required), page. Returns: object
search_reversing_knowledgeA
Search allowlisted reverse-engineering and game-hacking sources with DuckDuckGo.
Args: query: Keywords to search for (1-300 characters). domain: Optional allowlisted domain to restrict the search to, e.g. "unknowncheats.me". limit: Maximum number of results to return (1-25, default 10).
Returns a list of results with title, url, domain and snippet.
Inputs: query (required), limit, domain. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool occupies a clearly distinct stage of the workflow: discovering sources, searching them, and reading the result. There is no plausible way to confuse list_supported_sources with search_reversing_knowledge or read_thread_or_article, since the descriptions name the resource and action unambiguously.
All three names use snake_case verb_noun form (list_, search_, read_) with nouns that match the server's domain vocabulary. The pattern is fully predictable.
Three tools is a minimal but coherent surface for a search-and-retrieve knowledge server, and each earns its place. It sits at the low end of the ideal range, though the narrow purpose justifies the small surface.
The retrieve lifecycle (enumerate sources, search, read with pagination) is covered end to end with no dead ends. Minor gaps remain: no way to list or filter sources by category without searching, and no multi-URL or batch fetch for assembling knowledge across threads.
Maintenance
Related MCP Connectors
Read any web page as clean Markdown for AI agents: fetch, search, metadata, links. SSRF-safe.
Web search and clean-text page fetch for AI agents, with SSRF protection.
Live web search results and web pages as Markdown; page fetches use a residential network.
Search the web, fetch any URL and map a site as clean, LLM-ready Markdown.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceHelps AI agents search the public web and fetch content with anti-bot measures, returning clean markdown outputs suitable for citation.2Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to perform web searches and fetch web pages as clean Markdown via the 9router API, with configurable provider fallbacks and local security controls.12Apache 2.0
- AlicenseAqualityBmaintenanceEnables AI assistants to fetch and process web content securely, including HTML-to-markdown conversion, reader mode, metadata extraction, RSS/sitemap parsing, and robots.txt-aware requests with SSRF protection.15253 npm2MIT
- AlicenseAqualityCmaintenanceFree web search, web-page reading as Markdown, and llms.txt documentation retrieval for MCP clients. Runs locally with Node.js over stdio using @alkasima/alka-search-mcp. Searches DuckDuckGo, Mojeek, and Brave; default providers require no API key. Website and provider availability may vary.316 npmMIT