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

@astrivya/mcp-server

v0.5.0

Published

Model Context Protocol server for Astrivya Knowledge Graph — 18 tools for AI coding agents to read/write/query the AKG

Readme

@astrivya/mcp-server

Model Context Protocol server for the Astrivya Knowledge Graph. Provides 18 tools that any MCP-compatible client (Claude Desktop, Cursor, Cline, VS Code with Continue, etc.) can use to read, write, and search your local knowledge graph.

npm install -g @astrivya/mcp-server

# Run with stdio transport (default for Claude Desktop)
astrivya-mcp

# Or as HTTP/SSE on port 3001
astrivya-mcp --http --port 3001

Setup

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "astrivya": {
      "command": "npx",
      "args": ["-y", "@astrivya/mcp-server"]
    }
  }
}

VS Code with Continue

Add to ~/.continue/config.json:

{
  "experimental": {
    "mcpServers": {
      "astrivya": {
        "command": "npx",
        "args": ["-y", "@astrivya/mcp-server"]
      }
    }
  }
}

Tools

| Tool | Input | Description | |------|-------|-------------| | search_memories | query, limit? | Search the knowledge graph with semantic ranking | | get_team_context | team_id? | Workspace context (nodes, edges, chunks stats) | | get_person_context | — | Current workspace status | | get_mcp_status | — | MCP server health: uptime, sessions, tool call counters, recent events | | log_decision | title, content, file_context? | Record a design decision | | log_memory | content, type?, visibility? | Store a custom fact or insight | | search_connectors | query, limit? | Search indexed content chunks | | get_daily_briefing | limit? | Recent workspace activity | | find_related_knowledge | term, limit? | Semantic search for related concepts | | get_expertise_profile | team_id? | Workspace knowledge composition | | trace_decision | decision_id | Trace a decision's graph neighborhood | | get_team_members | team_id? | (Requires Astrivya Cloud API) | | get_team_analytics | team_id? | (Requires Astrivya Cloud API) | | list_notifications | unread?, type?, limit? | (Requires Astrivya Cloud API) | | mark_notification_read | notification_id? | (Requires Astrivya Cloud API) | | check_credits | — | Live credit balance, lifetime usage, recent transactions (cloud; fails gracefully offline) | | get_context_digest | limit? | Compact pre-digested context for session start (prose) | | get_workspace_updates | since?, limit? | Knowledge-graph changes since a timestamp (delta) |

Cloud-requiring tools gracefully fall back to local AKG stats when the cloud API is unavailable.

Resources

| URI | Description | |-----|-------------| | astrivya://team/active/knowledge | Workspace metadata | | astrivya://user/active/memories | Personal memory summary | | astrivya://briefing/today | Recent activity | | astrivya://org/knowledge-graph | All nodes in the graph |

Environment

| Variable | Description | |----------|-------------| | ASTRIVYA_WORKSPACE_PATH | Workspace root (default: cwd) | | ASTRIVYA_TOKEN | Cloud API token (optional, for sync) | | ASTRIVYA_SYNC_KEY | Sync API key (optional) | | ASTRIVYA_CLOUD_URL | Cloud API URL (optional) |

Telemetry

The MCP server sends anonymous, opt-out usage stats (server starts/stops, session start/end, tool names, client name, and a random install id) to PostHog so we can improve the product. No code, paths, arguments, query content, tokens, or any other sensitive data is ever collected. Tool calls are sampled at most once per session per tool.

  • You'll see a one-time notice on stderr at startup.
  • Disable with ASTRIVYA_TELEMETRY=off or NO_TELEMETRY=1.
  • Telemetry is automatically disabled in CI environments.

License

Apache 2.0