Onenote MCP Server

OneNote MCP Server Implementation with Device Code Authentication

Local serverstdioPython

What is the Onenote MCP Server?

OneNote MCP Server Implementation with Device Code Authentication.

What Onenote MCP does

A Model Context Protocol (MCP) server implementation that enables AI language models like Claude and other LLMs to interact with Microsoft OneNote.

Key capabilities

  • Authentication with Microsoft OneNote using device code flow (no Azure setup needed)
  • List all notebooks, sections, and pages
  • Create new pages with HTML content
  • Read complete page content, including HTML formatting
  • Extract text content for AI analysis and summaries
  • Summarize content of all pages in a single operation
  • Read full content of all pages in a readable format
  • Search across your notes

Requirements

  • Node.js 16 or higher (install from nodejs.org) - An active Microsoft account with access to OneNote - Git (install from git-scm.com)

Practical notes

  • Maintained by danosb, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
authenticateStart the Microsoft authentication flow
listNotebooksGet a list of all your OneNote notebooks
getNotebookGet details of a specific notebook
listSectionsList all sections in a notebook
listPagesList all pages in a section
getPageGet the complete content of a specific page, including HTML formatting
createPageCreate a new page with HTML content
searchPagesSearch for pages across your notebooks

How to install the Onenote MCP Server

{
  "mcpServers": {
    "onenote": {
      "command": "node",
      "args": [
        "/absolute/path/to/your/onenote-mcp.mjs"
      ],
      "env": {}
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js 16 or higher (install from nodejs.org) - An active Microsoft account with access to OneNote - Git (install from git-scm.com)

Example prompts to try

  • “Use Onenote MCP to authenticate.”
  • “Use Onenote MCP to listNotebooks.”
  • “Use Onenote MCP to getNotebook.”

Frequently asked questions

OneNote MCP Server Implementation with Device Code Authentication Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.