Skip to main content

Tool intelligence for AI agents. Analyze, optimize, and harmonize MCP tool descriptions and OpenClaw skills.

Project description

๐Ÿ” Kura

Tool intelligence for AI agents. Analyze, optimize, and harmonize MCP tool descriptions and OpenClaw skills.

Your agents connect to dozens of MCP tools and skills. Their descriptions are inconsistent, conflicting, and unoptimized. The result: wrong tool selection, wasted tokens, unreliable agent behavior.

Kura fixes this.

pip install kura-mcp
kura scan path/to/mcp-config.json

What it does

Detects conflicts โ€” finds tools with overlapping descriptions that confuse your agent's tool selection.

Scores quality โ€” rates every tool description 0-100 and tells you exactly what to fix.

Estimates token waste โ€” shows how much of your token budget goes to tool descriptions and where to cut.

Suggests improvements โ€” optionally uses an LLM to rewrite vague descriptions into precise ones.

Example

$ kura scan ~/.config/claude/claude_desktop_config.json

  ๐Ÿ” Kura โ€” Tool Quality Report

  Scanned: 47 tools across 8 MCP servers
  Overall catalog health: 64/100

  โ”€โ”€ HIGH CONFLICTS โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

  โš  github/create_issue โ†” jira/create_ticket  (0.92)
    Both describe creating issues/tickets with title and description.

  โš  filesystem/search โ†” browser/find  (0.87)
    Both describe searching/finding with patterns.

  โ”€โ”€ QUALITY ISSUES โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

  โœ— filesystem/search  (23/100)
    โ€ข Description too vague: "Search for files"
    โ€ข No parameter descriptions

  โ”€โ”€ TOKEN BUDGET โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

  Total catalog: 18,400 tokens
  Estimated after optimization: ~7,200 tokens (-61%)

Install

# Core (quality scoring + token estimation)
pip install kura-mcp

# With semantic similarity detection + NLP verb detection
pip install kura-mcp[analysis]

# With live MCP server connections + OAuth
pip install kura-mcp[dump]

# With LLM-enhanced scoring (Anthropic, OpenAI, or Google Gemini)
pip install kura-mcp[suggest]

# Everything
pip install kura-mcp[all]

Usage

# Scan a tools JSON file
kura scan tools.json

# Scan an OpenClaw skills directory
kura scan ~/.openclaw/skills/

# JSON output for CI/CD
kura scan tools.json --format json

# Custom similarity threshold
kura scan tools.json --threshold 0.80

# Skip similarity analysis (faster, no model download)
kura scan tools.json --no-similarity

# Approximate similarity + cached embeddings for large catalogs
kura scan big-catalog/ --ann

# Write full run artifacts (JSON, CSV, markdown, PNG charts)
kura scan tools.json --run-dir runs/analysis-2026-04/

# Dump tools from running MCP servers (auto-detects Claude Desktop + Cursor)
kura dump -o tools.json
kura dump --list                    # show available servers
kura dump -s github -s slack        # dump specific servers
kura dump -i                        # ask before each server

# Then scan the dump
kura scan tools.json

# LLM-enhanced scoring (uses your own API key)
ANTHROPIC_API_KEY=sk-... kura scan tools.json --llm
kura scan tools.json --llm --model openai
kura scan tools.json --llm --model google

Supported formats

  • Live MCP servers via kura dump (stdio, HTTP, SSE โ€” with OAuth support)
  • Claude Desktop config (claude_desktop_config.json)
  • Cursor config (~/.cursor/mcp.json)
  • OpenClaw skill directories (SKILL.md files)
  • Generic MCP tool list JSON (any tools/list output)

Why "Kura"?

Kura means "curate" โ€” because tool quality is a curation problem, not a configuration problem. Your agents are only as good as the tools they can find.

Roadmap

  • CLI quality scanner
  • Semantic conflict detection across servers
  • OpenClaw skill directory scanning
  • Live MCP server dumping with OAuth
  • LLM-enhanced quality scoring (Anthropic, OpenAI, Gemini)
  • CI/CD integration (GitHub Action)
  • LLM-powered rewrite suggestions

See issues for what's next.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kura_mcp-0.2.0.tar.gz (52.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kura_mcp-0.2.0-py3-none-any.whl (48.5 kB view details)

Uploaded Python 3

File details

Details for the file kura_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: kura_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 52.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for kura_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c577c616da678d4513aec1a293610e2e223efa17a0eaf1258561ea650ad03ebd
MD5 e9819bd5c0cd6da0bdb2aeedb6affbef
BLAKE2b-256 31d4ec3ee912dd74abd8845701ae41e16d86b6e880589b34af7bec77f0c2baaf

See more details on using hashes here.

File details

Details for the file kura_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: kura_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 48.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for kura_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ada0629060a712f5afb9256815e0fecbc1820144483f3d4be8a59897ab898788
MD5 0abdf4de81db8812d689352e638fd627
BLAKE2b-256 db46b313c4c4ab968b4b665ceee76bf01a1403a7039a0a885c5937196a3f9b66

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page