Local MCP code exploration server prototypes
Project description
code-explorer-mcp
A local FastMCP server that provides deterministic code-exploration primitives for Python and TypeScript repositories.
Parsing behavior notes
- Python and TypeScript class parsing intentionally expose nested classes only one level deep. A top-level class may include direct
inner_classes, but classes nested deeper than that are ignored.
Client setup
This server inspects the current working directory, so your MCP client must launch it from the repository you want to explore.
Recommended install
Install the server as a tool:
uv tool install code-explorer-mcp
This makes code-explorer-mcp and code-explorer-node-setup available as global commands if your uv tool bin directory is on PATH.
If you prefer pipx:
pipx install code-explorer-mcp
TypeScript parser setup
Python parsing works after install. TypeScript parsing also requires Node.js and npm plus one bootstrap step:
- Install Node.js and npm.
- Run:
code-explorer-node-setup
code-explorer-node-setup checks that node and npm are available, then installs the TypeScript parser runtime inside the installed package.
Run the server
- Installed package:
code-explorer-mcp - Local checkout:
uv run code-explorer-mcp
Example MCP client config
Example stdio configuration:
{
"mcpServers": {
"code-explorer": {
"command": "code-explorer-mcp",
"cwd": "/absolute/path/to/the/repository-you-want-to-inspect"
}
}
}
If you installed with pipx, the command stays code-explorer-mcp and the setup command is code-explorer-node-setup.
Install from source
For local development or GitHub installs:
- Sync Python dependencies:
uv sync
- Install the Node dependencies required by the TypeScript parser runtime:
uv run code-explorer-node-setup
- Run the server from the repository you want to inspect:
uv run code-explorer-mcp
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file code_explorer_mcp-0.1.1.tar.gz.
File metadata
- Download URL: code_explorer_mcp-0.1.1.tar.gz
- Upload date:
- Size: 27.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fee84e768a2fd0d8ef09a4b80d94e24ab8c8e61e2b0356c103fa8930b803e0e
|
|
| MD5 |
c01a0b9d4d0b582dd965dfb5a4f786f7
|
|
| BLAKE2b-256 |
faf87f02ee89bbfaae95b9d03e9b550700f6b179431f53a4c37d14330187b6bb
|
Provenance
The following attestation bundles were made for code_explorer_mcp-0.1.1.tar.gz:
Publisher:
publish-pypi.yml on sirknigget/code-explorer-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
code_explorer_mcp-0.1.1.tar.gz -
Subject digest:
1fee84e768a2fd0d8ef09a4b80d94e24ab8c8e61e2b0356c103fa8930b803e0e - Sigstore transparency entry: 1343606480
- Sigstore integration time:
-
Permalink:
sirknigget/code-explorer-mcp@05f38be9580a5c8e57069c1fc821fb8c71ce976c -
Branch / Tag:
refs/tags/release-0.1.1 - Owner: https://github.com/sirknigget
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@05f38be9580a5c8e57069c1fc821fb8c71ce976c -
Trigger Event:
release
-
Statement type:
File details
Details for the file code_explorer_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: code_explorer_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 26.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4e4fe06dd319c42de9ae0ec11fe894c1704f4cd60cd70b35f183c5057786d1d
|
|
| MD5 |
8f9d43af0acf8ef1b0067add7892a580
|
|
| BLAKE2b-256 |
ed0aba1c63646b4da4bbf8c62d12ae29a5eeb0194560038eebc6ce5e7e09c9fe
|
Provenance
The following attestation bundles were made for code_explorer_mcp-0.1.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on sirknigget/code-explorer-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
code_explorer_mcp-0.1.1-py3-none-any.whl -
Subject digest:
f4e4fe06dd319c42de9ae0ec11fe894c1704f4cd60cd70b35f183c5057786d1d - Sigstore transparency entry: 1343606481
- Sigstore integration time:
-
Permalink:
sirknigget/code-explorer-mcp@05f38be9580a5c8e57069c1fc821fb8c71ce976c -
Branch / Tag:
refs/tags/release-0.1.1 - Owner: https://github.com/sirknigget
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@05f38be9580a5c8e57069c1fc821fb8c71ce976c -
Trigger Event:
release
-
Statement type: