Outlook in your terminal
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Topics declared
- ✓Documented (README)
git clone https://github.com/rlrghb/olkcli{
"mcpServers": {
"olkcli": {
"command": "olkcli"
}
}
}1 items in this repository
Microsoft Outlook and OneDrive CLI and MCP for email, calendar, contacts, tasks, and files, for personal and enterprise accounts.
MCP Servers overview
# olk — Microsoft Outlook in Your Terminal `olk` is a scriptable CLI and MCP server for Outlook mail, calendars, contacts, tasks, and OneDrive through Microsoft Graph. It works with personal Outlook.com accounts and enterprise Microsoft 365 accounts. ## Install ```bash brew install rlrghb/tap/olk # or go install github.com/rlrghb/olkcli/cmd/olk@latest ``` The npm package is `olkcli`; the installed command is `olk`: ```bash npm install -g olkcli ``` See [macOS notes](docs/authentication.md#macos-keychain) if macOS asks for Keychain access after an upgrade. ## Quick start ```bash olk auth login olk auth status olk mail list --json --results-only --select id,subject,from olk mail search 'from:person@example.com subject:urgent' olk calendar view --days 7 olk contacts search "Alex" olk todo lists list olk drive ls ``` For work/school accounts and enterprise-only features: ```bash olk auth login --enterprise ``` ## Common commands | Need | Command | | --- | --- | | Check the signed-in account | `olk auth status` or `olk whoami` | | Find message IDs and subjects | `olk mail list --json --results-only --select id,subject,from` | | Search mail | `olk mail search "from:person@example.com subject:urgent"` | | View the next week | `olk calendar view --days 7` | | Search contacts | `olk contacts search "Alex"` | | List task lists | `olk todo lists list` | | Browse OneDrive | `olk drive ls` | | Send mail | `olk mail send --to person@example.com --subject "Hi" --body "Hello"` | | Draft HTML with an inline image | `olk mail drafts create --to person@example.com --subject "Steps" --html --body '<img src="cid:steps">' --inline steps=steps.png` | | Synchronize changes | `olk changes --json` | | Use JSON for scripts | `olk mail list --json --results-only` | | Use as an MCP server | `olk mcp` | See the [command reference](docs/commands.md) for all commands and flags. ### Inline images in HTML drafts Use a `cid:` URL in the HTML and supply the matching image with repeatable `--inline CID=PATH` flags. This works for new drafts and true threaded reply or reply-all drafts: ```bash olk mail reply <ID> --draft --html \ --body '<p>See both images:</p><img src="cid:logo"><img src="cid:steps">' \ --inline logo=logo.png --inline steps=steps.png olk mail drafts create --to person@example.com --subject "Instructions" --html \ --body '<p>Follow these steps:</p><img src="cid:steps">' \ --inline steps=steps.png ``` Each CID must be unique and referenced by the HTML. Files must be images and each must be under 3 MB, the Microsoft Graph simple-attachment limit. Draft commands do not send mail; immediate sends and forwards do not accept `--inline`. ## Output and scripting Results are written to stdout; diagnostics and prompts go to stderr. ```bash olk mail list --json --results-only | jq '.[].subject' olk contacts list --plain ``` Output modes are JSON (`--json`), TSV (`--plain`), and aligned tables by default. Use `--concise` to omit large bodies/previews and `--select` to limit fields where supported. See [scripting and sync](docs/scripting.md). ## Safety defaults - Use `--no-write --no-send --no-input` for unattended read-only runs. - MCP exposes curated tools and requires explicit opt-in for mutations. - External mail, calendar, contact, and file text can be wrapped with `--wrap-untrusted` for agent-safe consumption. - Refresh tokens are stored in the OS keychain; access tokens are kept in memory only. Read the [security and privacy guide](docs/security.md) before connecting an agent or sharing logs. ## Documentation - [Command reference](docs/commands.md) - [Authentication and accounts](docs/authentication.md) - [Scripting and synchronization](docs/scripting.md) - [MCP and AI agents](docs/mcp.md) - [Security and privacy](docs/security.md) - [Enterprise app setup](docs/enterprise-setup.md) - [Development and releases](docs/development.md) - [Agent instructions](SKILL.md) ## Contributing ```bash make build make test make lint ``` See [development and releases](docs/development.md) for repository structure, validation, CI, and publishing details. ## License See [LICENSE](LICENSE).
What people ask about olkcli
What is rlrghb/olkcli?
+
rlrghb/olkcli is mcp servers for the Claude AI ecosystem. Outlook in your terminal It has 17 GitHub stars and its last recorded update is dated 2026-09-11.
How do I install olkcli?
+
You can install olkcli by cloning the repository (https://github.com/rlrghb/olkcli) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is rlrghb/olkcli safe to use?
+
Our security agent has analyzed rlrghb/olkcli and assigned a Trust Score of 90/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains rlrghb/olkcli?
+
rlrghb/olkcli is maintained by rlrghb. The last recorded GitHub activity is dated 2026-09-11, with 0 open issues.
Are there alternatives to olkcli?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy olkcli to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/rlrghb-olkcli)<a href="https://claudewave.com/repo/rlrghb-olkcli"><img src="https://claudewave.com/api/badge/rlrghb-olkcli" alt="Featured on ClaudeWave: rlrghb/olkcli" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!