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

a02-career-navigation-mcp

v0.2.1

Published

A02 AI career navigation MCP server with four explainable tools

Readme

A02 Career Navigation MCP

a02-career-navigation-mcp is the competition demo service for the A02 AI career navigation project. One MCP server exposes exactly four tools:

| Tool | Purpose | Writes state | |---|---|---| | calculate_career_profile | Calculate an explainable eight-dimension profile and three role matches | No | | generate_career_path | Generate fast-gap and project-driven routes | No | | evaluate_scenario | List, start and evaluate workplace simulations | Scenario session (DB when MySQL mode is on) | | manage_progress | Query or record progress, activate paths and update tasks | Events, active path and task status (DB when MySQL mode is on; local file overlay otherwise) |

All users, jobs, scores, events and trends are synthetic. Outputs include schema_version, calculation_version, trace_id, data_split, is_synthetic and a visible disclaimer. The service does not accept names, phone numbers, resumes or other real personal information.

Local verification

Requirements: Node.js 22.x and npm.

npm ci
npm run check

Start the MCP stdio server:

npm run build
node dist/cli.js

Start the local REST adapter used by the React UI:

npm run start:rest

The health endpoint is http://localhost:3000/api/health. The Vite frontend proxies /api to this port.

Tool examples

{"name":"calculate_career_profile","arguments":{"user_id":"USER-G001"}}
{"name":"generate_career_path","arguments":{"user_id":"USER-G001","target_role_id":"ROLE-AI-ALG","horizon_years":3,"weekly_hours":12,"priority":"balanced"}}
{"name":"evaluate_scenario","arguments":{"action":"start","user_id":"USER-G001","scenario_id":"SCN-REMOTE-01"}}
{"name":"manage_progress","arguments":{"action":"record_event","user_id":"USER-G001","idempotency_key":"demo-sql-20260915","event_type":"skill_practice","detail":"完成SQL技能练习","skill_id":"SKILL-009","duration_minutes":30,"score_delta":2}}

Write operations require an idempotency_key. A repeated key returns the original result and does not create a duplicate event.

TBox one-click deployment

After the package is published and synchronized to npmmirror.com, create a plugin in TBox, select 连接 MCP 服务, and use:

npx -y [email protected]

Debug all four tools before publishing the plugin. Every response reports persistence_mode=ephemeral; persistence_backend identifies whether the current process is using a temporary local file or the in-memory fallback. It must not be presented as durable user storage.

Runtime data

  • Contract: 1.2.0
  • Dataset: v0.5-core
  • Dataset commit: 9b6a75cdf847132a461a59cb520f90b2e466bb33
  • Generator seed: 20260905
  • Core demo: 100 users, 300 jobs, 200 resources, 60 scenarios
  • Hidden evaluation users: 100 records, available only with A02_ENABLE_TEST_DATA=true

data/runtime-data.sha256 verifies the packed runtime bundle. The current SHA-256 is 3fcb6ed19a81f910352dac62adcf71d3c2003c74f2f17b3ee5ce81aa3f9dad46. npm run build:data rebuilds it only when the validated dataset repository is available through A02_DATASET_ROOT or the documented sibling directory. Reference entities and nested relations retain the complete provenance fields from schema 1.2.0.

Optional MySQL import

The repository-root ai_career_nav.sql is a legacy snapshot and is not used by this service. It contains mismatched user/profile associations and conflates scenario templates with sessions.

Use a new MySQL 8 database ending in _v12, set the variables in .env.example, then run:

npm run build
npm run db:import

The importer applies db/schema_v1_2.sql without dropping tables and upserts the validated bundle by stable string IDs. It imports 100 core users, 6,000 skill rows, 24 golden reference paths, 60 scenario templates and 4,000 growth events. It does not import test users.

Boundaries

  • This is a competition simulation, not employment, salary or market advice.
  • role_adjacent_skill knowledge cards never participate in matching scores.
  • Scenario evaluation proposes profile deltas but never applies them automatically.
  • Golden cases remain pending_team_signoff until the team completes the manual review record.