drio
Open app

Krep MCP Server

Source

High-performance string search MCP server with automatic CPU core scaling

Catalog onlyCatalog onlySTDIO

Overview

Krep MCP Server is a high-performance string search utility that integrates with the Model Context Protocol (MCP) for efficient pattern searching in files and strings. It serves as a wrapper around the krep binary, which is optimized for speed and multi-threading.

To use Krep MCP Server, ensure you have the krep binary installed, configure the MCP settings, and then send requests through the MCP interface with the desired search parameters.

  • High-performance search using optimized algorithms (KMP, Boyer-Moore-Horspool, Rabin-Karp). - Hardware acceleration with SIMD instructions for faster processing. - Optimized multi-threading that utilizes all available CPU cores. - Unified interface for file and string searches, as well as count-only operations. - Seamless integration with AI assistants via the Model Context Protocol.
  1. Performing fast pattern searches in large text files.
  2. Integrating with AI tools for enhanced search capabilities.
  3. Utilizing in development environments like VSCode for efficient coding assistance.

Add to your AI client

Use these steps to connect Krep MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "krep-mcp-server-bmorphism": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-krep-mcp-server-bmorphism"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "krep-mcp-server-bmorphism": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-krep-mcp-server-bmorphism"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "krep-mcp-server-bmorphism": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-krep-mcp-server-bmorphism"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "krep-mcp-server-bmorphism": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-krep-mcp-server-bmorphism"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "krep-mcp-server-bmorphism": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-krep-mcp-server-bmorphism"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "krep-mcp-server-bmorphism": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-krep-mcp-server-bmorphism"
      ]
    }
  }
}

FAQ

**What is the main advantage of using Krep MCP Server?**

It significantly outperforms traditional tools like grep in terms of speed and efficiency, especially for large datasets.

**Is Krep MCP Server easy to integrate with existing systems?**

Yes! It is designed to work seamlessly with various environments and can be easily integrated with AI assistants.

**What programming languages does Krep MCP Server support?**

The server is primarily built with JavaScript and can be used in any environment that supports MCP.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3489,"uuid":"f7b99584-1e55-4e48-af13-8c03173f6b01","name":"krep-mcp-server","title":"Krep MCP Server","description":"High-performance string search MCP server with automatic CPU core scaling","avatar_url":"https://avatars.githubusercontent.com/u/1236584?v=4","created_at":"2025-03-19T20:35:24.324+00:00","updated_at":"2025-03-19T20:41:55.158+00:00","status":"created","author_name":"bmorphism","author_avatar_url":"https://avatars.githubusercontent.com/u/1236584?v=4","tags":"krep,mcp,string-search,high-performance","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/bmorphism/krep-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-19 13:18:46\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]