Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.4.0 instead.
Reason given by maintainers: Security: a stray .env file could make the local server listen over HTTP with no sign-in. Fixed in 1.0.1.

second-brain-joplin

CI PyPI

An MCP server that turns your Joplin knowledge base into searchable memory for any MCP-capable AI client — Claude Code, Cursor, and others.

Inspired by second-brain-mcp (for Obsidian). This project covers the same use case for Joplin: your AI assistant reads, searches, and files notes directly, without leaving the tool you already use.

Status: Pre-alpha — the four read tools and semantic search are live; remote access is in progress (v0.4), and note creation is still stubbed (human-gated write lands in v0.5). See the roadmap and open issues.


How it works

Joplin Desktop exposes a local REST API on localhost:41184 (the Web Clipper service). This server wraps that API as MCP tools, so your AI client can query and update your notes in real time — no export step, no sync lag.

Claude Code / Cursor
       │  MCP
       ▼
second-brain-joplin (this server)
       │  HTTP + token
       ▼
Joplin Desktop (localhost:41184)
       │
       ▼
Your notes

Prerequisites

  • Joplin Desktop running with the Web Clipper service enabled:
    Tools → Options → Web Clipper → Enable Web Clipper Service
  • API token — copy it from the Web Clipper settings panel
  • Python ≥ 3.11 or uvx (recommended — no install needed)

Quickstart

Claude Code

claude mcp add -s user second-brain-joplin \
  -e JOPLIN_API_TOKEN=your-token-here \
  -- uvx second-brain-joplin serve

Other MCP clients

Setting Value
Command uvx second-brain-joplin serve
JOPLIN_API_TOKEN token from Joplin Web Clipper settings
JOPLIN_BASE_URL http://localhost:41184 (default)

See docs/install.md for per-client setup guides.


MCP Tools

Tool Description Writes?
joplin_overview List all notebooks with note counts No
joplin_search Keyword search across all notes No
joplin_read Read a note by ID No
joplin_recent Notes modified in the last N days No
joplin_semantic_search Find notes by meaning (embeddings) No
joplin_reindex Build/refresh the semantic index No
joplin_create Create a note (human-gated) Yes

The read tools query a running Joplin instance as of v0.2. Semantic search (joplin_semantic_search / joplin_reindex) landed in v0.3 and needs the optional [semantic] extra (see Semantic search). joplin_create is still stubbed; the human-gated write flow is tracked in the v0.5 milestone.


Semantic search finds notes by meaning, complementing the keyword joplin_search. It embeds your notes locally and stores the vectors in a persistent on-disk index; queries return the closest notes with a similarity score.

It ships behind an optional extra so the base install stays light:

# Claude Code (note the quotes around the package+extra)
claude mcp add -s user second-brain-joplin \
  -e JOPLIN_API_TOKEN=your-token-here \
  -- uvx --from "second-brain-joplin[semantic]" second-brain-joplin serve

The default stack is FastEmbed (ONNX, no PyTorch) with sqlite-vec. You can swap either backend via env vars (e.g. bge-m3 via sentence-transformers, or a ChromaDB store) — see docs/semantic-search.md.

Call joplin_reindex once to build the index (this downloads the embedding model the first time). After that, joplin_semantic_search keeps the index fresh incrementally — only notes changed since the last sync are re-embedded.


vs. second-brain-mcp (Obsidian)

second-brain-mcp second-brain-joplin
Note app Obsidian Joplin
Storage Plain .md files on disk Joplin REST API
Requires app running No Yes (Joplin + Web Clipper)
Semantic search Yes (bge-m3) Yes (FastEmbed / bge-m3)
Write support Human-gated Human-gated (v0.5)
Install uvx second-brain-mcp uvx second-brain-joplin

Notebook structure

The PARA method works well with Joplin. See docs/notebook-structure.md for a recommended setup.


Roadmap

Milestone Theme Status
v0.1 — Bootstrap Repo, CI, package skeleton Done
v0.2 — Core Read Tools All read MCP tools working Done
v0.3 — Semantic Search Embedding index, semantic search Done
v0.4 — Remote Access Streamable HTTP, GitHub sign-in, Claude custom connector In progress
v0.5 — Write Workflow Human-gated note creation Planned
v1.0 — Publish PyPI, full docs, templates Planned

Security & privacy

This server keeps your notes local: it talks only to Joplin's Web Clipper REST API on localhost and runs on your own machine. Anything an MCP client can read, the connected AI can read — so apply least privilege and don't expose notebooks with credentials or other sensitive data. Note creation is planned as an explicit human-gated flow (v0.5); until then the server does no silent writes.

Two caveats apply once you enable semantic search: it writes a local index (under your XDG data dir by default) that stores note text excerpts and titles alongside the embeddings, and it downloads the embedding model once over the network on the first reindex. Your note content is embedded locally and never leaves your machine. See SECURITY.md for details and how to report a vulnerability.


Contributing

See CONTRIBUTING.md. Issues and PRs welcome — especially for testing against different Joplin versions and OS platforms.


License

MIT — see LICENSE.

Metadata

Release files for second-brain-joplin 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for second-brain-joplin 0.3.0
File Size Uploaded Provenance Actions
second_brain_joplin-0.3.0.tar.gz 402.5 kB With provenance Details for second_brain_joplin-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for second-brain-joplin 0.3.0
File Interpreter ABI Platform Actions
second_brain_joplin-0.3.0-py3-none-any.whl Python 3 none any Details for second_brain_joplin-0.3.0-py3-none-any.whl

Total release size: 426.5 kB

Release files / second_brain_joplin-0.3.0.tar.gz

Download URL second_brain_joplin-0.3.0.tar.gz
Size 402.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b2092464f11aabf507dd18bb0f3f9562a05ba219d168d5ade7419cd337293004
BLAKE2b-256 checksum
How to use checksums
d5d13a416e445dbb5bf916f4e1a8d1d602e7be01f045e6ba61c68d3c70427ac2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / second_brain_joplin-0.3.0-py3-none-any.whl

Download URL second_brain_joplin-0.3.0-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1d331e10eeca9cd2db0cb74b67f5fabd6b30a7096f8ef22bfe2d588b4b72313
BLAKE2b-256 checksum
How to use checksums
4d3f622681c9c778f1cf69a95f1c13d45bd045d1d42536c569e01d5c88ec71c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for second-brain-joplin 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for second_brain_joplin-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page