npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

mcp_outlook

v1.0.14

Published

A Model Context Protocol server that integrates with Microsoft Outlook through Microsoft Graph API, allowing Claude and other LLMs to check calendar events, schedule new ones, read emails, and send messages.

Readme

Outlook MCP (Model Context Protocol) Server

A Model Context Protocol server that integrates with Microsoft Outlook through Microsoft Graph API, allowing Claude and other LLMs to check calendar events, schedule new ones, read emails, and send messages.

Features

  • 📅 Calendar Integration: View, list, create, update, and delete calendar events
  • 📧 Email Integration: Read, send, draft, and manage emails from your Outlook account
  • 🔁 Model Context Protocol: Follows MCP standards for LLM tool integration
  • 🛡️ Type Safety: Full TypeScript implementation with Zod validation

Prerequisites

  • Node.js 18+
  • Microsoft 365 account with appropriate permissions
  • Microsoft Azure App Registration with Graph API permissions (Calendar and Mail)

Setup

  1. Register an application in Azure Active Directory:

    • Go to Azure Portal

    • Navigate to "App registrations"

    • Create a new registration with a redirect URI of type "Public client/native (mobile & desktop)"

      • Register http://localhost as the redirect URI
    • Configure API permissions:

      • Choose Microsoft Graph and type delegated, as we will act on the users behalf
      • For Calendar: "Calendars.Read" and "Calendars.ReadWrite"
      • For Email: "Mail.Read", "Mail.ReadWrite" and "Mail.Send"
      • For People: "People.Read"
  2. Note the values from your Azure app registration (Overview) to use for the MCP config as environment variables:

  • Client ID (Application (client) ID)
  • Authority ID (Directory (tenant) ID)
  1. Register the MCP server For Claude Desktop, create or update your configuration in ~/.claude/config.json:
{
  "mcpServers": {
    "outlook": {
      "command": "npx",
      "args": [
        "mcp_outlook"
      ],
      "env": {
        "AUTHORITY": "your-authority-id",
        "CLIENT_ID": "your-client-id",
        "MCP_SERVER_NAME": "outlook-mcp",
        "MCP_SERVER_VERSION": "1.0.0"
      }
    }
  }
}

Make sure to replace the path and environment variables with your actual values.

Available Tools

Calendar Tools

  • listCalendarEvents: Lists the user's calendar events for a specified time range
  • createCalendarEvent: Creates a new calendar event
  • getCalendarEvent: Gets details of a specific calendar event
  • updateCalendarEvent: Updates an existing calendar event
  • deleteCalendarEvent: Deletes a calendar event

Email Tools

  • listEmails: Lists emails from a specified folder (inbox, sent, drafts, etc.)
  • getEmail: Gets details of a specific email message
  • sendEmail: Sends a new email message
  • createDraft: Creates a draft email message without sending it
  • markEmailAsRead: Marks an email message as read
  • markEmailAsUnread: Marks an email message as unread
  • deleteEmail: Deletes an email message

People Tools

  • searchPeople Find a person in the organisation or your recent contacts
  • getPerson Get information on a person

Resources

  • calendar: Resource containing calendar events data
  • inbox: Resource containing inbox messages data

Development

Run in development mode with live reloading:

npm run dev

Run linting:

npm run lint

Configure your MCP locally

{
  "mcpServers": {
    "outlook": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/TO/outlook_mcp/build/index.js"
      ],
      "env": {
        "AUTHORITY": "your-authority-id",
        "CLIENT_ID": "your-client-id",
        "MCP_SERVER_NAME": "outlook-mcp",
        "MCP_SERVER_VERSION": "1.0.0"
      }
    }
  }
}