shiori-mcp
This MCP server provides a full-featured interface to manage a Shiori bookmark manager instance.
Health Check: Verify API connectivity and authentication.
List Bookmarks: Retrieve bookmarks with pagination via limit and offset.
Search Bookmarks: Search by text (matched against title, URL, or excerpt) and/or tag name.
Get Bookmark by ID: Retrieve a single bookmark using its numeric ID.
Get Bookmark by URL: Look up a single bookmark using its exact URL.
Add Bookmark: Save a new bookmark with optional title, excerpt, tags, archive flag, and public/private visibility.
Update Bookmark (Full Payload): Update a bookmark by supplying the full Shiori bookmark JSON object.
Update Bookmark Fields: Patch individual fields (title, excerpt, tags, public flag, archive flag) without constructing the full JSON manually.
Delete Single Bookmark: Remove one bookmark by ID.
Delete Multiple Bookmarks: Remove one or more bookmarks by supplying an array of IDs.
List Tags: Retrieve all tags along with their associated bookmark counts.
Rename Tag: Rename an existing tag by its ID.
List Accounts: View user accounts visible to the authenticated session.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@shiori-mcp list my bookmarks tagged 'read-later'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Shiori MCP
A Model Context Protocol (MCP) server for Shiori, the self-hosted bookmark and read-it-later manager.
Capabilities
Verify Shiori connectivity and authentication
List bookmarks
Search bookmarks by title, URL, excerpt, and tag
Get one bookmark by id or exact URL from the bookmark list
Add bookmarks with Shiori's required tag-object format
Update bookmarks via either a full-bookmark payload or common field parameters
Delete bookmarks by id list
List tags and bookmark counts
Rename tags
List accounts visible to the authenticated session
Related MCP server: Raindrop.io MCP Server
Installation
pipx install git+https://github.com/rusty4444/shiori-mcp.gitOr from a checkout:
python -m venv .venv
source .venv/bin/activate
pip install -e .Configuration
Variable | Required | Description |
| Yes | Base URL of the Shiori instance, e.g. |
| Optional | Existing Shiori session id; skips login if provided |
| Required unless session id is set | Shiori username |
| Required unless session id is set | Shiori password |
| No | HTTP timeout in seconds, default |
MCP client config
{
"mcpServers": {
"shiori": {
"command": "shiori-mcp",
"env": {
"SHIORI_BASE_URL": "https://shiori.example.com",
"SHIORI_USERNAME": "your-username",
"SHIORI_PASSWORD": "your-password"
}
}
}
}Tools
Tool | Purpose |
| Verify API connectivity/authentication |
| List bookmarks with client-side limit/offset |
| Search bookmarks by text and/or tag |
| Get one bookmark by id from the bookmark list |
| Get one bookmark by exact URL |
| Add a bookmark with optional tags/archive/public flags |
| Update a bookmark using full Shiori bookmark JSON |
| Update common fields without manually constructing full JSON |
| Delete one bookmark id |
| Delete bookmark ids from a JSON array |
| List tags and bookmark counts |
| Rename a tag |
| List accounts visible to this session |
Development and validation
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -e '.[dev]'
ruff check .
pytest
python scripts/live_docs_test.pylive_docs_test.py validates Shiori public API documentation and repository pages without credentials. Authenticated read/write API behaviours are covered with mocked HTTP tests.
Optional LLM validation can be run with any configured OpenAI-compatible endpoint. For local Aeon validation, set AEON_BASE_URL and optionally AEON_MODEL / AEON_API_KEY before running python scripts/model_validate.py.
API note
This server targets Shiori's documented legacy API under /api/* because the new API v1 is still documented as in development and self-documented at /swagger/index.html on running instances.
Safety
The write-capable tools mutate a Shiori bookmark database. Keep credentials in environment variables or a secret manager, never in source control.
This project was developed with the assistance of AI tools.
Available Tools
13 toolsshiori_add_bookmarkB
Add a bookmark to Shiori.
Inputs: url (required), title, excerpt, tags, +2 more. Returns: result
shiori_delete_bookmarkB
Delete one Shiori bookmark by id.
Inputs: bookmark_id (required). Returns: result
shiori_delete_bookmarksB
Delete one or more bookmarks by id.
Inputs: ids (required). Returns: result
shiori_get_bookmarkB
Get one Shiori bookmark by id from the bookmark list.
Inputs: bookmark_id (required). Returns: result
shiori_get_bookmark_by_urlA
Get one Shiori bookmark by exact URL from the bookmark list.
Inputs: url (required). Returns: result
shiori_health_checkA
Verify Shiori API connectivity and authentication with a small read-only request.
Inputs: no named parameters. Returns: result
shiori_list_accountsA
List Shiori user accounts visible to the authenticated session.
Inputs: no named parameters. Returns: result
shiori_list_bookmarksC
List Shiori bookmarks from the default Shiori bookmarks endpoint.
Inputs: limit, offset. Returns: result
shiori_list_tagsA
List Shiori tags and bookmark counts.
Inputs: no named parameters. Returns: result
shiori_rename_tagB
Rename a Shiori tag.
Inputs: tag_id (required), name (required). Returns: result
shiori_search_bookmarksB
Search Shiori bookmarks client-side by text and/or tag.
Inputs: query, tag, limit, offset. Returns: result
shiori_update_bookmarkC
Update a Shiori bookmark using the full bookmark JSON object expected by the legacy API.
Inputs: bookmark_json (required). Returns: result
shiori_update_bookmark_fieldsA
Patch common bookmark fields by fetching the current bookmark, modifying it, then sending Shiori's full update payload.
Inputs: bookmark_id (required), title, excerpt, public, +2 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Most tools target distinct resources and actions, but update_bookmark and update_bookmark_fields could be confused, as could get_bookmark_by_url and search_bookmarks when looking for a URL. The descriptions mostly clarify the boundaries, so misselection risk is modest.
Tool names follow a mostly consistent shiori_<verb>_<noun> snake_case pattern. The main deviation is shiori_health_check, which reads as a noun phrase rather than verb_noun, but the overall naming style is still predictable and uniform.
13 tools is well within the recommended range for a bookmark manager. Each tool covers a meaningful operation without feeling redundant, and the set is neither too thin nor overweighted.
The tool set covers bookmark CRUD, search, bulk deletion, tag listing/renaming, and account visibility, leaving no obvious dead ends for the core domain. Tag creation and deletion are naturally handled through bookmark updates, so the lifecycle appears complete.
Maintenance
Related MCP Connectors
Search, save, tag, and summarize the links in your Link Crypt bookmark library.
Search, label, and manage your X (Twitter) bookmarks from any MCP client via Tweetsmash
Search and chat with your X bookmarks, with citations back to the original posts.
Search and read your saved X (Twitter) bookmarks, likes, images, tags, and threads (read-only).
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Anybox bookmark manager on macOS, allowing users to search, save, and organize bookmarks with tags and folders through natural language.16-
- FlicenseAqualityDmaintenanceEnables to manage Raindrop.io bookmarks programmatically—add, search, and organize bookmarks from LLM apps.415-
- AlicenseBqualityFmaintenanceEnables AI assistants to interact with a Shlink URL shortening instance, allowing creation, listing, retrieval, and deletion of short URLs, as well as tag management.54Apache 2.0
- AlicenseAqualityBmaintenanceEnables searching and managing Raindrop.io bookmarks via the official REST API, including listing collections, retrieving bookmarks, and creating or updating bookmarks.6MIT