← Back to directory
S

Smart Coding MCP

Community
Explore codebases with local semantic search.
Category
Dev Tools #621 of 751
Stars
★ 200 Popular
Transport
stdio (local process)
Runtime
Node.js 18+
Credentials
No credential needed
License
MIT
Last commit
⚠
Tools
6
41FMRS · D

The README describes local semantic code search, package version lookup, and indexing management tools, and includes an MCP configuration example and setup guides for several IDEs. The server manifest was not provided, so client levels and transport are recorded only from the README's configuration example and setup descriptions.

Strongest · Setup experience 12/20 Weakest · Reliability 5/20

Reliability
5/20
Security and permissions
8/20
Maintenance
6/20
Documentation
10/20
Setup experience
12/20
Why each score
Reliability 5/20
The README lists semantic search, indexing, cache clearing, workspace switching, and status tools, and describes indexing and caching. However, the server manifest is unavailable and there is no verifiable source, test, or CI evidence to confirm initialization, tool parameters matching actual behavior, or diagnosable errors. The basic path is only plausible.
Security and permissions 8/20
The README claims that the model and code processing run locally and identifies the cache directory; the listed cache, indexing, and workspace operations have stated purposes. Without the manifest or source, actual network behavior, file-access scope, side-effect limits, and confirmation requirements cannot be verified. This is a substantial evidence gap, but the supplied material does not establish a red-line issue.
Maintenance 6/20
The repository is marked MIT licensed and unarchived, and the README provides npm install and update paths. There is no evidence of commit or release history, dependency updates, issue response, or a security contact. Stars and open issue counts do not add maintenance points.
Documentation 10/20
The README provides feature descriptions, tool use cases, configuration examples, environment variables, performance claims, and an architecture overview. Tool parameters, platform limits, troubleshooting, and key capabilities lack corroboration from source or a manifest, and dependency and runtime limitations are not fully disclosed.
Setup experience 12/20
The README states a Node.js 18 or later requirement and provides a global npm install command plus MCP client configuration examples. These support a basic setup path, but there is no verifiable installation or handshake evidence; several clients require absolute paths, and platform compatibility and troubleshooting details are limited.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the networkConnects to a database

Best for

  • AI coding assistant users who want meaning-based search in a local codebase.
  • Developers who need current versions across multiple package ecosystems.
  • Users who switch between multiple projects in one session.

Not for

  • Users who need a remotely hosted or cloud code-indexing service.
  • Users who require client or connection support beyond what the README explicitly documents.

Required permissions

  • Needs access to files in the configured workspace to discover, chunk, and index code.
  • Needs to create and manage the local .smart-coding-cache/ directory.
  • Package version lookups access the relevant official registries; code indexing and embeddings are described as running locally.

Risks and side effects

  • Indexing processes workspace code and caches embeddings locally; verify the workspace path is correct.
  • Indexing can use CPU; the README says indexing CPU usage is limited to 50% by default.
  • Clearing the cache deletes the entire .smart-coding-cache/ directory and requires reindexing.
  • Package version lookups depend on live registry access.

Setup

Before you start

Runtime:Node.js 18+

Other optional settings (14)
SMART_CODING_VERBOSE optional Controls detailed logging; set it in the MCP configuration's env field.
SMART_CODING_MAX_RESULTS optional Sets the maximum number of search results; set it in the MCP configuration's env field.
SMART_CODING_BATCH_SIZE optional Sets the number of files processed in parallel; set it in the MCP configuration's env field.
SMART_CODING_MAX_FILE_SIZE optional Sets the maximum file size in bytes; set it in the MCP configuration's env field.
SMART_CODING_CHUNK_SIZE optional Sets the number of code lines per chunk; set it in the MCP configuration's env field.
SMART_CODING_EMBEDDING_DIMENSION optional Sets the MRL embedding dimension; set it in the MCP configuration's env field.
SMART_CODING_EMBEDDING_MODEL optional Sets the AI embedding model; set it in the MCP configuration's env field.
SMART_CODING_DEVICE optional Sets the inference device; set it in the MCP configuration's env field.
SMART_CODING_SEMANTIC_WEIGHT optional Sets the semantic matching weight relative to exact matching; set it in the MCP configuration's env field.
SMART_CODING_EXACT_MATCH_BOOST optional Sets the boost multiplier for exact text matches; set it in the MCP configuration's env field.
SMART_CODING_MAX_CPU_PERCENT optional Sets the CPU usage limit during indexing; set it in the MCP configuration's env field.
SMART_CODING_CHUNKING_MODE optional Sets the code chunking method; set it in the MCP configuration's env field.
SMART_CODING_WATCH_FILES optional Controls automatic reindexing when files change; set it in the MCP configuration's env field.
SMART_CODING_AUTO_INDEX_DELAY optional Sets the delay in milliseconds before background indexing, or false to disable it; set it in the MCP configuration's env field.

Install globally with npm install -g smart-coding-mcp. Add the server configuration shown in the README to your MCP client configuration, replacing the workspace argument with your project's absolute path. The README provides setup guides for the listed clients.

.cursor/mcp.json
{"mcpServers":{"smart-coding-mcp":{"command":"smart-coding-mcp","args":["--workspace","/absolute/path/to/your/project"]}}}

Shown for Cursor. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "smart-coding-mcp": {
      "command": "smart-coding-mcp",
      "args": [
        "--workspace",
        "/absolute/path/to/your/project"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.smart-coding-mcp]
command = "smart-coding-mcp"
args = ["--workspace", "/absolute/path/to/your/project"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add smart-coding-mcp -- smart-coding-mcp --workspace /absolute/path/to/your/project

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

After installing and connecting the server, confirm a_semantic_search and f_get_status appear in the client's tool list. Call f_get_status and check the reported workspace and indexing status.

Troubleshooting

  1. Check that the client configuration uses the smart-coding-mcp command and a valid workspace path.
  2. Use the status tool to inspect the workspace, indexing state, model configuration, and cache.
  3. Manually reindex if results are stale or incomplete; clear the cache and reindex if needed.
  4. Enable verbose logging in the configuration when diagnosing connection or indexing issues.

Things to try

Once connected, you can ask your AI assistant things like:

  • Search the codebase for authentication logic.
  • Find how the database connection is managed.
  • Check the latest version of lodash.
  • Show the current workspace indexing status.

Tools 6

a_semantic_search read-only
Search code by natural-language meaning using semantic similarity and exact-match boosting.
d_check_last_version read-only
Fetch the latest version from official package registries across 20+ ecosystems, including npm, PyPI, and Crates.io.
b_index_codebase writes
Manually trigger a full codebase reindex.
c_clear_cache destructive
Delete the embeddings cache so the next search or indexing operation starts fresh.
e_set_workspace writes
Switch the workspace path at runtime and optionally trigger reindexing.
f_get_status read-only
Inspect server, workspace, indexing progress, model configuration, and cache status.

Use cases

Find code related to authentication, input validation, or error handling with natural-language queries.
Look up current package versions before adding dependencies or checking for updates.
Search during indexing of a large codebase and check indexing progress.

Supported clients

VS Code
Cursor
WindsurfPartial support
Claude DesktopPartial support
OpenCodePartial support
RaycastPartial support
AntigravityPartial support

Listed from the project's documentation, not tested by this site.

Overview

Smart Coding MCP is an extensible MCP server that provides semantic code search for AI assistants. It generates embeddings with local AI models and finds relevant code using cosine similarity with exact-match boosting. It can also look up current package versions from registries, index codebases, switch workspaces, and report server status.

Similar servers

Source revision ef8e842fdd50 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/smart-coding-mcp.svg)](https://followmcp.com/en/servers/smart-coding-mcp)