aidocs

v0.1.0
io.github.CloudCorpRecords/aidocs Checked 4 days ago Published 1 month ago

OpenAI docs, guides, changelog and API reference as MCP tools.

OpenAI documentation as MCP tools, talking to the public OpenAI docs sites. aidocs is a clean-room rebuild of the core surface of the OpenAI docs MCP server, under a new name: fresh code, no copied branding. It is keyless by design — the documentation sites are public, so no API key is required or demanded. search_openai_docs, fetch_openai_doc, list_openai_docs, get_openai_doc_outline, search_openai_changelog, fetch_openai_changelog, get_api_reference, list_openai_guides.

Summary extracted from the README.

aidocs

OpenAI documentation as MCP tools, talking to the public OpenAI docs sites. aidocs is a clean-room rebuild of the core surface of the OpenAI docs MCP server, under a new name: fresh code, no copied branding. It is keyless by design — the documentation sites are public, so no API key is required or demanded.

Tools (core subset, 8)

search_openai_docs, fetch_openai_doc, list_openai_docs, get_openai_doc_outline, search_openai_changelog, fetch_openai_changelog, get_api_reference, list_openai_guides.

Not in this subset: model listing and metadata tools, assistants and threads tools, audio and realtime docs tools, cookbook browsing beyond guides, community tools, and billing/usage docs tools.

Setup

No credentials. Optionally override the docs base with OPENAI_DOCS_BASE_URL (default https://platform.openai.com/docs). Fetch failures surface the underlying network or upstream error.

CLI

npx @reneturcios/aidocs search_openai_docs '{"query":"function calling"}'
npx @reneturcios/aidocs mcp        # stdio MCP server

Each tool name is a subcommand taking one JSON object argument.

MCP client config

{
  "mcpServers": {
    "aidocs": {
      "command": "npx",
      "args": ["-y", "@reneturcios/aidocs", "mcp"]
    }
  }
}

Docker

docker run -i ghcr.io/cloudcorprecords/aidocs

Development

npm install
npm run build
npm test

License

MIT