live-docs-mcp
Provides documentation lookup and topic search for the Express web framework, including support for multiple documented versions such as 4.x and 5.x.
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., "@live-docs-mcp search Express 5 docs for routing"
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.
live-docs-mcp
A local-only MCP server that gives AI coding agents up-to-date documentation for a specific library or tool while they're implementing a feature — a context7-style capability that runs entirely on your machine, with no hosted backend.
Usage
Add it to your MCP client's server config, the same way you'd add any
other npx-based MCP server:
{
"mcpServers": {
"live-docs": {
"command": "npx",
"args": ["-y", "live-docs-mcp"]
}
}
}Related MCP server: docs-mcp
Tools
search_library({ query }) — find a documented library by name or alias. Returns
{ id, name, description, score, versions? }[]—versionslists the available version keys when a library has more than one documented version.search_docs({ libraryId, topic, version?, limit? }) — search a library's documentation by topic, using the
idfromsearch_library. If the library has multiple versions,versionis required — omitting it (or passing one that doesn't match) returns an error listing the available keys; passing one for a library that isn't versioned is also an error. Returns{ version?, results: { heading, snippet, sourceUrl, score }[] }—versionis present only when the library is versioned.
How it works
Each supported library has a config entry (docsUrl, llmsTxtUrl,
llmsFullTxtUrl, githubUrl, npmPackage, ...). When search_docs
is called, the server fetches documentation for that library in this
order, using the first one that resolves:
llmsFullTxtUrlllmsTxtUrldocsUrl, if it points directly at a markdown fileThe repo's readme from
githubUrl, as a last resort —README.mdby default, or the exact path set ingithubReadmePathif the repo uses a different filename or casing (e.g.Readme.md)
githubBranch is required whenever githubUrl is set — there is
no default-branch guessing of any kind. A config with githubUrl and
no githubBranch fails to load.
Beyond that first "seed" page, the server also resolves and fetches
additional pages, up to a fixed cap: markdown links found within an
llmsTxtUrl/llmsFullTxtUrl seed (restricted to links on the same
origin as the seed), and/or files under a configured githubDocsPath
in the library's GitHub repo. Both sources are best-effort — a failed
extra page is simply skipped and never breaks the request.
Fetched content is cached on disk (in your OS's standard cache
directory) for 24 hours by default, so repeat lookups are instant.
Override the TTL with the LIVE_DOCS_MCP_TTL_MS environment variable
(milliseconds).
Multiple versions
A library with more than one actively-documented version (e.g.
Express 4.x and 5.x) can declare a versions map instead of its own
flat source fields — each version gets its own independent
docsUrl/llmsTxtUrl/llmsFullTxtUrl/githubUrl/githubBranch/githubDocsPath:
{
"id": "widget",
"name": "Widget",
"versions": {
"v1": { "docsUrl": "https://widget.dev/v1/docs.md" },
"v2": { "docsUrl": "https://widget.dev/v2/docs.md" }
}
}versions and the flat source fields are mutually exclusive on one
entry — set one or the other, never both. A versions map must have
at least one entry. There is no default version: search_docs always
requires an explicit version for a versioned library.
Adding your own libraries
Built-in libraries live in this package. To add or override an entry
— for an internal/private library, or to patch a built-in's URLs —
create a JSON file at your OS's standard config directory, e.g. on
Linux: ~/.config/live-docs-mcp/tools.json:
[
{
"id": "my-internal-lib",
"name": "My Internal Lib",
"docsUrl": "https://docs.internal.example.com/my-lib",
"llmsTxtUrl": "https://docs.internal.example.com/my-lib/llms.txt",
"githubUrl": "https://github.com/acme/my-lib",
"githubBranch": "develop",
"githubDocsPath": "docs"
}
]githubBranch— the branch or tag to use for GitHub-based fetches. Required whenevergithubUrlis set — there is no default branch guessing.githubDocsPath— a path within the repo (relative to its root) to search for additional markdown docs, e.g."docs".githubReadmePath— the exact path to the repo's readme file, if it isn'tREADME.md(e.g."Readme.md"). Optional; defaults to"README.md".
An entry whose id matches a built-in overrides that built-in's
fields; any other id is added alongside the built-ins. The merged
result is re-validated as a whole, so combining an override with a
built-in in a way that violates the schema (e.g. adding versions to
a builtin that already has flat fields set, or vice versa) causes the
entire user config file to be rejected — with an error logged to
stderr — falling back to built-ins only, rather than silently applying
a partial or broken merge.
Upgrading note: if your existing override sets githubUrl without
githubBranch, it now fails to load — the old implicit main/master
fallback no longer exists. Add an explicit githubBranch to fix it.
Development
npm install
npm test # run the test suite
npm run build # compile to dist/
npm run dev # run the server directly from source via tsxAvailable Tools
2 toolssearch_docsC
Search a library's documentation by topic.
Inputs: topic (required), libraryId (required), limit, version.
search_libraryC
Find a documented library by name.
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
search_library targets finding a library by name, while search_docs targets searching within a library's documentation by topic. The two tools have clearly distinct purposes and are complementary rather than overlapping.
Both tool names follow the same search_<noun> snake_case pattern. The naming is predictable and clearly indicates action and target.
Two tools is on the low end for a documentation-focused server, but each tool covers a distinct step in the lookup workflow. It feels minimal yet coherent.
The surface is limited to search operations; there is no way to list libraries, retrieve full documentation content, or navigate doc structure. Agents may be able to find relevant topics but cannot fetch the actual documentation content.
Maintenance
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for agentverse documentation, generated by doc2mcp.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides tools to fetch live, version-accurate documentation, changelogs, examples, and method signatures for npm and PyPI packages, preventing AI coding agents from hallucinating stale APIs.MIT
- AlicenseNot gradedqualityCmaintenanceProvides a local MCP server for searching and retrieving documentation from 22+ open-source projects, enabling AI coding assistants to access up-to-date docs without network dependency.5 npm3MIT
- AlicenseNot gradedqualityDmaintenanceA self-hosted MCP server that provides up-to-date documentation for enterprise and development tools directly to AI coding assistants like Claude Code and Cursor.MIT
- FlicenseNot gradedqualityDmaintenanceLocal MCP server that indexes documentation from URLs/files into a vector database, enabling coding agents to search and use up-to-date library and API documentation.1-