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 🙏

© 2025 – Pkg Stats / Ryan Hefner

wordslash-mcp

v0.3.0

Published

MCP Server for WordSlash vocabulary data management

Readme

WordSlash MCP Server

MCP (Model Context Protocol) Server for managing WordSlash vocabulary data. Provides stdio-based tools for reading, creating, updating, and deleting vocabulary cards.

What's New in v0.2.0

Morpheme Segmentation: Break down words into meaningful parts

  • Add morphemes when creating cards: morphemes: ["ephe", "meral"]
  • Update existing cards with morpheme breakdown
  • Perfect for learning word roots and prefixes/suffixes

📊 Dashboard Statistics: Get comprehensive learning analytics

  • Card counts, review stats, retention rate
  • Learning streaks and progress tracking

🕸️ Knowledge Graph: Visualize vocabulary relationships

  • See connections through synonyms, antonyms, and tags
  • Interactive graph generation with filtering options

Installation

cd scripts/mcp-server
npm install
npm run build

Usage

With Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "wordslash": {
      "command": "node",
      "args": ["/path/to/wordslash/scripts/mcp-server/dist/index.js"],
      "env": {
        "WORDSLASH_STORAGE_PATH": "/optional/custom/path"
      }
    }
  }
}

With VS Code + Continue

Add to your Continue config:

{
  "mcpServers": [
    {
      "name": "wordslash",
      "command": "node",
      "args": ["/path/to/wordslash/scripts/mcp-server/dist/index.js"]
    }
  ]
}

Development Mode

npm run dev

Available Tools

Cards Management

| Tool | Description | |------|-------------| | list_cards | List all vocabulary cards (with optional search/tag filter) | | get_card | Get a single card by ID or term | | create_card | Create a new vocabulary card | | update_card | Update an existing card | | delete_card | Soft delete a card |

Events (Read-only)

| Tool | Description | |------|-------------| | list_events | List review events (learning history) |

Index Management

| Tool | Description | |------|-------------| | get_index | Get current index status | | rebuild_index | Rebuild index from cards and events | | get_storage_path | Get the storage path location |

Examples

Create a card with morphemes

Use create_card to add "ephemeral" with:
- phonetic: /ɪˈfem.ər.əl/
- morphemes: ["ephe", "meral"]
- translation: "短暂的"
- example: "Fame is ephemeral."

Create a simple card

Use create_card to add "ephemeral" with translation "短暂的" and example "Fame is ephemeral."

List cards with filter

Use list_cards to find cards with tag "GRE"

Update a card with morphemes

Use update_card to add morphemes ["trans", "ient"] and synonyms ["ephemeral", "fleeting"] to card id "xxx"

Update card synonyms

Use update_card to add synonyms ["transient", "fleeting"] to card id "xxx"

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | WORDSLASH_STORAGE_PATH | Custom storage path | VS Code globalStorage path |

Storage Location

Default storage paths:

  • macOS: ~/Library/Application Support/Code/User/globalStorage/wordslash.wordslash/
  • Windows: %APPDATA%/Code/User/globalStorage/wordslash.wordslash/
  • Linux: ~/.config/Code/User/globalStorage/wordslash.wordslash/

Data Files

| File | Description | Operations | |------|-------------|------------| | cards.jsonl | Vocabulary cards (JSONL format) | Read/Write | | events.jsonl | Review events | Read-only | | index.json | Cached index | Read/Write (via rebuild) |