npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

musa-knowledge-search

v1.1.1

Published

MCP server for MUSA/Airweave knowledge search: musa_search, list-collection-sources, get-config. Instant/classic/agentic tiers.

Readme

MUSA Knowledge Search MCP Server

MCP server to search the MUSA knowledge base across GitHub, GitLab, Jira, Confluence, and official documentation.

Features

  • Search across multiple MUSA-related data sources in a single query
  • Three search tiers for different depth and speed requirements:
    • instant: Fast vector search (~1s) — quick lookups
    • classic: AI-optimized search (~2-5s) — best for most queries (default)
    • agentic: Multi-step agent (~10-30s) — complex analysis, summarization
  • Structured filtering by source, date, etc.

Data Sources

The MUSA knowledge base indexes:

  • Code repos: MUSA SDK, PyTorch-MUSA, MUSA examples and demos
  • Documentation: Official MUSA docs, API references, guides
  • Confluence: Internal wiki pages, design docs, meeting notes
  • Jira: MUSA-related issues, bug reports, feature requests

Installation

npx musa-knowledge-search

Configuration

Add to your MCP client configuration (e.g., Claude Desktop, Cursor, OpenClaw):

{
  "mcpServers": {
    "musa-knowledge-search": {
      "command": "npx",
      "args": ["-y", "musa-knowledge-search"],
      "env": {
        "AIRWEAVE_API_KEY": "your-api-key",
        "AIRWEAVE_COLLECTION": "your-collection-id"
      }
    }
  }
}

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | AIRWEAVE_API_KEY | Yes | Airweave API key | | AIRWEAVE_COLLECTION | Yes | Collection readable ID | | AIRWEAVE_BASE_URL | No | API base URL (default: https://api.airweave.ai) | | AIRWEAVE_ORGANIZATION_ID | No | Organization ID for multi-tenant |

Tools

list-collection-sources

List connections in the configured collection (names, types, entity counts, filter hints).

| Parameter | Default | Description | |-----------|---------|-------------| | format | markdown | markdown or json | | includeDetails | false | Fetch per-connection details (descriptions, safe config, sync_id) | | refresh | false | Bypass cache (default TTL 120s, override with MUSA_SOURCE_LIST_CACHE_TTL_MS) |

Call this before musa_search when you need source-specific filters. Filter hints use airweave_system_metadata.source_name (= source type / short_name).

get-config

Lightweight server configuration summary (collection, base URL, available tools).

musa_search

Search the MUSA knowledge base.

Parameters:

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | query | string | required | Search query text | | tier | enum | classic | instant / classic / agentic | | limit | number | 100 | Max results (1-1000) | | offset | number | 0 | Skip results for pagination | | retrieval_strategy | enum | hybrid | hybrid / semantic / keyword (instant tier only) | | thinking | boolean | false | Enable chain-of-thought (agentic tier only) | | filter | array | - | Structured filters |

Examples:

// Basic search
{ "query": "torch.musa.is_available()" }

// Deep search with agentic tier
{ "query": "MUSA driver installation guide", "tier": "agentic" }

// Quick lookup
{ "query": "JIRA-123", "tier": "instant" }

// Filter by source
{
  "query": "memory leak",
  "filter": [{
    "conditions": [{
      "field": "airweave_system_metadata.source_name",
      "operator": "equals",
      "value": "github"
    }]
  }]
}

License

MIT