MCP connector for Junê — give any agent (Claude, Cursor, Gemini CLI…) a persistent, cited knowledge graph. pip install june-mcp
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add june-mcp -- python -m june-mcp{
"mcpServers": {
"june-mcp": {
"command": "python",
"args": ["-m", "june-mcp"],
"env": {
"JUNE_BASE_URL": "<june_base_url>",
"JUNE_API_KEY": "<june_api_key>",
"JUNE_LLM_KEY": "<june_llm_key>"
}
}
}
}JUNE_BASE_URLJUNE_API_KEYJUNE_LLM_KEYMCP Servers overview
# june-mcp
<!-- mcp-name: io.github.Junemind/june-mcp -->
**Give your agent a memory.** `june-mcp` is the official [MCP](https://modelcontextprotocol.io)
server for [Junê](https://june.januraine.ai) — it connects any MCP host (Claude Desktop, Claude
Code, and friends) to a June knowledge graph, so your agent can *ask*, *search*, and *remember*
against a shared, cited, tenant-isolated memory.
This package is a thin, zero-logic connector: all retrieval, graph assembly, and answering happen
on the June endpoint you point it at. No engine code lives here — which is why it's small enough
to read in one sitting.
```
Claude Desktop / Claude Code ──stdio──▶ june-mcp ──HTTPS──▶ your June endpoint
(graph · retrieval · answers)
```
## Install
```bash
pip install june-mcp # just the connector (or: pipx install june-mcp)
pip install june-ai # umbrella: june-mcp + june-bench (the benchmark suite)
pip install "june-bench[mcp]" # the bench, with the connector as an extra
```
## Point it at a June endpoint
`june-mcp` speaks to any June service. Three ways to have one:
1. **Junê desktop app (local-first).** Run the [Junê app](https://github.com/Junemind/June_releases)
and connect to its local engine — your files, graph, and keys stay on your machine.
2. **Your own June service.** Pro/Team customers running the `june-local` engine package point
`JUNE_BASE_URL` at their own server.
3. **Hosted (Team).** Point at your hosted June workspace endpoint with the API key from your
console.
## Configure
The server is **fail-closed**: it refuses to start unless it knows where to connect and as whom,
and tells you *everything* that's missing in one message (not one error at a time).
| env | required | meaning |
|---|---|---|
| `JUNE_BASE_URL` | ✅ | Your June endpoint, e.g. `http://localhost:8000` |
| `JUNE_CANVAS` | ✅ | The canvas (workspace) to bind this connection to — a **name** (`work`) or a canvas id. Names resolve to the id at startup; ambiguous names fail closed |
| `JUNE_CANVAS_CREATE` | optional | `1` creates the named canvas on first run if it doesn't exist yet (refused in read-only mode) |
| `JUNE_API_KEY` | ✅ | Your June API key (`JUNE_ALLOW_ANON=1` explicitly opts out for keyless local setups) |
| `JUNE_LLM_KEY` | optional | **Bring-your-own LLM key** for cited answers — forwarded per-request as a header, never logged, never stored on the service |
| `JUNE_READONLY` | optional | `1` hides + refuses all write tools (memory becomes read-only) |
| `JUNE_FILES_ROOT` | optional | Opt-in directory agents may upload files from via `june_ingest_file` — unset ⇒ that tool doesn't exist |
| `JUNE_TIMEOUT_READ` / `JUNE_TIMEOUT_ANSWER` | optional | Per-verb timeouts (defaults 15 s / 120 s) |
| `JUNE_LOG_LEVEL` | optional | Logging is stderr-only by design — stdout is the MCP wire |
## Check it before your agent does
```bash
JUNE_BASE_URL=http://localhost:8000 JUNE_API_KEY=... JUNE_CANVAS=work june-mcp --doctor
```
The doctor verifies, in order: config → service reachable → canvas resolution (your canvas
*name* → its id, e.g. `name "work" → 9147bee6-…`) → search seam healthy → tool manifest, and
prints PASS/FAIL per check with a mapped hint (e.g. a missing name lists the canvases that DO
exist and points at `JUNE_CANVAS_CREATE=1`). The doctor exits `0` only when every check passes
(`1` otherwise); the server itself exits `2` on a config error instead of starting half-wired.
Run the doctor first; it catches every common misconfiguration before your agent ever sees the server.
## Wire it into Claude
**Claude Desktop** — merge into `claude_desktop_config.json` (Settings → Developer):
```json
{
"mcpServers": {
"june": {
"command": "june-mcp",
"env": {
"JUNE_BASE_URL": "http://localhost:8000",
"JUNE_API_KEY": "your-key",
"JUNE_CANVAS": "work",
"JUNE_LLM_KEY": "your-llm-provider-key"
}
}
}
}
```
**Claude Code:**
```bash
claude mcp add june -e JUNE_BASE_URL=http://localhost:8000 \
-e JUNE_API_KEY=your-key -e JUNE_CANVAS=work \
-e JUNE_LLM_KEY=your-llm-provider-key -- june-mcp
```
Fully restart the host (Cmd+Q on macOS), then check the server shows **10 tools**
(11 when you opt into `june_ingest_file` via `JUNE_FILES_ROOT`).
## The tools
| tool | what your agent gets |
|---|---|
| `june_answer` | A grounded, **cited** answer from the graph — abstains rather than guesses |
| `june_search` | Ranked evidence for a query (supports multi-hop) |
| `june_context` | An assembled context pack under a token budget |
| `june_neighborhood` | The graph around one node |
| `june_subgraph` | A bounded subgraph export |
| `june_remember` | Write a fact/note into the graph (becomes retrievable + citable immediately) |
| `june_ingest` | Structured node/edge ingestion |
| `june_enumerate` | EVERY node matching a predicate — recall-complete "list ALL X" (not top-k) |
| `june_ingest_file` | Upload one local file (pdf/docx/xlsx/csv/html/md/images/audio) from the operator-approved folder — *only exists when you set `JUNE_FILES_ROOT`* |
| `june_enrich` | **Pro:** background re-extraction of the canvas with the richer engine (idempotent; job + poll; 403 on free) |
| `june_resolve` | Maintenance: merge duplicate entities via reversible `same_as` edges (runs server-side; `strong_only=false` unlocks the semantic tier on Pro) |
Descriptions are written for the agent (what → when → returns), and every clamped input is
*visibly* noted back to the agent instead of silently truncated.
## Free vs Pro — the `june-pro` tag
`june-mcp` is one package for everyone; there is no separate "pro build". **Pro is a property
of the endpoint**, not the connector: connect to a Pro-activated June (a Pro license in the
app, a Pro key on a hosted workspace) and the same tools carry Pro-grade results: every
`june_remember` and `june_ingest_file` write runs the richer entity/edge engines automatically
(the result reports which `engine` ran), `june_resolve` upgrades to semantic matching, and
`june_enrich` backfills memories that were written on the free floor before you upgraded. The
terminal shows which world you're in: `--doctor` prints an `edition` line and the server's
startup banner tags the connection —
```
june-mcp: connected http://localhost:8000 canvas name "work" → 11d2… [june-pro]
```
The tag is read from the service's own `/v1/whoami` (the same entitlement state that gates
Pro routes server-side), so it can't disagree with what you actually get — and it's
display-only: entitlements are enforced on the service no matter what any client prints.
Older services without `/v1/whoami` simply show no tag.
## Security model
The tool surface exposes **no canvas/workspace parameter** — the workspace is bound server-side
from your connection's context, fail-closed. A cross-tenant read isn't a permission check that
could fail open; it's *unrepresentable* from the client. `JUNE_READONLY=1` adds a second fence
for read-only deployments. Your BYO LLM key rides each answer request as a header and is never
persisted or logged by the service.
## Errors
Every upstream failure maps to a typed, redacted error payload (built from exception type +
HTTP status only — never from response bodies), so the server survives anything the endpoint
throws and your agent sees a clean, actionable message.
## License
MIT. The Junê engine itself is a separate, closed-source product — this connector is the open
part, by design.
What people ask about june-mcp
What is Junemind/june-mcp?
+
Junemind/june-mcp is mcp servers for the Claude AI ecosystem. MCP connector for Junê — give any agent (Claude, Cursor, Gemini CLI…) a persistent, cited knowledge graph. pip install june-mcp It has 0 GitHub stars and its last recorded update is dated 2026-08-05.
How do I install june-mcp?
+
You can install june-mcp by cloning the repository (https://github.com/Junemind/june-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is Junemind/june-mcp safe to use?
+
Our security agent has analyzed Junemind/june-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains Junemind/june-mcp?
+
Junemind/june-mcp is maintained by Junemind. The last recorded GitHub activity is dated 2026-08-05, with 0 open issues.
Are there alternatives to june-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy june-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/junemind-june-mcp)<a href="https://claudewave.com/repo/junemind-june-mcp"><img src="https://claudewave.com/api/badge/junemind-june-mcp" alt="Featured on ClaudeWave: Junemind/june-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!