# com.opensolr/opensolr-mcp (pypi · opensolr-mcp)

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

- Trust score: 66/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-20

## Components

- pypi · `opensolr-mcp`: 66/100 (this document), [markdown](https://verifymcp.io/servers/com-opensolr-opensolr-mcp/opensolr-mcp.md), [page](https://verifymcp.io/servers/com-opensolr-opensolr-mcp/opensolr-mcp)

## Channel facts

- Registry: `pypi`
- Package: `opensolr-mcp`
- Version: `0.2.6`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-20.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - Runs setuptools.build_meta at install time, a recognised native-build step with no shell scripting around it.
  - 2 of 33 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 5 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 72/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 914 tokens (~101/item across 9 items; 9 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 71/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 0% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### Claude

```bash
claude mcp add com-opensolr-opensolr-mcp -- uvx opensolr-mcp
```

### Codex

```bash
codex mcp add com-opensolr-opensolr-mcp -- uvx opensolr-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "com-opensolr-opensolr-mcp": {
      "type": "local",
      "command": [
        "uvx",
        "opensolr-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add com-opensolr-opensolr-mcp --command uvx --arg opensolr-mcp
```

### Hermes

```yaml
mcp_servers:
  com-opensolr-opensolr-mcp:
    command: "uvx"
    args: ["opensolr-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "com-opensolr-opensolr-mcp": {
      "command": "uvx",
      "args": [
        "opensolr-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-19 (score 66, 0)

- [functional regression] Security disclosure: unverified → fail

### 2026-08-18 (score 66, 0)

- [functional regression] Security disclosure: fail → unverified

### 2026-08-14 (score 66)

First indexed and scored.

## MCP tools (9)

### `opensolr_search` (~177 tokens)

Search an Opensolr index and return the k most relevant documents.

search_mode: "hybrid" (default — BM25 + semantic kNN fused per document),
"semantic" (pure kNN), or "lexical" (pure keyword edismax — no embedding
call, zero AI quota, works on ANY index including non-vector ones).
For hybrid: mode is union / keywords_required / meaning_required /
intersection, alpha balances semantic (0) vs lexical (1).
filter_query accepts a raw Solr fq expression, e.g. 'meta_category:"docs"'.

Input parameters:

- `alpha` (number)
- `filter_query`
- `index` (string, required)
- `k` (integer)
- `mode` (string)
- `query` (string, required)
- `search_mode` (string)

Output parameters:

- `result` (array)

### `opensolr_ai_answer` (~219 tokens)

Ask a question and get a grounded RAG answer generated ONLY from the
content already indexed in the given Opensolr index. Retrieval runs
through the platform's tuned hybrid pipeline (the index's saved Search
Tuning applies automatically) — the top rag_docs hits (first rag_words
words of text each) become the LLM context, the same pipeline as the
hosted search UI. filter_query optionally narrows retrieval with a raw
Solr fq expression; instruction optionally replaces the default prompt
(e.g. "Answer in German", "Extract a list of people"); tuning optionally
overrides retrieval knobs per call (fw_title, fw_description, fw_uri,
fw_text, lexical_weight, vector_weight, vector_topk, search_mode,
quality_boost, min_score, mm).

Input parameters:

- `filter_query`
- `index` (string, required)
- `instruction`
- `query` (string, required)
- `rag_docs` (integer)
- `rag_words` (integer)
- `tuning`

Output parameters:

- `result` (string)

### `opensolr_list_indexes` (~23 tokens)

List all search indexes in the connected Opensolr account.

Output parameters:

- `result` (array)

### `opensolr_index_info` (~40 tokens)

Get connection details for an index: Solr URL, version, environment.
(Credentials are intentionally not returned.)

Input parameters:

- `index` (string, required)

Output parameters:

- `result` (object)

### `opensolr_add_documents` (~161 tokens)

Index plain-text documents via the Opensolr Data Ingestion API.

Ingestion is ASYNC: embeddings, sentiment, and all derived fields are
computed server-side and documents become searchable within about a
minute (progress is visible in the Opensolr Control Panel). With
wait=true (default) this blocks until the job completes. Metadata keys
become filterable meta_* fields; metadata "uri" (a real URL) is used as
the document identity — the Solr id is md5(uri). Returns job info and
the resulting Solr document ids.

Input parameters:

- `ids`
- `index` (string, required)
- `metadatas`
- `texts` (array, required)
- `wait` (boolean)

Output parameters:

- `result` (object)

### `opensolr_ingest_status` (~49 tokens)

Status of a Data Ingestion job (state, processed/success/failed doc
counts). Also visible in the Opensolr Control Panel.

Input parameters:

- `job_id` (string, required)

Output parameters:

- `result` (object)

### `opensolr_delete_documents` (~68 tokens)

Delete documents by ids (Solr ids or your original ids) or by a raw
Solr query, e.g. 'meta_category:"drafts"' or '+id:"abc123"'.

Input parameters:

- `ids`
- `index` (string, required)
- `query`

Output parameters:

- `result` (string)

### `opensolr_create_index` (~72 tokens)

Create a new vector-enabled Opensolr index. location: us, de, fi, or
any environment id from opensolr_vector_regions. Additional dedicated
regions can be deployed on request (support@opensolr.com).

Input parameters:

- `index` (string, required)
- `location` (string)

Output parameters:

- `result` (object)

### `opensolr_vector_regions` (~37 tokens)

List the vector-enabled Opensolr environments currently available
(Solr 9.x with dense vectors and the hybrid query parser).

Output parameters:

- `result` (array)

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Dependencies. The full working is on the page: https://verifymcp.io/servers/com-opensolr-opensolr-mcp/opensolr-mcp#diagnostics

## Score history

- 2026-08-20: 66
- 2026-08-19: 66
- 2026-08-18: 66
- 2026-08-17: 66
- 2026-08-16: 66
- 2026-08-15: 66
- 2026-08-14: 66

## Links

- PyPI project: https://pypi.org/project/opensolr-mcp/
- Socket report: https://socket.dev/pypi/package/opensolr-mcp
- Repository: https://github.com/phpcip/opensolr-mcp
- Website: https://opensolr.com/mcp
- Changelog RSS feed: https://verifymcp.io/servers/com-opensolr-opensolr-mcp/opensolr-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/com-opensolr-opensolr-mcp/opensolr-mcp.json
- HTML version of this page: https://verifymcp.io/servers/com-opensolr-opensolr-mcp/opensolr-mcp
