search
canonical query tool that unifies glob path search, regex grep, and literal substring search; excludes hidden and .gitignored paths by default and supports regex/text search against a single file path
How to use it
search is exposed by the Notion Local Ops MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the search tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Notion Local Ops MCP
pip install -e ".[dev]"Other tools in Notion Local Ops MCP (23)
default edit tool for existing files; uses Begin Patch / Update File syntax, rejects pure-context hunks, requires unique context matches, and returns per-file change stats/warnings
bind the current process to a relay run so subsequent tool calls are mirrored
stop a delegated or background shell task
unbind; equivalent to bindrelayrun with a null requestid
send a task to local codex or claude-code, with optional goal, acceptancecriteria, verificationcommands, and commitmode
inspect current session/effective working directory
read task status and output tail
line-level blame metadata for a file/range
stage selected paths or all changes and create a commit (amend / allowempty / author / signoff / dryrun)
structured diff output grouped by file with per-file truncation
recent commit history
inspect metadata and per-file diff for a commit/ref
structured repository status (use when cwd is inside a git repo)
list files and directories with pagination; excludes hidden/junk dirs and respects .gitignore by default
discover project and global skills with name and description summaries
clean old task artifacts from STATEDIR/tasks with dry-run support
canonical single/batch reader with line-based pagination (startline/linelimit), optional includelinenumbers, and language hint
run local shell commands, optionally in background
start a background shell job and poll output by task id; this is the preferred route for long tests/builds/installs
inspect runtime config and the registered MCP tool list
set session default working directory for subsequent calls
block until a delegated or background shell task completes or times out
write full file content, supports dryrun