io.github.CloudCorpRecords/refdocs is an MCP server that search technical documentation and read web pages as markdown. Its tool list has not been published yet over stdio, requires no API key, and scores 57/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"refdocs": {
"env": {
"REF_API_KEY": "your-key-here"
},
"args": [
"-y",
"@reneturcios/refdocs",
"mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Search technical documentation and read web pages as markdown.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y '@reneturcios/refdocs' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @reneturcios/refdocs against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in browser / writing
Open-source web scraper for AI agents with scrape, crawl, and map tools
Search-first MCP server for JavaScript reverse engineering: 735 tools across 36 domains.
Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡
Firecrawl, the context API for AI agents: search, scrape, interact with the web, plus paper search.
MCP Security Weekly
Get CVE alerts and security updates for io.github.CloudCorpRecords/refdocs and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
refdocs answers documentation questions and turns web pages into something an agent can actually read. Search runs across public technical documentation and GitHub for the facts or code snippet behind a question, and any URL can be fetched and handed back as clean markdown instead of raw HTML.
It is one small program with two faces: a command-line tool for quick lookups, and a stdio MCP server that gives agents the same two operations as tools.
Both operations require a Ref API key:
export REF_API_KEY="your-key-here"
The search endpoint defaults to https://api.ref.tools. Override it
with REF_API_BASE_URL when you are pointing at another deployment.
The key is checked before any request is made; when it is missing the
tool fails with an error that names REF_API_KEY.
npx @reneturcios/refdocs search "How do I stream a response with fetch?"
Or run the container image:
docker run -i -e REF_API_KEY ghcr.io/cloudcorprecords/refdocs
The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
# Search the documentation
refdocs search "How do I use the cache API in Next.js?"
refdocs search "What does this error mean?" --json
# Read a page as markdown
refdocs read https://example.test/some/guide
refdocs read https://example.test/some/guide --json
# Check the configuration without making a request
refdocs check
refdocs --version
Exit codes: 0 on success, 1 when a lookup fails or the
configuration is not ready (the error names the problem), 2 for
usage errors.
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
npx -y @reneturcios/refdocs mcp
MCP client configuration:
{
"mcpServers": {
"refdocs": {
"command": "npx",
"args": ["-y", "@reneturcios/refdocs", "mcp"],
"env": {
"REF_API_KEY": "your-key-here"
}
}
}
}
| Tool | Input | What it returns |
|---|---|---|
ref_search_documentation | query (string, required) — a full sentence or question to search for | Matching documentation results from public documentation and GitHub, each with its title, URL, and content or snippet when the upstream provides them. |
ref_read_url | url (string, required) — the URL of the webpage to read | The page content converted to markdown: headings, links, lists, emphasis, and code blocks are kept in markdown form, while scripts, styles, and other non-content markup are dropped. |
Search responses are parsed tolerantly: a bare array, a results
list, and a documents list are all accepted. Reading plain-text
URLs returns the text unchanged.
npm install
npm run build # tsc -> dist/
npm test # node test runner over test/*.test.ts, no network
npm run dev # run the CLI from source via tsx
Tests run entirely against a fake fetch function; no live API calls are made.
MIT — see LICENSE.