notion-lite-mcp

v1.1.0
notion-lite-mcp Checked 1 day ago Published 1 month ago

Lightweight MCP server for searching, reading, and appending to Notion pages via the official Notion API

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_notion

Search pages and databases shared with the integration by title keyword. Returns id, URL and last-edited date; paginate with cursor.

ParameterTypeDescription
query *stringSearch keyword (title or partial match)
cursorstringnext_cursor from a previous call
limitintegerMax results per call
typestringRestrict results to pages or databases

get_page

Read a Notion page as plain text, including nested blocks (toggles, lists, tables) up to max_depth. Output is capped by max_chars.

ParameterTypeDescription
page_id *stringPage ID. UUID with or without hyphens (a Notion URL ends with the 32-char ID).
max_charsintegerTruncate output beyond this many characters
max_depthintegerHow many levels of nested blocks to expand (0 = top level only)

append_to_page

Append text to the end of a page. Each non-empty line becomes a block: plain paragraph, or heading (# / ## / ###), bullet (- ), numbered (1. ), to-do (- [ ] / - [x]), quote (> ) or divider (---) by its prefix; ``` fences become code blocks (lines over 2000 characters are split; large input is sent in batches of 100 blocks). Writes to Notion and cannot be undone by this server.

ParameterTypeDescription
content *stringText to append; one block per non-empty line. Prefixes: # ## ### headings, - bullet, 1. numbered, - [ ] to-do
page_id *stringPage ID. UUID with or without hyphens (a Notion URL ends with the 32-char ID).

create_page

Create a new page under an existing page, optionally with initial content (same light Markdown as append_to_page). Writes to Notion.

ParameterTypeDescription
parent_page_id *stringParent page ID. UUID with or without hyphens (a Notion URL ends with the 32-char ID).
title *stringPage title
contentstringOptional initial content (one block per line; ``` fences for code)

list_children

List the direct child blocks of a page or block with type, preview and ID (useful to find block or child-page IDs).

ParameterTypeDescription
block_id *stringPage or block ID. UUID with or without hyphens (a Notion URL ends with the 32-char ID).

query_database

Read rows of a Notion database: title, URL and common property values. Optional filter and sorts take Notion API JSON, e.g. filter {"property":"Status","select":{"equals":"Done"}} and sorts [{"property":"Name","direction":"ascending"}]. Paginate with cursor.

ParameterTypeDescription
database_id *stringDatabase ID (from search_notion). UUID with or without hyphens (a Notion URL ends with the 32-char ID).
cursorstringnext_cursor from a previous call
filterstringNotion API filter object as JSON string (optional)
limitintegerMax rows per call
sortsstringNotion API sorts array as JSON string (optional)