force_reindex
(boolean, optional): If True, clears and rebuilds the full index. Defaults to False.
How to use it
force_reindex is exposed by the MCP Markdown RAG MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the force_reindex tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Markdown RAG
npx @modelcontextprotocol/inspector uv --directory /ABSOLUTE/PATH/TO/MCP-Markdown-RAG run server.pyOther tools in MCP Markdown RAG (6)
(string, optional): The path to the folder containing .md files. Defaults to current directory.
(integer, optional): Max number of chunks to return (default is usually 5–10).
(string, required): Your natural language query.
(boolean, optional): If True, recursively indexes all subdirectories. Defaults to False.