Back to Home
patrickkarle icon

loda-mcp-server

by patrickkarle

Overview

Provides token-efficient document search and navigation capabilities to LLMs (specifically Claude Desktop/Code) by returning relevant logical sections within a specified token budget.

Installation

Run Command
npm start

Security Notes

CRITICAL: The `search_content` tool directly uses the user-provided `query` to construct a regular expression (`new RegExp(query, 'gi')`), making it vulnerable to Regular Expression Denial of Service (ReDoS) attacks. CRITICAL: The `documentPath` parameter allows for absolute paths, meaning a malicious client could potentially instruct the server to read arbitrary files on the host system that the Node.js process has access to, bypassing the intended 'staging' directory.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2025-11-28

Tags

LLMDocument SearchModel Context ProtocolNode.jsCaching