MCP.so
Sign In

MCP Lucene Server

@VivekKumarNeu

Basic information

Category

Other

License

Apache-2.0 license

Transports

stdio

Author

VivekKumarNeu

About MCP Lucene Server

MCP Lucene Server

#mcp-lucene-server#search#document-management

MCP Lucene Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "MCP-Lucene-Server": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "mcp-lucene-server",
        "."
      ]
    }
  }
}

MCP Lucene Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Lucene Server?

MCP Lucene Server is a Java-based implementation of the Model Context Protocol (MCP) that provides efficient search and retrieval capabilities using Apache Lucene. It is built with Spring Boot and offers a RESTful API for managing and querying documents.

How to use MCP Lucene Server?

Clone the repository, build with Maven (mvn clean install), then run the JAR (java -jar target/mcp-lucene-server-0.0.1-SNAPSHOT.jar). Alternatively, build a Docker image (docker build -t mcp-lucene-server .) and run it (docker run -p 8080:8080 mcp-lucene-server). The server starts on port 8080 by default.

Key features of MCP Lucene Server

  • Implements the core Model Context Protocol (MCP).
  • Uses Apache Lucene for full-text indexing and search.
  • Provides RESTful API with endpoints for document management.
  • Supports upsert, delete, list, and status endpoints.
  • Queries using Lucene syntax with optional metadata filtering.
  • Built with Spring Boot; includes Docker deployment instructions.

Use cases of MCP Lucene Server

  • Building a searchable document store with full-text indexing.
  • Adding semantic or keyword-based query capabilities to MCP-based applications.
  • Managing a local Lucene index via a lightweight REST API.
  • Containerizing a search service for easy deployment.

Frequently asked questions

1

What are the prerequisites to run MCP Lucene Server?

Java 11 or higher and Maven 3.6.0 or higher are required. Docker is optional if using the Docker image.

2

How do I configure the Lucene index location?

Set the `lucene.index.path` property in `application.properties` or use an environment variable. If unset, a default location is used.

3

How do I run MCP Lucene Server with Docker?

Build the image with `docker build -t mcp-lucene-server .` and run it with `docker run -p 8080:8080 mcp-lucene-server`.

4

What query syntax does MCP Lucene Server support?

It supports complex queries using the standard Lucene query syntax, with optional filtering by document metadata fields.

5

What license does MCP Lucene Server use?

It is licensed under the Apache 2.0 License.

Comments

More Other MCP servers