# MCP vs CLI vs Skills: What Each Costs in Context

DevFeed: [MCP vs CLI vs Skills: What Each Costs in Context](<https://devfeed.tech/articles/mcp-vs-cli-vs-skills-what-each-costs-in-context-129100.md>)

Original publisher: [Read original article](<https://openrouter.ai/blog/insights/mcp-vs-cli-vs-skills/>)

Author: OpenRouter

Published: 2026-11-11T00:00:00Z

Content type: comparison

Language: en

Sources: [OpenRouter](<https://devfeed.tech/sources/openrouter.md>)

Topics: [context window](<https://devfeed.tech/topics/context-window.md>), [MSP MCP](<https://devfeed.tech/topics/msp-mcp.md>), [Agent Skills](<https://devfeed.tech/topics/agent-skills.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Model Routing](<https://devfeed.tech/topics/model-routing.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-sdk](<https://devfeed.tech/tags/agent-sdk.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-agent-context](<https://devfeed.tech/tags/ai-agent-context.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [anthropic-claude](<https://devfeed.tech/tags/anthropic-claude.md>), [anthropic-claude-haiku-5-5](<https://devfeed.tech/tags/anthropic-claude-haiku-5-5.md>), [api](<https://devfeed.tech/tags/api.md>), [caching](<https://devfeed.tech/tags/caching.md>), [cli](<https://devfeed.tech/tags/cli.md>), [context](<https://devfeed.tech/tags/context.md>), [context-window](<https://devfeed.tech/tags/context-window.md>), [costs](<https://devfeed.tech/tags/costs.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [model-context-protocol](<https://devfeed.tech/tags/model-context-protocol.md>), [skills](<https://devfeed.tech/tags/skills.md>), [tokens](<https://devfeed.tech/tags/tokens.md>), [tool](<https://devfeed.tech/tags/tool.md>)

## AI overview

In one GitHub task, the CLI used far fewer input tokens than the GitHub MCP server: on Sonnet 5.5, 1,421 versus 59,417 with 46 default tools; the skill used 3,315. Tool definitions and returned data both add cost: a full release object added about 20,400 tokens, while requesting only needed fields reduced issue results. Scoping MCP to two tools cut its first request, and a 4,000-character result cap reduced total task tokens, though that cap relied on fields appearing near the result's top. OpenRouter Tool Search reduced up-front definition costs to under 600 tokens, but whole-task results varied by model: it raised Haiku's cost and produced search retries or tool-call errors in some runs. The article recommends using a CLI when available, or scoped MCP with small results, and measuring on the intended model and provider. These are results from one server and one task.

## Source excerpt

Every tool you give an agent sends its definition to the model on every request, and you pay for it as input tokens. A Model Context Protocol (MCP) server can add tens of thousands of tokens to the context window. The usual alternatives are a command-line tool (CLI) or a skill.