Skip to main content

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:

  1. Install Node.js and npm.
  2. 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:

  1. Sync Python dependencies:
    • uv sync
  2. Install the Node dependencies required by the TypeScript parser runtime:
    • uv run code-explorer-node-setup
  3. Run the server from the repository you want to inspect:
    • uv run code-explorer-mcp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

code_explorer_mcp-0.1.1.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

code_explorer_mcp-0.1.1-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

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

Hashes for code_explorer_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1fee84e768a2fd0d8ef09a4b80d94e24ab8c8e61e2b0356c103fa8930b803e0e
MD5 c01a0b9d4d0b582dd965dfb5a4f786f7
BLAKE2b-256 faf87f02ee89bbfaae95b9d03e9b550700f6b179431f53a4c37d14330187b6bb

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file code_explorer_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for code_explorer_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4e4fe06dd319c42de9ae0ec11fe894c1704f4cd60cd70b35f183c5057786d1d
MD5 8f9d43af0acf8ef1b0067add7892a580
BLAKE2b-256 ed0aba1c63646b4da4bbf8c62d12ae29a5eeb0194560038eebc6ce5e7e09c9fe

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page