Back to Browse

Opensolr MCP Server

by Phpcip
Developer ToolsScan in ProgressMCP RegistryLocal
Free

Server data from the Official MCP Registry

Managed Apache Solr for agents: hybrid BM25+kNN search, server-side embeddings, RAG answers

About

Managed Apache Solr for agents: hybrid BM25+kNN search, server-side embeddings, RAG answers

Security Report

0.0
Use Caution0.0Moderate Risk

6 tools verified · Open access · No issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Remote servers are capped at 8.0 because source code is not available for review. The score reflects endpoint verification only.

What You'll Need

Set these up before or after installing:

Opensolr account email (free account: https://opensolr.com/register)Optional

Environment variable: OPENSOLR_EMAIL

Opensolr API key (Account > API in the control panel)Required

Environment variable: OPENSOLR_API_KEY

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "com-opensolr-opensolr-mcp": {
      "env": {
        "OPENSOLR_EMAIL": "your-opensolr-email-here",
        "OPENSOLR_API_KEY": "your-opensolr-api-key-here"
      },
      "args": [
        "opensolr-mcp"
      ],
      "command": "uvx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

opensolr-mcp

mcp-name: com.opensolr/opensolr-mcp

MCP (Model Context Protocol) server for Opensolr — gives any AI agent managed Apache Solr search as tools: hybrid (BM25 + kNN) retrieval, server-side GPU embeddings, document indexing, and grounded RAG answers.

No embedding model to configure. No vector database to run. One API key.

Tools

ToolWhat it does
opensolr_searchHybrid (keyword + semantic) or pure semantic search, with Solr filters
opensolr_ai_answerGrounded RAG answer generated only from your indexed content
opensolr_add_documentsIndex plain text + metadata (embedded server-side)
opensolr_delete_documentsRemove documents by id
opensolr_list_indexes / opensolr_index_infoInspect the account's indexes
opensolr_create_indexProvision a vector-enabled index (us, de, fi)
opensolr_vector_regionsLive list of vector-enabled regions

Setup

Get a free Opensolr account (15-day trial, no card) at opensolr.com/register and copy your API key from Account.

Claude Desktop / Claude Code

{
  "mcpServers": {
    "opensolr": {
      "command": "uvx",
      "args": ["opensolr-mcp"],
      "env": {
        "OPENSOLR_EMAIL": "you@example.com",
        "OPENSOLR_API_KEY": "YOUR_OPENSOLR_API_KEY"
      }
    }
  }
}

Cursor / Windsurf / any MCP client

Same shape — stdio transport, command uvx opensolr-mcp (or pipx run opensolr-mcp), with OPENSOLR_EMAIL and OPENSOLR_API_KEY in env.

Example agent session

You: Index our FAQ answers, then find everything about refunds.

The agent calls opensolr_add_documents(index="faq__dense", texts=[...]), then opensolr_search(index="faq__dense", query="refund policy", hybrid=True) — BM25 catches the exact word "refund", kNN catches "giving customers their money back", and the scores fuse per document.

Notes

  • Vector-enabled indexes run on Opensolr's Solr 9.x environments — currently us (Chicago), de (Germany), fi (Finland), fetched live via opensolr_vector_regions. Additional dedicated regions can be deployed on request (paid add-on): support@opensolr.com.
  • Every index is also plain Apache Solr with the native /select API — nothing is locked behind the tools.
  • Python sibling for LangChain: langchain-opensolr · Product page: opensolr.com/langchain

MIT license.

Reviews

No reviews yet

Be the first to review this server!

Opensolr MCP Server - Managed Apache Solr for agents: hybrid BM25+kNN search, | MCP Marketplace