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
| Tool | What it does |
|---|---|
opensolr_search |
Hybrid (keyword + semantic) or pure semantic search, with Solr filters |
opensolr_ai_answer |
Grounded RAG answer generated only from your indexed content |
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 |
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=[...]), 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.
Notes
- Vector-enabled indexes run on Opensolr's Solr 9.x environments — currently
us(Chicago),de(Germany),fi(Finland), fetched live viaopensolr_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
/selectAPI — nothing is locked behind the tools. - Python sibling for LangChain:
langchain-opensolr· Product page: opensolr.com/langchain
MIT license.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opensolr_mcp-0.1.2.tar.gz.
File metadata
- Download URL: opensolr_mcp-0.1.2.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
678488547156d73a9449fd838dd8cfd2a905bf21fe748a52b12807ef1201dbdd
|
|
| MD5 |
665b8c020835c4d46645116f732ec47c
|
|
| BLAKE2b-256 |
6c32fe168d0f6989030ab62ebec12294600b97a12d32ed498eefb4deafb5fa33
|
File details
Details for the file opensolr_mcp-0.1.2-py3-none-any.whl.
File metadata
- Download URL: opensolr_mcp-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e15d1bf942e802cbffbbb25bac323e15956fa1eac50209afd2f17f956e4f21f
|
|
| MD5 |
71a02afc0db27480152c35e228f170e0
|
|
| BLAKE2b-256 |
33afc8376cb799ba8251077f2d06d501093682529937c1ae82bb8d60d4fc410f
|