- ✓Open-source license (Apache-2.0)
- ✓Actively maintained (<30d)
- ✓Documented (README)
- !No description
git clone https://github.com/toolc-dev/toolc{
"mcpServers": {
"toolc": {
"command": "node",
"args": ["/path/to/toolc/dist/index.js"]
}
}
}MCP Servers overview
# toolc
**The optimizing compiler for agent tool surfaces.** Point it at your MCP
servers, or just a REST API's OpenAPI spec, or even a docs page, and get
back one endpoint that serves a smaller, smarter tool surface: cheaper for
every agent that connects, more accurate on every task, with every call
logged.
Connecting N MCP servers dumps every tool definition into the model's
context, degrades tool selection, and forces improvised multi-hop call
chains. toolc compiles the federation instead:
- **Rewrite**: LLM-optimized descriptions with sibling disambiguation
- **Consolidate**: families of near-duplicate tools (`search_x`/`find_x`/`get_x`)
merge into single facade tools with deterministic routing
- **Selection**: the whole catalog compresses behind two meta-tools
(`search_tools`/`call_tool`) when you want maximum context savings
- **Compaction**: oversized results are summarized at serve time, preserving
identifiers and sourcing details
- **Compose**: REST APIs join the pool straight from an OpenAPI spec, or from
a drafted spec synthesized from their documentation
- **Observe**: every call logged with arguments and results; recurring errors
cluster into recommended fixes
## Benchmark
131 tools across 5 live servers, 30 tasks × 3 trials, judged answers
([full grid](docs/benchmark-2026-08-09.md) ·
[consolidation run](docs/benchmark-consolidate-2026-08-10.md)):
| condition | success | cost / completed task | tool-def context |
|---|---|---|---|
| raw (all 131 tools) | 96.7% | $0.2631 | ~24,360 tok |
| **compiled + consolidate** | 96.7% | **$0.0411 (6.4× cheaper)** | ~845 tok |
| **consolidate, no selection** | **100.0%** | $0.1335 | ~14,506 tok |
Consolidation dominates both ends of the frontier: the selection surface is
the cost lever, consolidation lifts accuracy everywhere. Every pass is a
config toggle; pick the tradeoff per deployment.
## Quick start
```sh
git clone https://github.com/toolc-dev/toolc && cd toolc
pnpm install && pnpm -r test
# describe your federation
cp toolc.config.example.jsonc toolc.config.jsonc
# introspect it
node packages/cli/bin/toolc.mjs -c toolc.config.jsonc inspect
# compile (set ANTHROPIC_API_KEY for the rewrite/consolidate passes)
node packages/cli/bin/toolc.mjs -c toolc.config.jsonc compile
# serve the compiled surface over stdio (add to Claude as an MCP server)
node packages/cli/bin/toolc.mjs -c toolc.config.jsonc serve --mode compiled
```
A downstream can be an MCP server or a bare REST API:
```jsonc
{
"downstream": [
{ "id": "gh", "transport": { "type": "http", "url": "https://api.githubcopilot.com/mcp/" } },
{ "id": "nws", "transport": { "type": "openapi", "spec": "https://api.weather.gov/openapi.json" } }
]
}
```
See [SELF_HOSTING.md](SELF_HOSTING.md) for Docker deployment.
## Hosted
[toolc.dev](https://toolc.dev) runs this same engine as a managed service:
compiled HTTPS endpoints, a console with a playground and full-payload log
explorer, docs-to-spec drafting, and error-driven fix recommendations.
## Layout
- `packages/core`: IR (Capability Graph), frontends (MCP, OpenAPI, docs synthesis), passes, emit
- `packages/gateway`: runtime MCP server (mirror + compiled) with call logging and compaction
- `packages/cli`: the `toolc` command
- `packages/harness`: benchmark runner, grading, reports
- `packages/shared`: config schema, errors
## License
The engine (everything in this repository) is Apache-2.0, forever: anyone
can compile and serve their own tool surfaces locally with the exact same
compilation quality as the hosted product.
What people ask about toolc
What is toolc-dev/toolc?
+
toolc-dev/toolc is mcp servers for the Claude AI ecosystem with 0 GitHub stars.
How do I install toolc?
+
You can install toolc by cloning the repository (https://github.com/toolc-dev/toolc) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is toolc-dev/toolc safe to use?
+
Our security agent has analyzed toolc-dev/toolc and assigned a Trust Score of 77/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains toolc-dev/toolc?
+
toolc-dev/toolc is maintained by toolc-dev. The last recorded GitHub activity is dated 2026-09-15, with 0 open issues.
Are there alternatives to toolc?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy toolc to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/toolc-dev-toolc)<a href="https://claudewave.com/repo/toolc-dev-toolc"><img src="https://claudewave.com/api/badge/toolc-dev-toolc" alt="Featured on ClaudeWave: toolc-dev/toolc" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ
The fastest path to AI-powered full stack observability, even for lean teams.