MCP Catalogs
Homecli-use screenshot

cli-use

by JustVugg·16·Score 42

A tool that converts any MCP server into a CLI, reducing token costs by 60-80% with zero runtime dependencies.

developer-toolsproductivityfile-system
3
Forks
1
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

Cli-use transforms any MCP server into a native command-line interface through a single command, dramatically reducing token consumption for AI agents. It eliminates schema discovery, request framing, and response parsing overhead by converting verbose JSON-RPC calls into terse CLI commands. The tool supports both one-shot execution and daemon mode for improved performance, with features like call caching, batch/pipe mode, shell completions, and OpenAPI export. Built with pure Python standard library and maintains compatibility across Linux, macOS, and Windows.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Reduce token costs in AI agent workflows by replacing MCP tool calls with efficient CLI equivalents
you:Create reusable CLI interfaces from MCP servers for shell scripts and automation pipelines
you:Build agent-friendly toolsets with automatic SKILL.md documentation generation
you:How much token reduction does cli-use provide?
you:What MCP servers are pre-configured?

When to choose this

Choose cli-use when you need to reduce token costs for MCP tool calls or want to use MCP servers as native Unix-style CLI commands in shell scripts.

When NOT to choose this

Don't choose cli-use if you need full MCP protocol features beyond basic tool calling or require real-time response times below 10ms.

Tools this server exposes

12 tools extracted from the README
  • addadd <alias> <path>

    Install and register an MCP server as a CLI alias

  • list

    List available MCP servers in the built-in registry

  • daemon

    Manage MCP server daemons for faster repeated calls

  • openapi

    Generate OpenAPI spec from cached MCP server tools

  • completions

    Generate shell completion scripts for MCP tools

  • batch

    Run JSON pipeline across multiple MCP server aliases

  • run

    Run a specific MCP tool directly from command line

  • mcp-list

    List tools available from an MCP server

  • convert

    Convert MCP server to standalone CLI script

  • fs

    Filesystem operations: read, write, list, and search files

  • gh

    GitHub operations: issues, PRs, and repos

  • sqlite

    Query and inspect SQLite databases

Comparable tools

mcpshell-mcpmcp-server-filesystemmcp-server-git

Installation

git clone https://github.com/cli-use/cli-use.git
cd cli-use
pip install -e .

For Claude Desktop integration:

{
  "mcpServers": {
    "cli-use": {
      "command": "python",
      "args": ["-m", "cli_use.server"]
    }
  }
}

FAQ

How much token reduction does cli-use provide?
Measured tests show 60-80% token reduction across different session sizes, with significant savings in schema discovery (80% cheaper) and per-call I/O (59% cheaper).
What MCP servers are pre-configured?
Cli-use comes with built-in support for 10 servers: fs (filesystem), memory (knowledge graph), gh (GitHub), git, sqlite, time, fetch, puppeteer, brave (web search), and slack.

Compare cli-use with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.