Managed Apache Solr for agents: hybrid BM25+kNN search, server-side embeddings, RAG answers
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Opensolr MCP.
opensolr_searchHybrid (keyword + semantic) or pure semantic search, with Solr filters
opensolr_ai_answerGrounded RAG answer: top hybrid hits become the LLM context β same pipeline as the hosted search UI
opensolr_add_documentsIndex plain text + metadata (embedded server-side)
opensolr_delete_documentsRemove documents by id
opensolr_list_indexesInspect the account's indexes
opensolr_create_indexProvision a vector-enabled index (`us`, `de`, `fi`)
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.
See it live (real news index, hybrid + AI answer): https://search.opensolr.com/news__dense?q=how+am+I+supposed+to+save+money%3F
No embedding model to configure. No vector database to run. One API key.
| Tool | What it does |
|---|---|
opensolr_search | Hybrid (keyword + semantic) or pure semantic search, with Solr filters |
opensolr_ai_answer | Grounded RAG answer: top hybrid hits become the LLM context β same pipeline as the hosted search UI |
opensolr_add_documents | Index plain text + metadata (embedded server-side) |
opensolr_delete_documents | Remove documents by id |
opensolr_list_indexes / opensolr_index_info | Inspect the account's indexes |
opensolr_create_index | Provision a vector-enabled index (us, de, fi) |
opensolr_vector_regions | Live list of vector-enabled regions |
Get a free Opensolr account (15-day trial, no card) at opensolr.com/register and copy your API key from Account.
Same shape β stdio transport, command uvx opensolr-mcp (or
pipx run opensolr-mcp), with OPENSOLR_EMAIL and OPENSOLR_API_KEY in env.
You: Index our FAQ answers, then find everything about refunds.
The agent calls
opensolr_add_documents(index="faq__dense", texts=[...]), thenopensolr_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.
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./select API β
nothing is locked behind the tools.langchain-opensolr Β·
Product page: opensolr.com/langchainWrites go through Opensolr's Data Ingestion API
β the same pipeline the Drupal and WordPress connectors use. It is
asynchronous: documents are queued, then embeddings, sentiment, language
and all crawler-identical derived fields are computed server-side, and
documents become searchable within about a minute. Progress is visible in
Control Panel β Data Ingestion β a per-job status board (queued /
processing / completed / failed, with processed / success / failed document
counts per job) β and via the ingest_status API. Each document's
identity is its uri (the Solr id is md5(uri)): pass a real URL in
metadata ({"uri": "https://..."}), or a deterministic one is synthesized
from your id. Re-submitting the same uri updates the document. Pass
{"rtf": True, "uri": "https://.../file.pdf"} and the server extracts the
text from PDF/DOCX/XLSX for you.
Don't need vectors? Pure keyword search skips the embedding call entirely β zero AI quota, and it works on any Opensolr index, including non-vector ones and older Solr versions.
Documents follow the Opensolr document model (title, description, text,
meta_* custom fields). To see the full schema: Control Panel β click your
index β Configuration β Edit File β schema.xml. Prefer zero-effort data
entry? Configure the Web Crawler in the Control Panel (Index Tools β
WebCrawler): add your site URL, validate it, and Opensolr indexes the whole
site for you.
Retrieval (search and RAG grounding) runs through the platform's tuned
pipeline: global defaults β your index's saved Search Tuning (Control
Panel β Index Settings β Search Tuning: semanticβlexical balance, field
weights, minimum match, search mode, vector candidate pool, content quality
boost) β optional per-call overrides via tuning:
Defaults match the platform's PHP configuration exactly β customize in the Control Panel once, or per call from code.
Every release is validated against live Opensolr infrastructure β no mocks:
md5(uri) ids), deletes by id and by query.rtf:true β server-side text
extraction (13k+ chars), automatic content-type detection, then retrieved
with a purely semantic query against its contents.The tools are exercised live (search modes, ingestion with wait, status, deletes, RAG answers) before every release. RAG grounding is verified end-to-end: a question answerable only from the ingested PDF returns the correct answer sourced from the PDF's extracted text.
MIT license.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/opensolr-mcp)<a href="https://allmcps.com/mcp/opensolr-mcp"><img src="https://allmcps.com/api/badge/opensolr-mcp?style=directory" alt="Opensolr MCP on AllMCPs" /></a>