Skip to main content
Glama
WeRead MCP Server

WeRead MCP Server

by aixiasang

WeRead MCP Server

MCP server for WeRead with SQLite caching.

  • Sync bookshelf, highlights, thoughts from WeRead API

  • Local SQLite cache with TTL-based refresh

  • 14 tools: bookshelf, book info, highlights, search, export, etc.

Quick Start

  1. Open https://weread.qq.com and login

  2. F12 → Application → Cookies → weread.qq.com

  3. Copy cookie string

Required cookie fields:

Field

Description

Example

wr_vid

User ID

12345678

wr_skey

Session key, expires in ~2h

AbcdEfg

wr_rt

Auth token

web@xxx...

Full cookie format: wr_vid=xxx; wr_skey=xxx; wr_rt=xxx; ...

2. Configure MCP

{
  "mcpServers": {
    "weread": {
      "command": "weread-mcp",
      "env": {
        "WEREAD_COOKIE": "wr_vid=xxx; wr_skey=xxx; wr_rt=xxx; ...",
        "WEREAD_DATA_DIR": "~/.weread",
        "WEREAD_CACHE_TTL": "300"
      }
    }
  }
}

Environment variables:

Variable

Required

Default

Description

WEREAD_COOKIE

Yes

-

Cookie string from browser

WEREAD_DATA_DIR

No

~/.weread

Cache directory path

WEREAD_CACHE_TTL

No

300

Cache TTL in seconds

Related MCP server: Sensefold MCP server

Tools

Tool

Description

get_bookshelf

List all books

get_book_info

Book details

get_book_chapters

Table of contents

get_book_bookmarks

Highlights

get_book_reviews

Thoughts

get_book_notes

Export as Markdown

get_reading_progress

Progress %

get_finished_books

Completed books

get_notebooks

Books with notes

search_books

Search by title/author

search_notes

Search highlights

sync_shelf

Force sync

sync_all_bookmarks

Sync all highlights

get_cache_stats

Cache info

All tools support force param to bypass cache.

Disclaimer

⚠️ For educational and personal use only.

  • Comply with Tencent ToS and WeRead User Agreement

  • Do not use for commercial purposes

  • Do not share your cookie

  • Authors not responsible for misuse

License

MIT

Available Tools

14 tools
get_book_bookmarksGet Book BookmarksB

Get book highlights/underlines.

Inputs: book_id (required), force. Returns: result

get_book_chaptersGet Book ChaptersC

Get book table of contents.

Inputs: book_id (required), force. Returns: result

get_book_infoGet Book InfoC

Get book details.

Inputs: book_id (required), force. Returns: result

get_book_notesGet Book NotesB

Export book notes as Markdown.

Inputs: book_id (required), force. Returns: result

get_book_reviewsGet Book ReviewsC

Get book thoughts/comments.

Inputs: book_id (required), force. Returns: result

get_bookshelfGet BookshelfC

Get user's bookshelf.

Inputs: force. Returns: result

get_cache_statsGet Cache StatsB

Get local cache statistics.

Inputs: no named parameters. Returns: result

get_finished_booksGet Finished BooksC

Get books with 100% progress.

Inputs: force. Returns: result

get_notebooksGet NotebooksC

Get books that have highlights or thoughts.

Inputs: force. Returns: result

get_reading_progressGet Reading ProgressC

Get reading progress.

Inputs: book_id (required), force. Returns: result

search_booksSearch BooksA

Search books in local cache by title/author/category.

Inputs: keyword (required), limit. Returns: result

search_notesSearch NotesB

Search highlights and thoughts in local cache.

Inputs: keyword (required). Returns: result

sync_all_bookmarksSync All BookmarksC

Sync bookmarks for all books. May take a while.

Inputs: force. Returns: result

sync_shelfSync ShelfC

Sync bookshelf from API to local cache.

Inputs: force. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 14 tools

    Disambiguation4/5

    Most tools target clearly distinct concepts (progress, bookshelf, chapters, cache stats), and descriptions differentiate cache-backed search from live API sync. The boundary is fuzzier among get_notebooks / get_book_bookmarks / get_book_reviews / get_book_notes, which all deal with highlights and thoughts and could be confused by an agent. Overall mostly distinct with a small cluster of overlapping read tools.

    Naming Consistency5/5

    Every tool is snake_case and follows a verb_noun convention: get_* for reads, search_* for cache queries, sync_* for write-to-cache operations. Resource nouns are used consistently (book_info, book_chapters, book_bookmarks, book_reviews, book_notes).

    Tool Count4/5

    14 tools sit comfortably in the well-scoped range and the surface is cohesive around a reading app. There is mild redundancy (get_bookshelf vs sync_shelf, get_notebooks overlapping the per-book notes tools), but nothing excessive.

    Completeness4/5

    The read-side lifecycle is well covered: shelf, book metadata, chapters, progress, finished books, highlights, thoughts, notes export, plus cache search/sync/stats. The main gaps are write operations (e.g. creating or editing highlights/thoughts) and filtering/pagination options on the note retrieval tools, both of which limit advanced workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Transforms Kindle highlight exports into structured personal memory summaries saved to Notion. Parses HTML and text files to generate book insights including themes, key ideas, and actionable takeaways using the host model's context window without external AI API calls.
      5
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI clients like Claude, ChatGPT, and Cursor to search, read, and write back to one cross-model Markdown library of saved articles, videos, PDFs, notes, and conversations. Hosted remote server with OAuth 2.1 or Agent-key auth and read_only, edit, or full permission tiers.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to read and search Kindle highlights and notes, and turns Kindle notes tagged with commands like @post, @research, and @todo into drafts, research notes, and tasks.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables shared reading between humans and AI assistants, including book import, chunked reading, margin annotations, reading progress tracking, and note exchange.
      2
      MIT