CLI and read-only MCP server for the local Microsoft Teams v2 message cache. No Graph API, no network.
View on GitHub ↗teamscache reads the message cache of the new Microsoft Teams (v2) desktop client on your computer. It prints chats, messages and @-mentions as JSON, and it can also run as a read-only MCP server for AI assistants.
It does not use Microsoft Graph, OAuth, an Azure app registration or the network. It reads only what the signed-in Teams client already keeps on your disk.
To read Teams messages through Microsoft Graph, you need permissions such as Chat.Read, and many tenants allow them only after admin consent. As a guest in another company's tenant, you often cannot get that consent. The desktop client still keeps your recent conversations on your disk, and teamscache reads them from there.
Binaries for macOS, Linux and Windows are on the releases page.
Or build from source with make build; the binary is written to bin/teamscache.
You need a new Teams client that has been signed in at least once. Auto-discovery of the cache works on macOS and Windows. On Linux it is best effort.
1. Read all cached messages in one chat (oldest first):
2. Filter by account or WebView2 profile when you have multiple tenants or profiles:
3. Save JSON output to a file (JSON goes to stdout, summary goes to stderr):
teamscache reads only messages stored in the local Teams desktop cache, not older history that Teams has not cached on disk. read returns messages oldest first; recent, search, mentions, and overview return newest first.
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/stn1slv--teamscache.html)
Keyboard-first terminal dashboard for Coolify: deployments, live logs across your whole fleet, and an MCP server for your agent
mkk2026/agentregDNS for AI agents: a self-hosted registry to register, discover, and health-check MCP agents. One Go binary.
magna-nz/tallybookPrices your Claude Code and Codex sessions from the transcripts on disk, shows what each agent cost over any period, and tells you in plain English what would have been cheaper. CLI, Browser UI and MC
andi-xd/mcp-verifyChecks who can do what on your MCP server, as every user you have. Allow/deny matrix, tenant leak canaries, OAuth, CI output.
code2rich/rigdepotKeep a team's AI coding skills, MCP servers, workflows and agents in Git; sync them to Claude Code, Codex and OpenCode.
Smitner-Studio/facetRender agent-written Markdown as a live local page, and send the human's click back to the agent as typed data. Human-in-the-loop approval gates for coding agents.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.