P3x Onenote MCP
MCP server by patrikx3 Verified · npm:p3x-onenote-mcp
Lets Claude Code or another MCP client read and write Microsoft OneNote notebooks through Microsoft Graph, including table editing. Built for users who want an AI assistant to manage OneNote pages and tables.
Install P3x Onenote MCP
Built from the published package, never by AI.
claude mcp add p3x-onenote-mcp -- npx -y p3x-onenote-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"p3x-onenote-mcp": {
"args": [
"-y",
"p3x-onenote-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"p3x-onenote-mcp": {
"args": [
"-y",
"p3x-onenote-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"p3x-onenote-mcp": {
"args": [
"-y",
"p3x-onenote-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add p3x-onenote-mcp -- npx -y p3x-onenote-mcp{
"mcpServers": {
"p3x-onenote-mcp": {
"args": [
"-y",
"p3x-onenote-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add p3x-onenote-mcp npx -y p3x-onenote-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the p3x-onenote-mcp block.
About
P3x Onenote MCP is a Node.js MCP server that gives Claude Code or another MCP client read and write access to Microsoft OneNote notebooks through the Microsoft Graph API. Besides listing, reading and creating pages, it offers table tools: striking rows, patching single cells, and summing numeric columns directly on the page.
It signs in with the device code flow using a Microsoft Entra public-client app and a client ID set as an environment variable, then caches tokens locally. The author states that table write tools do not work on personal Microsoft accounts, so for those accounts the server is treated as read-only for table content. It is aimed at users who want an AI assistant to work with their OneNote pages and tables.
Written from the project's README and checked against it.
Tools it gives your assistant
list_notebooksEnumerates OneNote notebooks.list_sectionsEnumerates sections in a notebook.list_pagesEnumerates pages in a section.get_pageFetches page HTML with data-ids for patching.search_pagesSearches pages by title substring.create_pageCreates a new page from raw HTML.update_pageApplies PATCH commands to replace, append, insert or prepend by data-id.read_tableReturns page tables as structured JSON with cell ids.patch_cellReplaces a single table cell by cell data-id.strike_rowApplies strikethrough to every cell in a row.
What you need
- Node.js LTS
- A Microsoft account with OneNote notebooks
- A Microsoft Entra app registration to obtain a client ID
- An MCP client such as Claude Code
Try asking
- List my OneNote notebooks
- Show pages in my 'Work' section
- Search onenote pages for 'Munka'
Good to know
- Table write tools (patch_cell, strike_row, calc_total with writeToCellId, update_page) do not work on personal Microsoft accounts.
- Table write behaviour on work or school accounts is not verified in the repository.
- The project is under active development.
- PDF to reconciled table import is a roadmap item and not yet built.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to P3x Onenote MCP
All alternatives →LearnHouse is an open source learning platform for building courses, learning paths and communities in your own academy. Its MCP server lets AI assistants read and build courses in your organization.
Agent-Native Calendar is the Calendar agent in Agent-Native, an open-source TypeScript framework for building agents with UIs. The README describes it as a way to find time, schedule events, and manage bookings. It is aimed at developers building agent apps.
Agent-Native Clips is the Clips agent from the Agent-Native framework, an open-source TypeScript project. It records and helps people understand meetings, screens, and voice notes.
Agent-Native Slides is the Slides agent in the Agent-Native open-source framework, described as a way to create and edit on-brand presentations. It is aimed at developers who build agents with a purpose-built UI.
AIHawk is an AI job application bot. It finds recent job postings that match your resume, then fills in and sends applications on the company's own forms after you pick the jobs.
Connects AI assistants to Microsoft 365 and Office services through the Microsoft Graph API. It suits users and administrators who want an assistant to work with Outlook, calendar, OneDrive, Teams and SharePoint data.
Compare with LearnHouse, Agent-Native Calendar or Agent-Native Clips
P3x Onenote MCP: common questions
Does it work with personal Microsoft accounts?
Reading works, but the source says table write tools do not work on consumer accounts such as outlook.com, hotmail.com and live.com. The author recommends treating it as read-only for table content on those accounts.
Which AI clients can use it?
The source describes it as giving Claude Code or any MCP client access to OneNote.
Where are authentication tokens stored?
Tokens are cached automatically at ~/.config/p3x-onenote-mcp/tokens.json by default, and the config directory can be changed with an environment variable.
How do I install P3x Onenote MCP?
In Claude Code run claude mcp add p3x-onenote-mcp -- npx -y p3x-onenote-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is P3x Onenote MCP the official server?
P3x Onenote MCP is published by npm:p3x-onenote-mcp from its verified domain in the official MCP Registry.
Is P3x Onenote MCP free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is P3x Onenote MCP safe to use?
It scores 41 of 100. Grades: maintenance D, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to P3x Onenote MCP?
Similar MCP servers: LearnHouse, Agent-Native Calendar, Agent-Native Clips, Agent-Native Slides.
Does P3x Onenote MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
