MCP tools
notion-search, notion-ai-search, notion-fetch, notion-get-self, notion-get-tool-access, notion-create-attachment, notion-create-file-upload, notion-download-attachment, notion-get-file-download-urls, notion-create-pages, notion-create-database, notion-update-page, notion-convert-page-to-skill, notion-update-data-source, notion-create-view, notion-update-view, notion-move-pages, notion-duplicate-page, notion-create-comment, notion-get-comments, notion-get-async-task, notion-get-users, notion-query-data-sources, and notion-query-multiple-data-sources. Other tools on this page aren’t available in workspace-owned connections.Search Notion
Search Notion
notion-searchSearches Notion for content, or looks up a workspace user by name or email. Hosted Notion MCP sessions list this as their one content-search tool, except for the sessions described at the end of this section. Use it for every content search. You don’t need to call another tool first.The tool’s description in tools/list matches the user’s AI search access in the workspace:- When the user has AI search,
notion-searchruns AI search. It takes keywords, a page title, or a natural-language question, and it searches Notion plus connected sources available to the user, such as Slack, Mail, Calendar, Google Drive, and Jira. Keep a question under about 50 words, with one topic per call. The response reportstype: "ai_search". - When the workspace’s plan doesn’t include AI search,
notion-searchruns a keyword search in Notion. Its description adds one line saying that AI search needs a Business or Enterprise plan with Notion AI. Use short, specific keywords. - When an admin setting or a billing restriction, such as an unpaid invoice, blocks AI search,
notion-searchruns a keyword search in Notion. Its description has no upgrade line, because an upgrade wouldn’t help.
relevance stays on Notion workspace search and reports type: "workspace_search", even when the user has AI search. A connection whose selected tool list leaves out AI search also keeps its content searches on Notion workspace search.notion-search supports location (page, data source, or teamspace), creator or editor, date, title, content-status filters, sorting, and up to 50 results. In filters.created_by_user_ids and filters.edited_by_user_ids, pass "me" for the connected user. Workspace search results may include path and verification details. Fetch important matches before relying on them. Results from AI search omit verification, so fetch a Notion result with notion-fetch when verification state matters. Connected-app results can’t be fetched with notion-fetch.A filter or sort that the workspace’s plan doesn’t include doesn’t fail the call. Notion drops the unavailable options, runs the rest of the search, and adds a notices array to the response. A notice names the dropped fields, such as filters.title_only, and may include an upgrade link. Results can be broader than requested and use relevance sorting. On a plan without multiple-teamspace search, when teamspace_id and filters.teamspace_ids select different teamspaces, both are dropped. If dropping the options leaves an empty query with no supported constraint, the response returns no results and a notice asking for a non-empty query or a supported filter.notion-get-tool-access lists each restricted option under restricted_parameters with the reason it’s unavailable.query_type: "user" and a name or email. notion-search and notion-ai-search both support it, with the same requirements. Omit content filters and sorting, which return a validation_error for a user lookup. The response reports type: "user_search" and lists the matching users. A user lookup doesn’t need AI access. It requires user information capabilities, and workspace-owned MCP connections must also expose notion-get-users. AI search access alone doesn’t grant user lookup. Omit query_type, or set it to internal, for a content search.In sessions that list one search tool, notion-ai-search (ai-search for OpenAI clients) no longer appears in tools/list. It stays callable by name, so a client with a cached tool list keeps working, and it behaves as before. In new code, call notion-search.Workspace-owned connections keep the earlier behavior. A connection with a selected tool list lists exactly the tools an admin selected, which can be notion-search, notion-ai-search, or both. Use the search tool it lists, for both content search and user lookup. Its tool descriptions still say to call notion-get-tool-access first, and its access map includes ai_search only when notion-ai-search is selected. A session where Notion can’t read the user’s AI search access while it builds the tool list also gets the earlier tool list.Example prompts:- “Search for documents mentioning ‘budget approval process’”
- “Look for meeting notes from last week with John”
- “What decisions have we made about the mobile launch?”
- “Find discussions about this launch in my connected Slack and Mail”
- “Look up the workspace user with the email ada@example.com”
Search personal memories
Search personal memories
notion-memory-searchSearches the memories that the user’s connected agents saved in earlier sessions, such as context, preferences, corrections, and decisions. Pass words or a short phrase as query, up to 500 characters. limit defaults to 10 and can be at most 50. Each result has an id, title, url, and snippet.The tool returns the best matches, not every memory. To list, count, or filter memories, fetch the id memory with notion-fetch and query its data source with notion-query-data-sources. Read the notion://docs/memory MCP resource once before you first search or save memories in a conversation.Example prompts:- “What do you remember about how I like status updates written?”
- “Check my memories for the decision on the launch date”
Check tool access
Check tool access
notion-get-tool-accessReports which tools run on the connected workspace’s plan, which of their parameters are restricted, and where to upgrade. Calling it is optional, except where a workspace-owned connection’s descriptions still ask for it (see “Search Notion” above). Tools enforce their own access limits when you call them, so you don’t need to check first. Use it when your client wants plan or parameter details before calling a tool, when the user asks which Notion tools or features they can use, or after a result reports restricted access or an upgrade requirement. It reads connection metadata, so it doesn’t grant access or change the workspace.Pass tool_names to narrow the response, for example ["search", "ai_search"]. Request both search keys, because the map reports only one of them when AI search is available. Omit it to get every tool visible to the connection. Unknown names and tools the connection doesn’t expose are left out, and an empty list returns an empty map.The response contains current_tool_access, a map of tool names to their access state on this workspace’s plan. Each entry’s status is available, available_with_limit (calls can be made up to the limit included with the workspace’s plan), plan_required, upgrade_required (full access requires an upgrade; tools can still return fallback results with a notice), full_version_required, or not_enabled. An entry carries an upgrade_url when a workspace upgrade changes the status, a full_version_url when the tool needs the full version of Notion MCP, and a landing_page_url with a landing_page_action of start_trial, request_trial, or learn_more when Notion routes the user through a plan landing page.An entry can also carry restricted_parameters, a map from a parameter path such as filters.title_only to the reason it’s unavailable. These restrictions are independent of the entry’s status. Read each reason and check whether it applies to your requested value. For example, filters.teamspace_ids restricts multiple distinct teamspaces below Business; a single teamspace remains supported. Likewise, a restriction on date sorting doesn’t prevent sort: "relevance".In sessions that list one search tool, the map still reports AI search access under the key ai_search, even though tools/list doesn’t show notion-ai-search. Its status is available when the user has AI search. Otherwise it’s upgrade_required with an upgrade_url, or plan_required with a landing page, when the plan lacks AI search. It’s not_enabled when an admin setting or a billing restriction blocks AI search. When ai_search is available, the map leaves out search, even if you request it by name. Either way, keep calling notion-search. The search and ai_search entries carry the same restricted_parameters.Tools can be listed on every plan. Read this map together with each tool’s documented fallback behavior. A missing entry means the map doesn’t advertise that tool; it doesn’t identify a usable fallback. For query_data_sources, view mode is always available; Business and Enterprise plans with Notion AI can query any number of data sources, while other plans receive metered single-data-source access.Keys are the tools’ base names. A tool that appears with a notion- prefix and hyphens, such as notion-query-data-sources, corresponds to the map key with the prefix dropped and hyphens as underscores (query_data_sources).Example prompts:- “Which Notion tools can I use on this workspace’s plan?”
- “Which search filters aren’t available on this workspace’s plan?”
Identify the current connection
Identify the current connection
notion-get-selfReturns the workspace and user for the current connection. Call it with an empty object. The response contains these stable fields:workspace.idandworkspace.name: the connected workspace. The name can be an empty string.user.type:personorbot.user.idanduser.name: the connected user. The name can be an empty string.user.email: present only whenuser.typeispersonand the user has an email address.
- “Which Notion workspace and user are connected?”
- “Show the name and email address for this Notion connection”
Download a Notion Skill
Download a Notion Skill
notion-download-skillDownloads a complete Notion Skill. Pass the Skill page’s id. The response contains id, version_id, and a signed url for a tar.gz archive with SKILL.md and supporting files and folders. The URL expires after one hour. For a Skill without supporting files, the response has markdown, the full SKILL.md text with its frontmatter, instead of url. Unavailable in eval mode and workspace-owned MCP connections.Example prompts:- “Download this Skill and its supporting files for my local agent”
- “Get the complete directory for this Skill”
Upload a Notion Skill
Upload a Notion Skill
notion-upload-skillImports an Agent Skills standard directory into an existing page in a Skills database. Uploading takes three steps:- Call the tool with
action: "prepare", the targetpage_id, and the exactcontent_lengthandchecksum_crc32of thetar.gzarchive.checksum_crc32is the archive’s big-endian CRC32 encoded as Base64, such asAAAAAA==, not as hex or an integer. - Send the raw archive bytes in a
PUTrequest to the returnedupload_url, with every header inupload_headers. - Call the tool with
action: "complete", the samepage_id, and the returnedupload_token.
SKILL.md with name and description in its YAML frontmatter, either at the root or in one folder named after the Skill. Other frontmatter fields are ignored. Completing the upload replaces the page’s title, Description, body, and Files. SKILL.md becomes the page content, and the other files and folders are added to Files with their nested paths. Folders from earlier uploads aren’t deleted. To upload a new Skill, create a page in a Skills database first.Archives are limited to 20 MiB compressed, 25 MiB expanded, and 1,000 files and folders. SKILL.md can be at most 200,000 UTF-8 bytes. Other limits apply to folder depth and to path and file extension lengths. An upload that breaks any limit is rejected with a validation_error. Paths must be unique without regard to case. Links and special files are rejected. Upload URLs and tokens expire after ten minutes. Uploading never runs the Skill’s instructions or scripts. Requires the read content, insert content, and update content capabilities. Unavailable in eval mode.Example prompts:- “Upload my local
release-notesskill to this Notion Skill page” - “Replace this Skill with the updated version from my repo”
Manage enabled Skills
Manage enabled Skills
notion-get-enabled-skills lists the Notion Skills the user has enabled for MCP clients. It takes no arguments. Each entry has the Skill page’s id, a name, and a description of when to use it when one exists. Fetch a Skill’s id to read it. The list holds at most 30 Skills and has no cursor, so a user with more enabled Skills doesn’t see all of them. Long names and descriptions are shortened.notion-update-enabled-skills enables or disables Skills by page URL. Pass up to 50 URLs in add_skill_urls or remove_skill_urls. surfaces picks which settings change: mcp, notion_ai, or both. It defaults to both. The tool changes only the current user’s settings.Both tools are available only to connections a user authorized with OAuth.Example prompts:- “Which Notion Skills have I enabled for you?”
- “Turn on the ‘Weekly report’ Skill for MCP clients only”
Fetch Notion content
Fetch Notion content
notion-fetchRetrieves content from a Notion page, database, data source, or saved database view by its URL or ID. You can pass a data source ID (from collection://... tags in database responses) to fetch details about that specific data source, including its schema and properties. When fetching a database, the response includes available templates for each data source, which can be used with the create-pages and update-page tools.Fetched pages include path, page_last_edited_at, and, when available, verification.state and verification.expires_at. These fields help distinguish pages with similar titles and identify sources that Notion marks as verified.Fetched pages, including database items, include cover separately from database properties. It is null when there is no cover. Otherwise, it uses the REST API’s file object shape: type: "external" with external.url for linked or Notion gallery images, or type: "file" with file.url and file.expiry_time for uploaded images.MCP’s signed cover URLs expire after five minutes; the REST API uses one hour. Re-fetching the page returns a fresh URL. An omitted cover means the metadata is unavailable or not applicable, not that the page has no cover.Fetched pages, including database items, also include icon. It is null when there is no icon. Otherwise, it uses the REST API’s emoji and icon object shapes: type: "emoji" with emoji, type: "custom_emoji" with custom_emoji.id, custom_emoji.name, and custom_emoji.url, or type: "icon" with icon.name and icon.color for a native Notion icon. Image icons use the file object shape: type: "external" with external.url, or type: "file" with file.url and file.expiry_time for an image uploaded to Notion.Signed icon URLs expire after five minutes, the same as cover URLs, and re-fetching the page returns a fresh URL. An omitted icon means the metadata is unavailable or not applicable, not that the page has no icon. The icon field is read-only. To set or change an icon, pass the icon string that notion-create-pages and notion-update-page accept: an emoji character (e.g. ”🚀”), a custom emoji by name (e.g. “:rocket_ship:”), a Notion icon identifier as returned by fetch (e.g. “icons/pizza_blue”), or an external image URL.Page markdown cites files in page blocks by stable notion-file-block:// references and doesn’t sign them. Files in database properties are still signed inline. To get download URLs, call notion-get-file-download-urls with those references, or pass include_file_urls: true to get a references map from each reference to a signed URL. include_file_urls defaults to false.Pass a view:// URL from a database response to read a saved view’s filters, sorts, and display settings. A database URL with a ?v= parameter still returns the database. To read the rows shown by a view, use notion-query-data-sources with mode: "view".When a page is large enough that some subtrees could not be loaded, the response sets truncated to true and includes unknown_block_ids (up to 50 omitted subtree root IDs) and unknown_block_count (the total number of omitted subtree roots). Pass one of the returned IDs back to notion-fetch to retrieve that subtree directly. An ID may also represent content the caller cannot access, so treat an object_not_found error on retry as a permissions signal rather than a failure to handle.Older clients can pass the id self to get the connected workspace and user instead of a page. This path still works, but new clients should use notion-get-self.Example prompts:- “What product requirements still need to be implemented from this ticket
https://notion.com/page-url?” - “Fetch the data source
collection://f336d0bc-b841-465b-8045-024475c079ddto see its schema” - “Fetch the view
view://8ac3f3d0-1f2b-4c7e-9d51-4b0c0a9f2e77to see how it’s filtered and sorted” - “Fetch the bug tracking database so I can see the available templates”
Get file download URLs
Get file download URLs
notion-get-file-download-urlsReturns signed download URLs for files that notion-fetch output cites with notion-file-block:// references. Pass up to 25 references in references, copied exactly from the fetched markdown. Each reference resolves on its own. files lists the ones that resolved, each with reference, url, and expiry_time. unresolved lists the rest with a reason: invalid_reference when the value isn’t a notion-file-block:// reference, or file_not_found when the file doesn’t exist or the user can’t access it.The URLs expire after a few minutes. Call the tool again for fresh ones. When you edit or copy page markdown, keep the notion-file-block:// references, not the signed URLs.Example prompts:- “Download the diagram attached to this spec page”
- “Get links to every file on this page”
List page backlinks
List page backlinks
notion-list-page-backlinksLists the pages in the connected workspace that link to or mention a page or database. Pass the page’s ID or URL as page_id. The tool returns IDs, titles, and URLs, never page content. To read a result, fetch it with notion-fetch. Requires the read content capability.Each entry in backlinks has a type and a source with the linking page’s id, url, title, and last_edited_time. An entry can also show where the mention is: block_id for a block in the source page, comment_id for a comment, or property (id and name) for a database property. Within one response, each source page appears at most once per type. The same page can appear again in a later response, because a page boundary can fall between two entries for it. type is one of these values:page_mention: an inline mention in text, a title, or a caption.link_to_page: a link to page block.property_mention: a mention in a database property.comment_mention: a mention in a comment.
types to return only some kinds. Omit it to get all of them.The list includes only pages the user can open. It never says how many backlinks it left out. Backlinks from other workspaces aren’t included. A page the user can reach only through view-only web sharing returns an empty list.page_size is 1 to 100 and defaults to 25. The response includes next_cursor only when another backlink the user can open follows. Pass it as cursor, with the same page_id and types, to get the next page. A response can have fewer than page_size backlinks, or none. The list can also end early, with no next_cursor and no error, for example when many backlinks come from pages the user can’t open.A page that doesn’t exist, or that the user can’t read, returns an HTTP 400 validation_error with additional_data.tool_error_code set to page_not_found. The two cases look the same. A block ID that isn’t a page or database returns a validation_error. So does a cursor from a different request, or one that was changed.Example prompts:- “Which pages link to our launch plan?”
- “Find comments that mention this spec”
Create a file upload URL
Create a file upload URL
notion-create-file-uploadCreates a short-lived URL for uploading one local file directly to Notion. After calling the tool, the MCP client sends the file as a multipart/form-data POST request using the returned URL, headers, and form field. The upload response includes suggested_markdown, which can be passed directly to notion-create-pages or notion-update-page, or included on a separate line in notion-create-comment markdown to attach the file.Files are limited to 20 MiB for this single-part upload flow, and workspace file-size limits still apply. For larger files, use the file upload API.Example prompts:- “Upload
diagram.pngand add it to the project plan” - “Attach
report.pdfto a new page” - “Upload this file and include it in my comment”
Create an attachment
Create an attachment
notion-create-attachmentCreates a Notion attachment from exactly one source: inline UTF-8 text, a file at a direct public HTTPS URL, or a completed file upload created by the same integration. The result includes suggested_markdown, which can be passed directly to notion-create-pages or notion-update-page, or included on a separate line in notion-create-comment markdown to attach the file.Inline content supports text formats such as HTML, Markdown, CSV, JSON, and SVG, up to 200 KiB. URL downloads support binary files, must complete within one minute, and are limited to 5 MiB on free workspaces or 50 MiB on paid workspaces. URLs must not redirect, require request headers or cookies, or resolve to a private network address. For local files, use notion-create-file-upload when available. For files that exceed these limits or downloads that require redirects or authentication, use the file upload API and pass the resulting upload ID as source_file_id.Example prompts:- “Create an HTML attachment from this report and add it to the project page”
- “Attach the PDF at this direct download URL to my meeting notes”
- “Add the file I just uploaded to a comment”
Download a text attachment
Download a text attachment
notion-download-attachmentDownloads the complete UTF-8 text content of an attachment created by notion-create-attachment. Pass the file_upload_id returned when the attachment was created. The attachment must belong to the same integration, have completed uploading, and use a supported text format such as HTML, Markdown, plain text, CSV, JSON, XML, CSS, YAML, TSV, calendar, GPX, or SVG.Downloads are limited to 200 KiB. This tool does not fetch arbitrary URLs or return binary files. For larger or binary attachments, use the signed file URL returned when reading the page that contains the attachment.Example prompts:- “Download the HTML attachment I just created so I can edit it”
- “Read the contents of this Markdown attachment”
- “Retrieve the text attachment with this file upload ID”
Create pages
Create pages
notion-create-pagesCreates one or more Notion pages with specified properties and content. Supports applying database templates to pre-populate new pages with content and property values. Each page can optionally have an icon (an emoji character, a custom emoji by name, a Notion icon identifier as returned by fetch such as “icons/pizza_blue”, or an external image URL) and a cover image. Set is_skill: true to create a page as a Notion Skill. If a parent is not specified, a private page will be created.To create a top-level page in a teamspace, pass parent: {"teamspace_id": "…"} with an ID from notion-get-teams. All pages in the call share that parent. See Teamspace root pages for permissions and an example.Use creation_mode: "draft" when the user wants a durable page but has not named a destination. Draft mode creates a workspace-level private page and cannot be combined with parent. If the user names a private or shared destination, omit creation_mode and create the page under that parent.The tool description recommends allow_async: true for most page creates. This is guidance to assistants, not a request default. See Async page create and update.Markdown in content that is too large or too heavily formatted to parse in one call returns a validation_error, and the call creates no pages. All pages in one call share the same parse limit, so a call that creates several pages can reach it even when no single page would. With allow_async: true, the call still returns an async_task, and the task ends as failed with that error. Retrying the same call fails the same way. Create the pages with part of the content and add the rest with further calls, or split the content into child pages.Example prompts:- “Create a project kickoff page under our Projects folder with agenda and team info”
- “Make a new employee onboarding checklist in our HR database”
- “Create a new bug report in the tracking database using the ‘Urgent Bug’ template”
- “Add a new product feature request to our feature database”
- “Create a page with the 🚀 icon and a cover image”
- “Draft a private launch plan; we’ll decide where it belongs later”
Update a page
Update a page
notion-update-pageUpdate a Notion page’s properties, content, icon, or cover. You can also change whether a page is a Skill or apply database templates to an existing page. Icon, cover, and is_skill can be set alongside any update command.update_content command applies each search-and-replace operation whose old_str matches the page and skips the rest. Each skipped operation appears in warnings with code no_match, or indentation_mismatch when the text is on the page with different indentation. If an operation misses and no content-changing operation matches, the call returns a validation error naming the unmatched values and the page is left unchanged. An operation whose old_str and new_str are identical doesn’t change the page and doesn’t count as a match. Each old_str must be a non-empty string that matches exactly one location, unless replace_all_matches: true is set for that operation.warnings array. Examples are operations whose old_str matched nothing, lines dropped for incorrect indentation, and text auto-corrected to match the page. Each warning has a code and a message. Each message is at most 500 characters; a longer one is cut and ends with a note giving its original length, such as … (truncated from 12000 characters). Markdown parser warnings also carry category, such as unsupported_tag, and autofix, which is true when the parser changed the content to apply it. A clean update has no warnings key. Read any warnings before you treat the edit as done.validation_error and the page is left unchanged. Retrying the same call fails the same way. Content that wasn’t loaded appears as <unknown> tags when you fetch the page, so edit only content outside those tags.The tool description recommends allow_async: true for most page updates. This is guidance to assistants, not a request default. See Async page create and update.Example prompts:- “Change the status of this task from ‘In Progress’ to ‘Complete’”
- “Add a new section about risks to the project plan page”
- “Apply the project kickoff template to this page”
- “Set the page icon to 🎯 and add a cover image”
- “Remove the icon from this page”
Convert a page to a skill
Convert a page to a skill
notion-convert-page-to-skillMarks a Notion page as a Notion Skill without changing its content. Pass the page’s full Notion URL. The page must be in the connected workspace, and you must have permission to edit it.Example prompts:- “Convert this page into a skill:
https://www.notion.so/example-page-url” - “Make our engineering guidelines page available as an AI skill”
Move pages
Move pages
notion-move-pagesMove one or more Notion pages or databases to a new parent.Example prompts:- “Move my weekly meeting notes page to the ‘Team Meetings’ page”
- “Reorganize all project documents under the ‘Active Projects’ section”
Delete pages
Delete pages
notion-delete-pagesMove up to 20 Notion pages to Trash. Database rows are pages. To move a whole database to Trash, use notion-delete-databases. Items in Trash can be restored with notion-restore-pages or from Trash in Notion. Locked pages can’t be moved to Trash; unlock them in Notion first.The call must set user_confirmed: true. Without it, nothing is moved to Trash, and the error lists the pages so the MCP client can confirm them with the user. The tool is marked destructive (destructiveHint: true), so MCP clients that honor tool annotations ask before running it. Requires the update content capability.Example prompts:- “Delete the ‘Q3 offsite draft’ page”
- “Move these three duplicate rows to Trash”
Delete databases
Delete databases
notion-delete-databasesMove up to 20 Notion databases to Trash, with all of their rows. Each one must be a full-page or inline database that owns its data, not a linked view. To move a page or a single row to Trash, use notion-delete-pages. Items in Trash can be restored with notion-restore-pages or from Trash in Notion. Locked databases can’t be moved to Trash; unlock them in Notion first.The call must set user_confirmed: true. Without it, nothing is moved to Trash, and the error lists the databases and their row counts so the MCP client can confirm them with the user. The tool is marked destructive (destructiveHint: true), so MCP clients that honor tool annotations ask before running it. Requires the update content capability.Example prompts:- “Delete the ‘Old sprint tracker’ database”
- “Move the ‘Q2 leads’ database to Trash”
Restore pages
Restore pages
notion-restore-pagesRestore up to 20 Notion pages or databases from Trash to where they were before they were deleted. Restoring an item that is already out of Trash succeeds and changes nothing. Requires the update content capability.If a page’s parent is still in Trash, the call returns an error that asks you to restore the parent first. Pages at the top level of a workspace, such as top-level private pages, can’t be restored through Notion MCP yet. Restore them from Trash in Notion.Example prompts:- “Restore the ‘Q3 offsite draft’ page I just deleted”
- “Undo that deletion”
Duplicate a page
Duplicate a page
notion-duplicate-pageDuplicate a Notion page within your workspace. This action completes asynchronously.Example prompts:- “Duplicate my project template page so I can use it for the new Q3 initiative”
- “Make a copy of the meeting agenda template for next week’s planning session”
Create a database
Create a database
notion-create-databaseCreates a new Notion database, initial data source, and initial view with the specified properties.Example prompts:- “Create a new database to track our customer feedback with fields for customer name, feedback type, priority, and status”
- “Set up a content calendar database with columns for publish date, content type, and approval status”
Create a folder
Create a folder
notion-create-folderCreate an empty Folder under a parent page.Example prompts:- “Create a folder named ‘Project files’ under this page”
- “Create a folder named ‘Supporting documents’ under this project page”
Update a folder
Update a folder
notion-update-folderChanges an existing Folder with one command per call. Pass the Folder’s folder_id, with or without dashes, and exactly one of these command shapes:{"command": "add_files", "file_upload_ids": [...]}adds files by the file upload IDs that the upload tools return, such asnotion-create-file-upload.{"command": "remove_files", "file_urls": [...]}removes files. Fetch the Folder first and pass the exact file URLs from that result.{"command": "add_subfolder", "title": "..."}creates a nested Folder. The response includescreated_folder_idandcreated_folder_url.
folder_id, command, and updated_item_count.Example prompts:- “Add the report I just uploaded to the ‘Project files’ folder”
- “Create a ‘Drafts’ subfolder in this folder”
Update a data source
Update a data source
notion-update-data-sourceUpdate a Notion data source’s properties, name, description, or other attributes.To change a select, multi_select, or status property, list every option to keep. Omitted options are removed. Existing options keep their IDs and can be recolored, and status options keep their group when you omit it.Pass page_layout to replace the layout that every page in the data source uses, such as pinned properties, the sidebar, and property sections. Fetch the data source first to get its current layout, then edit it. Read the notion://docs/database-page-layouts MCP resource for the format. Change properties and the page layout in separate calls. A call that does both returns a validation_error.Example prompts:- “Add a status field to track project completion”
- “Update the task database to include priority levels”
Create a view
Create a view
notion-create-viewCreate a new view on a Notion database. Supports table, board, list, calendar, timeline, gallery, form, chart, map, and dashboard view types. Use the optional configuration DSL for filters, sorts, grouping, and display options."me" for person, created-by, and last-edited-by filters. Use an option or group name for status filters, and use "verified", "expired", or "none" for verification filters. Page and people names aren’t accepted, so resolve them to a URL or ID first. Read the notion://docs/view-dsl-spec resource for the full syntax.- “Create a board view grouped by Status in my tasks database”
- “Add a calendar view to the project tracker that shows items by due date”
- “Set up a filtered table view that only shows in-progress items, sorted by priority”
- “Create a timeline view for the roadmap database using start and end dates”
- “Create a chart view showing task counts by status as a bar chart”
- “Add a form view to the feedback database for collecting responses”
- “Create a map view of office locations using the Address property”
Update a view
Update a view
notion-update-viewUpdate a view’s name, filters, sorts, or display configuration. Only the fields you specify will be changed. Supports clearing existing configuration like filters, sorts, and grouping. Uses the same configuration DSL — and the same filter value formats — as notion-create-view.Example prompts:- “Rename the ‘All Tasks’ view to ‘Sprint Board’”
- “Update the board view to filter by status equals ‘Done’”
- “Clear the filters on this view and add a sort by created date”
- “Change the view to group by priority and only show Name and Status columns”
Query across data sources
Query across data sources
notion-query-data-sourcesQuery Notion data sources with SQL, read rows from one data source, or run a saved view.Pass mode: "rows" and data_source_url to read one data source. Rich-text properties use Notion markdown strings to preserve page and user mentions, link targets, formatting, inline dates, and equations.Rows mode accepts optional filter and sort fields. A filter supports two levels of and or or groups. Sorts run in listed order. limit defaults to 50 and has a maximum of 100.The response contains results and has_more. Each result uses property names as keys. Results include only rows and properties that the connected user can read. Rows mode does not return a cursor.A query can resolve up to 1,000 distinct mention targets. A query over this limit returns an error instead of partial rich text.- “What’s due for me this week across all tasks and meeting note action items? Group by priority.”
- “Show all risks from Engineering and Product databases this month, grouped by owner.”
- “Read the in-progress rows from the Specs data source. Keep mentions and links in Notes.”
Query multiple data sources
Query multiple data sources
notion-query-multiple-data-sourcesRuns one read-only SQLite query across 2 to 100 data sources, for joins, unions, comparisons, and totals. Fetch each data source first with notion-fetch to get its schema and collection:// URL. Pass the URLs in data_source_urls and use each one as a quoted table name in query. Bind untrusted values with ? placeholders and params instead of putting them in the SQL. Saved view filters and sorts aren’t applied, so put every filter in WHERE.The response contains the matching rows, the IDs of the queried data sources, and whether the results were truncated. SQL output can omit mention text, link targets, and formatting, the same as SQL in notion-query-data-sources. To read one data source or run a saved view, use notion-query-data-sources.notion-get-tool-access.- “Join the Projects and Tasks data sources and count open tasks per project”
- “Compare this quarter’s deals across the Sales and Partnerships databases”
Query meeting notes
Query meeting notes
notion-query-meeting-notesQuery the current user’s meeting notes, filtering by meeting-specific properties (such as a title keyword search). Returns meetings where the user is an attendee or creator by default.- “Find my meeting notes from this week”
- “What were the action items from my sprint planning meetings?”
- “Show my 1:1 meeting notes with Alice”
Work with Custom Agent sessions
Work with Custom Agent sessions
notion-search-agents to find a Custom Agent by name or description,
or to browse the user’s favorite agents and the workspace’s newest agents.
It returns the Custom Agent URL needed to start a session. Then use these
tools to find sessions, start a session, send follow-up messages, wait for
a reply, stop a run, and read session events:notion-query-sessionsnotion-search-sessionsnotion-spawn-sessionnotion-get-session-statusnotion-wait-sessionnotion-stop-sessionnotion-send-message-to-sessionnotion-list-session-eventsnotion-read-session-event
notion-search-sessions returns no matches and a warning when the
workspace’s search index is missing or not ready. Use
notion-query-sessions to list sessions while search is unavailable.notion-query-sessions can return an empty page with a cursor. The same is
true for notion-search-agents when it is called without a query. Keep
following the cursor until the response stops returning one. A
notion-search-agents call with a query returns one page without a cursor.Session tools return a session_url in the form
session://<spaceId>/<sessionId>. Pass it back unchanged. The tools also
accept the shorthand session://<sessionId> and thread://<sessionId>,
which resolve in the connected workspace. A full URL whose workspace ID
differs from the connected workspace returns HTTP 400 validation_error.
Malformed URLs and URLs for a resource other than a session also return
HTTP 400 validation_error. A valid session URL in the connected workspace
returns HTTP 404 object_not_found if the session is missing, inaccessible,
or unsupported.notion-send-message-to-session returns a conflict error when the session
already has a run in progress. Wait for that run to finish with
notion-wait-session, then send the message.current_tool_access reports the tools as
upgrade_required with an upgrade_url. When Notion routes the user through
a plan landing page instead, it reports them as plan_required with a
landing_page_url and landing_page_action. If the workspace has a billing
restriction, such as an unpaid invoice, calls return a permission error that
asks a workspace owner to manage billing, and current_tool_access reports
the tools as not_enabled.A connection that lacks the “View sessions and interact with agents”
capability does not advertise these tools or include them in
current_tool_access. Disconnect and reconnect Notion, or enable the
capability in the integration’s settings and re-authorize.- “Ask our Support Agent to summarize this customer issue”
- “Wait for the agent session to finish, then show me its answer”
- “Search my past agent sessions for the launch decision”
Add a comment
Add a comment
notion-create-commentAdd a comment to a page or specific content. Supports page-level comments,
block-level comments (via content selection), and replies to existing discussions.Example prompts:- “Add a feedback comment to this design proposal”
- “Comment on the ‘Budget’ section of the quarterly review”
- “Reply to the discussion about deadline concerns”
- “Leave a note on the meeting notes about the action items”
Get comments
Get comments
notion-get-commentsLists all comments and discussions on a page. Can include block-level and
inline discussions, resolved threads, and full comment content. Comments the
connected user wrote are marked by-you="true".Example prompts:- “Get all discussions on this page, including resolved ones”
- “Show me the comments on the Requirements section”
- “Get all feedback comments from last week’s review”
Edit and react to comments
Edit and react to comments
notion-get-comments or notion-create-comment. Comment IDs work with or without dashes.notion-update-commentreplaces the text of a comment the user wrote. Passcomment_idand the full new text as inline markdown inmarkdown. The new text replaces the whole comment. Block-level markdown, such as lists and headings, isn’t supported.notion-delete-commentdeletes a comment the user wrote. If it’s the last comment in its discussion, the discussion is removed too.notion-set-discussion-resolvedresolves a discussion withresolved: trueor reopens it withresolved: false. Passdiscussion_id, either adiscussion://URL fromnotion-get-commentsor thediscussion_idfromnotion-create-comment.notion-set-comment-reactionadds (reacted: true) or removes (reacted: false) the user’s reaction on a comment. Pass one standard Unicode emoji inemoji. Setting the same state twice changes nothing.
notion-update-comment instead of deleting it and posting a new one, and to resolve a discussion only when a person asks.Example prompts:- “Fix the typo in my last comment on this page”
- “Resolve the discussion about the launch date”
- “React with 👍 to Ada’s comment”
Get teams
Get teams
notion-get-teamsRetrieves a list of teams (teamspaces) in the current workspace.Example prompts:- “Search for teams by name, and your membership status in each team”
- “Get a team’s ID to use as a filter for a search”
Get groups
Get groups
notion-get-groupsLists the permission groups in the current workspace that the user can see, with each group’s ID and name. Pass an optional query to search by name, or pass a group reference from a People property value (space_permission_group-<id>, or the bare ID) to look up that group’s name. Returns at most 25 groups and reports when there are more.Workspace members see every group in the workspace, as they do in the People picker. Guests and connections that don’t act as a user get no groups.Example prompts:- “Which group is set in the Owner property of this page?”
- “Find the Design group so I can assign it to this task”
Get users
Get users
notion-get-usersLists workspace members and guests with their IDs, names, emails (when available), and types (person or bot). Supports pagination and search by name or email. You can also retrieve a specific user by ID, or the current user (or bot) by passing self.Example prompts:- “Get contact details for the user who created this page”
- “Look up the profile of the person assigned to this task”
- “Find users whose name or email matches ‘john’”
- “What’s my Notion user ID and email?”
Get async task status
Get async task status
notion-get-async-taskRetrieves the current status of an async task started by another tool, such as notion-duplicate-page, notion-create-pages with allow_async: true, or notion-update-page whenever it returns an async_task. Returns one of queued, running, retrying, succeeded, or failed. When a task has succeeded, the operation’s result is included in the response; when it has failed, an error is included instead.Poll this tool with the task_id from the originating tool’s async_task response. Wait briefly between polls — the original response includes a suggested backoff.Example prompts:- “Check whether the page I just duplicated is ready”
- “Poll this async task until it completes and show me the result”
Teamspace root pages
notion-create-pages accepts parent.teamspace_id to create pages directly in a teamspace, alongside its other top-level pages. Get the ID from notion-get-teams; IDs with or without dashes are accepted. Pass only one parent ID per call.
Use a connection that acts as a Notion user. Bot-scoped workspace connections don’t support this destination. The user must have permission to edit the teamspace’s pages and add top-level pages. If the teamspace limits top-level page edits to owners, the user must be a teamspace owner. Listing a teamspace with notion-get-teams doesn’t grant permission to create pages there.
New pages inherit the teamspace’s permissions, so people with access to its pages can access the new pages. The teamspace must be active and belong to the connected workspace. Omit creation_mode: draft mode creates private pages and can’t be combined with a teamspace parent.
For example, replace the sample ID with a teamspace ID returned by notion-get-teams:
async_task, wait for it to succeed before using the new pages. This parent option is specific to Notion MCP; it isn’t a parent option for the REST Create a page endpoint.
Async page create and update
Thenotion-create-pages and notion-update-page tools support allow_async: true for page create and update work. Their tool descriptions recommend that assistants pass it for most page writes. This is guidance to assistants, not a schema or server default: omitting allow_async has the same meaning as before. The same validation, permissions, and write operation still apply.
The descriptions recommend allow_async: false when the next step needs the created or updated page right away. They also recommend retrying synchronously when an async attempt is rejected as too large to queue.
A request that is too large to queue returns a validation_error instead of an async_task. Either split it into smaller page writes or retry it with allow_async: false.
When a call returns an async_task handle, poll notion-get-async-task with the returned async_task.id passed as task_id until the task reaches succeeded or failed. Wait for succeeded before any step that depends on the write, such as linking to a new page or adding content to it.
succeeded status covers the page write, not template application. When dependent work needs template output, follow the webhook flow in Creating pages from templates. For direct checks, look for the expected content or properties and stop after a bounded number of retries.allow_async is omitted or false, notion-create-pages keeps its synchronous result shape. notion-update-page waits for a synchronous result when it can, but it can still return a pollable async_task if queued execution runs past the synchronous wait deadline, so handle both shapes.
queued, running, or retrying, wait at least the suggested poll_after_seconds before polling again. A succeeded task includes the operation result. For notion-update-page, that result includes the same warnings array as a direct call. A failed task includes an error object that the assistant can summarize or use to retry with a corrected request.
notion- prefix from notion-fetch and notion-search, so they appear as fetch and search. OpenAI’s MCP requirements use these names for ChatGPT company knowledge and deep research. A client with a cached tool list can still call notion-ai-search by its OpenAI name, ai-search. Access responses use the API key ai_search.For ChatGPT connections, content searches with search and calls to fetch return OpenAI’s result shape, as both structuredContent and JSON text. A user lookup with query_type: "user" keeps the standard response. A connection counts as ChatGPT when its OAuth redirect URI is a trusted ChatGPT redirect URI. Other clients, including other OpenAI clients such as Codex, get the standard results. So do ai-search calls.search returns { results: [{ id, title, url }] }. Each id works with fetch, so results that fetch can’t open, such as connected-app results, are left out. These results don’t include highlights, path, timestamps, or notices.fetch returns { id, title, text, url, metadata }, where id is the id you passed. Other fields of the standard response stay in place, so fetch with the id self still returns the self object. When you pass include_file_urls: true, metadata.references maps each uploaded file’s notion-file-block:// source in text to a signed download URL. Without it, the response has no references.Rate limits
Notion MCP uses the standard API request limits. Every tool call counts toward them. These limits can change over time.What to do if you’re rate-limited
If you encounter rate limit errors, prompt your LLM tool to reduce parallel operations, or try again later. Notion MCP retries a rate limit once when the wait is 2 seconds or less. Otherwise it returns the rate limit as a tool error right away instead of waiting it out. The error’sstructuredContent.error has code: "rate_limited", the wait in seconds as retry_after_seconds when known, and the limit that was hit as rate_limit_reason. The text content includes the same structuredContent JSON for clients that read only text. See Request limits.