OneNote Integration

v1.0.0Knowledge & Memorystable

Complete OneNote MCP Server for Claude Desktop - Access your entire OneNote knowledge base through AI with robust authentication and full API support

aiclaudemcponenoteproductivity
Share:
34
Stars
0
Downloads
0
Weekly
0/5

What is OneNote Integration?

OneNote Integration is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to complete onenote mcp server for claude desktop - access your entire onenote knowledge base through ai with robust authentication and full api support

Complete OneNote MCP Server for Claude Desktop - Access your entire OneNote knowledge base through AI with robust authentication and full API support

This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Complete OneNote MCP Server for Claude Desktop - Access your

Use Cases

Access your knowledge base
Query notes with AI
Organize information
purpleslurple

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx onenote

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use OneNote Integration

The OneNote MCP Server gives Claude Desktop (and other MCP clients) authenticated read access to your entire Microsoft OneNote knowledge base via the Microsoft Graph API. It implements OAuth device-flow authentication so you do not need to expose a callback URL, and it optionally caches tokens between sessions. Once connected, you can list notebooks, browse sections, read page content, and run natural-language queries across your notes — effectively turning OneNote into a searchable knowledge base you can converse with.

Prerequisites

  • Python 3.10 or later and uv package manager (brew install uv or curl -LsSf https://astral.sh/uv/install.sh | sh)
  • A Microsoft account with OneNote content (personal, Microsoft 365, or school/work account)
  • An Azure app registration with the Notes.Read (or Notes.Read.All) Microsoft Graph permission and public client / device-flow enabled
  • The Azure app's Client ID (AZURE_CLIENT_ID)
  • An MCP client such as Claude Desktop
1

Register an Azure app for Microsoft Graph access

In the Azure Portal, create a new App Registration. Under 'Authentication', enable 'Allow public client flows'. Under 'API permissions', add Microsoft Graph > Delegated > Notes.Read. Copy the Application (client) ID.

2

Clone the repository

Download the server source.

git clone https://github.com/purpleslurple/onenote-mcp-server.git && cd onenote-mcp-server
3

Install dependencies with uv

uv reads the project lockfile and installs all required packages.

uv sync
4

Add the server to Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) and add the mcpServers entry shown below, replacing the directory path and client ID with your values.

5

Authenticate on first run

On the first request, the server will print a device code URL in the Claude Desktop logs. Open that URL in a browser, sign in with your Microsoft account, and enter the code. The token is cached for subsequent sessions.

OneNote Integration Examples

Client configuration

Add this to claude_desktop_config.json. Use the full absolute path to the cloned directory. AZURE_CLIENT_ID is the only required credential.

{
  "mcpServers": {
    "onenote": {
      "command": "uv",
      "args": [
        "--directory",
        "/full/path/to/onenote-mcp-server",
        "run",
        "python",
        "onenote_mcp_server.py"
      ],
      "env": {
        "AZURE_CLIENT_ID": "your-azure-app-client-id",
        "ONENOTE_CACHE_TOKENS": "true"
      }
    }
  }
}

Prompts to try

Natural language queries you can use once the server is authenticated.

- "List all my OneNote notebooks"
- "Show me the sections in my Work notebook"
- "Read the content of the page called 'Project Plan'"
- "Search my notes for anything about the Q4 budget"
- "Summarise all the action items from my Meeting Notes section"

Troubleshooting OneNote Integration

Device-flow authentication URL never appears or authentication times out

Check the Claude Desktop logs (Help > Show Logs). The device code URL is printed to stderr. Ensure 'Allow public client flows' is enabled in your Azure app's Authentication settings, and that the Notes.Read permission has been granted (not just added).

AZURE_CLIENT_ID not found or server crashes on startup

Confirm the env block in claude_desktop_config.json contains AZURE_CLIENT_ID with the correct value. The variable name is case-sensitive. Use the Application (client) ID from Azure Portal, not the tenant ID.

Notebooks or pages return empty results

Ensure the Microsoft account used during device-flow login is the same account that owns the OneNote content. Work/school accounts may need Notes.Read.All permission if notebooks are shared.

Frequently Asked Questions about OneNote Integration

What is OneNote Integration?

OneNote Integration is a Model Context Protocol (MCP) server that complete onenote mcp server for claude desktop - access your entire onenote knowledge base through ai with robust authentication and full api support It connects AI assistants to external tools and data sources through a standardized interface.

How do I install OneNote Integration?

Follow the installation instructions on the OneNote Integration GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with OneNote Integration?

OneNote Integration works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is OneNote Integration free to use?

Yes, OneNote Integration is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Knowledge & Memory MCP Servers

Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "onenote": { "command": "npx", "args": ["-y", "onenote"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use OneNote Integration?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides