Skip to content

Releases: smallthinkingmachines/semantic-code-mcp

v0.4.1

12 Mar 09:04

Choose a tag to compare

v0.4.1

  • Fix ESLint errors: remove unused imports, use const for non-reassigned variables
  • Context Graph feature (from v0.4.0): AST-aware structural code graph with SQLite storage, session memory, and incremental updates

v0.4.0

12 Mar 08:47

Choose a tag to compare

What's New

  • Context Graph: AST-aware structural code graph with SQLite storage, edge types (calls, imports, extends, implements, exports, agent_linked), session memory, and incremental updates via file watcher
  • Opt-in via SEMANTIC_CODE_GRAPH_ENABLED=true
  • Graceful degradation if SQLite is unavailable
  • ESLint fixes for unused imports and const usage

v0.3.3

03 Feb 17:12

Choose a tag to compare

What's Changed

  • Fix invalid ID format error for paths with special characters

Full Changelog: v0.3.2...v0.3.3

v0.3.2

31 Jan 20:06

Choose a tag to compare

What's Changed

Documentation

  • Add client-specific installation instructions for OpenCode, Claude Code, and VS Code
  • Add First Run section explaining model download and indexing behavior
  • Move Nix workaround to Appendix for cleaner README
  • Remove programmatic API options (not relevant for MCP users)

Full Changelog: v0.3.1...v0.3.2

v0.3.1

31 Jan 17:49

Choose a tag to compare

Update README for WASM migration

v0.3.0

31 Jan 17:49

Choose a tag to compare

WASM Migration

Replace native tree-sitter with web-tree-sitter (WASM) for cross-platform compatibility.

Changes

  • Remove 9 native tree-sitter packages, add web-tree-sitter
  • No more native module compilation on first run
  • Instant startup with npx @smallthinkingmachines/semantic-code-mcp
  • Add C language support
  • Bundled WASM grammars for all supported languages

Breaking Changes

None - API is unchanged.

v0.2.3

31 Jan 16:58

Choose a tag to compare

What's Changed

Instant MCP Server Startup

The server now connects immediately (~0.1s) instead of waiting for native module compilation. Heavy dependencies (tree-sitter, lancedb, embeddings) are lazy-loaded on first search.

This fixes timeout issues when using npx with MCP clients like Claude Code, Cursor, and opencode.

Changes

  • Lazy loading: Defer tree-sitter, lancedb, and embedding model loading until first search
  • Progress messages: Clear feedback during first-time initialization
  • Updated README: Recommends global install for best experience

Installation

For instant startup, install globally first:

npm install -g @smallthinkingmachines/semantic-code-mcp

Then use semantic-code-mcp as the command in your MCP config.

v0.2.2

31 Jan 02:42

Choose a tag to compare

Documentation

  • Add npm version and MIT license badges to README
  • Add GitHub and npm links to README header
  • Fix Claude Code config path (~/.claude.json instead of ~/.claude/claude_desktop_config.json)
  • Add Java, C/C++, and C# to supported languages list
  • Improve Problem/Solution sections with clearer explanation
  • Update flake.nix description

Installation

npm install @smallthinkingmachines/semantic-code-mcp

v0.2.1

30 Jan 23:05

Choose a tag to compare

Publish to npm under @smallthinkingmachines scope

Changes

  • Package renamed to @smallthinkingmachines/semantic-code-mcp
  • Added repository, homepage, and bugs fields to package.json
  • Added files field to control npm package contents
  • Updated README with scoped package install instructions

Installation

npm install @smallthinkingmachines/semantic-code-mcp
# or
npx @smallthinkingmachines/semantic-code-mcp

v0.2.0

30 Jan 22:33

Choose a tag to compare

What's New

ESLint Setup

  • Added ESLint with TypeScript support using flat config format
  • Configured recommended rules with custom overrides for the project

Extended Language Support

  • Java: Classes, methods, interfaces, constructors, enums, records
  • C#: Classes, methods, interfaces, constructors, structs, properties, namespaces
  • C++: Functions, classes, structs, templates, namespaces (.cpp, .cc, .cxx, .hpp, .h, .hxx)

Query Embedding Cache

  • Added LRU cache for query embeddings to improve repeated search performance
  • Configurable cache size (default: 100 entries)
  • New helper functions: clearQueryCache() and getQueryCacheStats()

Other Changes

  • Fixed lint issues across the codebase
  • Added comprehensive tests for new features (323 total tests)