Windows Context
БесплатноНе проверенEnables AI agents to access real-time Windows PC context including active window, system performance, screen time, productivity analytics, and historical usage
Описание
Enables AI agents to access real-time Windows PC context including active window, system performance, screen time, productivity analytics, and historical usage through MCP tools.
README
Windows Context MCP is a high-performance, native Windows service, Model Context Protocol (MCP) server, and Unified Personal Context Hub connecting Windows desktop activity and Android mobile telemetry directly into conversational AI assistants like Google Gemini, OpenAI ChatGPT, and Claude.
🌟 Features & Architecture
- 🗄️ Zero-Dependency SQLite Time-Series (
src/db.ts): Built on nativenode:sqlitefor persistent indexed focus sessions, 24-hour hourly distributions, and multi-day range analytics. - 📱 Unified Cross-Device Hub (
src/aggregator.ts): Ingests Android screen time and telemetry via/api/sync, calculating combined multi-device screen time, cross-device top applications, and device fleet health. - 🔄 Dual Protocol Transports:
- Streamable HTTP / JSON-RPC 2.0 (
src/server.ts): Remote MCP gateway on port3001for Google Gemini & ChatGPT Custom GPT Actions. - Native STDIO Transport (
src/stdio.ts): Standard I/O stream for Claude Desktop, Cursor, and local CLI agents (node dist/index.js --stdio).
- Streamable HTTP / JSON-RPC 2.0 (
- 🪟 Native Win32 API Queries (
src/collector.ts): Direct User32 / CIM queries for active window titles, process binaries, CPU delta utilization, RAM usage, user idle detection, and battery telemetry. - 🧪 Comprehensive Test Suite: 23 automated unit and integration tests across SQLite database, cross-device aggregation, and tool executions (
npm test).
🛠️ MCP Tools Reference (15 Tools)
| Tool Name | Type | Description |
|---|---|---|
get_current_windows_context |
Real-time | Full real-time snapshot: active window, screen time, CPU/RAM telemetry, battery. |
get_active_window |
Real-time | Focused foreground window title, process name, and category. |
get_pc_screen_time |
Aggregation | Today's PC screen time categorized by Productive, Entertainment, Communication, Browsing. |
get_pc_performance |
Telemetry | CPU load %, RAM total/free/used %, battery charge %, and AC state. |
get_productivity_score |
Analytics | Automated productivity score (0-100), balance ratio, and top distraction apps. |
search_window_history |
Search | Search application usage history today by process or window title query. |
get_idle_status |
Presence | User presence & idle duration (detects if user is actively typing or away). |
get_recent_transitions |
Chain | Chronological sequence of recent window and application switches. |
get_system_health |
Diagnostics | System resource health check, memory pressure level, and uptime. |
get_top_distractions |
Analytics | Identifies entertainment and distraction apps consuming the most time today. |
get_hourly_breakdown |
Historical | 24-hour timeline of productive vs entertainment minutes per hour for any date. |
get_historical_usage |
Historical | Multi-day productivity scores, duration trends, and top apps across a date range. |
get_unified_context |
Cross-Device | Combined snapshot merging PC desktop activity with synced Android phone context. |
get_cross_device_screen_time |
Cross-Device | Total combined screen time across PC and mobile with device breakdown. |
get_device_fleet |
Cross-Device | Lists all connected devices (Windows PC + Android phones) with sync status. |
🚀 Quick Start
1. Run via NPX (1-Click Execution)
npx windows-context-mcp --stdio
2. Build & Test Locally
npm install
npm test
npm run build
npm start
HTTP server starts on port 3001 with endpoint http://localhost:3001/mcp and live UI at http://localhost:3001.
🔗 AI Assistant Setup
Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json)
{
"mcpServers": {
"windowsContext": {
"command": "node",
"args": ["C:/Users/smnk2/.gemini/antigravity/scratch/windows-context-mcp/dist/index.js", "--stdio"]
}
}
}
Google Gemini / ChatGPT (HTTP Mode)
{
"mcpServers": {
"windowsContext": {
"url": "http://localhost:3001/mcp",
"transport": "http"
}
}
}
📄 License
MIT License.
Установка Windows Context
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/nandhakumar-murugan/windows-context-mcpFAQ
Windows Context MCP бесплатный?
Да, Windows Context MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Windows Context?
Нет, Windows Context работает без API-ключей и переменных окружения.
Windows Context — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Windows Context в Claude Desktop, Claude Code или Cursor?
Открой Windows Context на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
Roblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
автор: paralovAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
Compare Windows Context with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
