Skip to content

Add semantic distance matrix and tool clustering #82

Description

@cursor

Summary

Build semantic distance matrix and clustering (SEARCH/WRITE/DESTRUCTIVE-style groups) to help developers understand large MCP catalogs and feed collision warnings.

Milestone

Milestone 9 — Semantic Intelligence

Suggested labels

enhancement, priority:p2, area:diff, research

Acceptance criteria

  • Library API to compute pairwise similarity matrix for a snapshot’s tools
  • Simple clustering into action families (documented heuristic or embedding-based)
  • CLI or eval/audit section that surfaces top similar pairs and clusters
  • Deterministic default; embeddings optional
  • Tests with github-style fixture catalogs
  • Performance note for N≥500 (may subsample or require flag)

Depends on

  • Tool collision / confusability primitives

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions