Doc Lib MCP Server

A Model Context Protocol (MCP) server for document ingestion, chunking, semantic search, and note management.

Local serverstdioPython

What is the Doc Lib MCP Server?

A Model Context Protocol (MCP) server for document ingestion, chunking, semantic search, and note management.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • add-note — Add a new note to the in-memory note store
  • Arguments — name (string), content (string)
  • ingest-string — Ingest and chunk a markdown or plain text string provided via message
  • ingest-markdown — Ingest and chunk a markdown (.md) file
  • ingest-python — Ingest and chunk a Python (.py) file
  • ingest-openapi — Ingest and chunk an OpenAPI JSON file
  • ingest-html — Ingest and chunk an HTML file
  • ingest-html-url — Ingest and chunk HTML content from a URL (optionally using Playwright for dynamic content)
  • smart_ingestion — Extracts all technically relevant content from a file using Gemini, then chunks it using robust markdown logic
  • search-chunks — Semantic search over ingested content
  • delete-source — Delete all chunks from a given source
  • delete-chunk-by-id — Delete one or more chunks by id

Recorded tools

  • add-note — Add a new note to the in-memory note store
  • ingest-string — Ingest and chunk a markdown or plain text string provided via message
  • ingest-markdown — Ingest and chunk a markdown (.md) file
  • ingest-python — Ingest and chunk a Python (.py) file
  • ingest-openapi — Ingest and chunk an OpenAPI JSON file
  • ingest-html — Ingest and chunk an HTML file
  • ingest-html-url — Ingest and chunk HTML content from a URL (optionally using Playwright for dynamic content)
  • smart_ingestion — Extracts all technically relevant content from a file using Gemini, then chunks it using robust markdown logic.
  • search-chunks — Semantic search over ingested content
  • delete-source — Delete all chunks from a given source
  • delete-chunk-by-id — Delete one or more chunks by id
  • update-chunk-type — Update the type attribute for a chunk by id
  • ingest-batch — Ingest and chunk multiple documentation files (markdown, OpenAPI JSON, Python) in batch

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
add-noteAdd a new note to the in-memory note store
ingest-stringIngest and chunk a markdown or plain text string provided via message
ingest-markdownIngest and chunk a markdown (.md) file
ingest-pythonIngest and chunk a Python (.py) file
ingest-openapiIngest and chunk an OpenAPI JSON file
ingest-htmlIngest and chunk an HTML file
ingest-html-urlIngest and chunk HTML content from a URL (optionally using Playwright for dynamic content)
smart_ingestionExtracts all technically relevant content from a file using Gemini, then chunks it using robust markdown logic.
search-chunksSemantic search over ingested content
delete-sourceDelete all chunks from a given source
delete-chunk-by-idDelete one or more chunks by id
update-chunk-typeUpdate the type attribute for a chunk by id
ingest-batchIngest and chunk multiple documentation files (markdown, OpenAPI JSON, Python) in batch

How to install the Doc Lib MCP Server

{
  "mcpServers": {
    "doc-lib-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/home/administrator/python-share/doc-lib-mcp",
        "run",
        "doc-lib-mcp"
      ]
    }
  }
}

Maintainer configuration example. Replace example paths and credential placeholders before connecting.

Configuration

VariableDescriptionRequired
OLLAMA_HOSTEndpoint or connection string the server talks to.Optional
RERANKER_MODEL_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use Doc Lib MCP to add-note.”
  • “Use Doc Lib MCP to Arguments.”
  • “Use Doc Lib MCP to ingest-string.”

Frequently asked questions

A Model Context Protocol (MCP) server for document ingestion, chunking, semantic search, and note management. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.