About Universal Context Mode
Universal Context Mode is an MCP server published by phanindra208 in the Files category: stop losing context to large outputs — MCP server that compresses tool outputs. Works everywhere: Claude Code, Cursor, Windsurf, Copilot, and any MCP-compatible IDE. Conduid read 8 tools from its source: compress, execute, execute_file, fetch_and_index, index, proxy and 2 more. It is published to npm as universal-context-mode and starts with npx.
The repository has 5 stars and 0 forks, and its last commit was on 18 Nov 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include context-window and compression.
Install
claude mcp add universal-context-mode -- npx -y universal-context-modenpx -y universal-context-modegit clone https://github.com/phanindra208/universal-context-modeTools (8)
compress| Parameter | Type | Description |
|---|---|---|
| content * | string | The large text content to compress. |
| intent | string | Optional: what you are looking for. Focuses compression on relevant parts. |
| max_output_tokens | number | Target maximum output tokens. Default: 2000. |
| strategy | string | Compression strategy. Default: auto (detects best strategy). |
execute| Parameter | Type | Description |
|---|---|---|
| code * | string | The code or shell commands to execute. |
| intent | string | Optional: describe what you are looking for in the output. Large outputs will be filtered to match this intent. |
| language * | string | Programming language or shell to use for execution. |
| max_output_tokens | number | Maximum output tokens to return. Default: 2000. |
| timeout | number | Execution timeout in milliseconds. Default: 30000. |
execute_file| Parameter | Type | Description |
|---|---|---|
| code * | string | JavaScript code that reads process.env.FILE_CONTENT and prints a summary. |
| file_path * | string | Absolute path to the file to process. |
| intent | string | Optional: what to look for in the file. Output will be filtered to match. |
| timeout | number | Timeout in milliseconds. Default: 30000. |
fetch_and_index| Parameter | Type | Description |
|---|---|---|
| chunk_size | number | Maximum characters per chunk. Default: 1500. |
| headers | object | Optional HTTP headers to include (e.g. Authorization for private docs). Values are passed as-is. |
| kb_name | string | Knowledge base name. Default: "default". |
| url * | string | URL to fetch and index. |
index| Parameter | Type | Description |
|---|---|---|
| chunk_size | number | Maximum characters per chunk. Default: 1500. |
| content * | string | The text or markdown content to index. |
| kb_name | string | Knowledge base name. Default: "default". Use different names to separate content domains. |
| source | string | Source identifier (file path, URL, or description). |
proxy| Parameter | Type | Description |
|---|---|---|
| args * | object | Arguments to pass to the tool. |
| intent | string | What you are looking for in the output. |
| max_output_tokens | number | Maximum output tokens. Default: 2000. |
| strategy | string | Compression strategy. Default: auto. |
| tool * | string | The tool to execute (e.g., "bash", "execute", "read_file"). |
reportsearch| Parameter | Type | Description |
|---|---|---|
| kb_name | string | Knowledge base name to search. Default: "default". |
| query * | string | Natural language search query. |
| top_k | number | Number of results to return. Default: 5. |
Security checks
- ✓README presentThe repository's README runs to about 2.0K words.
5 checks have not been run yet.
README
The repository's README runs to about 2.0K words. The original in the repository is authoritative.
Read full README