project-context-map-mcp 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +115 -428
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,21 +1,39 @@
1
- # Project Context Map MCP
2
-
3
1
  <div align="center">
4
2
 
3
+ # Project Context Map MCP
4
+
5
5
  ### Give your coding agent a map before it starts wandering
6
6
 
7
- Turn a repository into structured project memory for MCP clients like Claude Code, so they can query context, inspect only relevant files, and understand topology before touching code.
7
+ Turn any repository into structured project memory for **Claude Code**, **Cursor**, **VS Code**, and other MCP clients—so agents query dependency topology and git hotspots first, then read only the files that matter.
8
+
9
+ <p>
10
+ <a href="https://www.npmjs.com/package/project-context-map-mcp"><img src="https://img.shields.io/npm/v/project-context-map-mcp?style=for-the-badge&color=cb3837" alt="npm version" /></a>
11
+ <a href="#installation"><img src="https://img.shields.io/badge/node-%3E%3D20-1f6feb?style=for-the-badge" alt="Node 20+" /></a>
12
+ <a href="https://github.com/tamojit-123/project-context-map-mcp/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/tamojit-123/project-context-map-mcp/ci.yml?branch=main&style=for-the-badge&label=CI" alt="CI Checks" /></a>
13
+ <a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-16a34a?style=for-the-badge" alt="License: MIT" /></a>
14
+ </p>
15
+
16
+ <p>
17
+ <a href="https://glama.ai/mcp/servers/tamojit-123/project-context-map-mcp"><img src="https://glama.ai/mcp/servers/tamojit-123/project-context-map-mcp/badges/score.svg" alt="Glama MCP score" /></a>
18
+ </p>
8
19
 
9
- [![Node 20+](https://img.shields.io/badge/node-%3E%3D20-1f6feb?style=for-the-badge)](#installation)
10
- [![MCP Server](https://img.shields.io/badge/mcp-server-0ea5e9?style=for-the-badge)](#mcp-tools)
11
- [![CI Checks](https://img.shields.io/github/actions/workflow/status/tamojit-123/project-context-map-mcp/ci.yml?branch=main&style=for-the-badge&label=CI)](https://github.com/tamojit-123/project-context-map-mcp/actions/workflows/ci.yml)
12
- [![License: MIT](https://img.shields.io/badge/license-MIT-16a34a?style=for-the-badge)](./LICENSE)
20
+ <p>
21
+ <a href="https://mcprush.com/to/project-context-map-mcp?ref=badge"><img src="https://mcprush.com/badge/project-context-map-mcp/card.svg" alt="Project Context Map MCP server on MCPRush" /></a>
22
+ <a href="https://glama.ai/mcp/servers/tamojit-123/project-context-map-mcp"><img src="https://glama.ai/mcp/servers/tamojit-123/project-context-map-mcp/badges/card.svg" alt="Project Context Map MCP server on Glama" /></a>
23
+ </p>
13
24
 
14
- [![Project Context Map MCP server](https://mcprush.com/badge/project-context-map-mcp/card.svg)](https://mcprush.com/to/project-context-map-mcp?ref=badge)
25
+ <p>
26
+ <a href="#quick-start">Quick Start</a> ·
27
+ <a href="#why-this-exists">Why This Exists</a> ·
28
+ <a href="#mcp-tools">MCP Tools</a> ·
29
+ <a href="#cli-commands">CLI</a> ·
30
+ <a href="./PROMPTS.md">Prompts</a> ·
31
+ <a href="./CONTRIBUTING.md">Contributing</a>
32
+ </p>
15
33
 
16
- [![project-context-map-mcp MCP server – quality and maintenance score on Glama](https://glama.ai/mcp/servers/tamojit-123/project-context-map-mcp/badges/score.svg)](https://glama.ai/mcp/servers/tamojit-123/project-context-map-mcp)
34
+ <br />
17
35
 
18
- [![project-context-map-mcp MCP server – quality and maintenance score on Glama](https://glama.ai/mcp/servers/tamojit-123/project-context-map-mcp/badges/card.svg)](https://glama.ai/mcp/servers/tamojit-123/project-context-map-mcp)
36
+ <img src="./assets/demo.gif" alt="Project Context Map MCP Demo" width="840" />
19
37
 
20
38
  </div>
21
39
 
@@ -23,67 +41,28 @@ Turn a repository into structured project memory for MCP clients like Claude Cod
23
41
 
24
42
  ## Why This Exists
25
43
 
26
- AI coding tools often begin the same way in a medium or large repo:
44
+ AI coding tools often start every session in a medium or large repository by walking directories and opening 15–30 unrelated files—spending tokens before they even understand how modules connect.
27
45
 
28
- - they read too many files
29
- - they spend tokens on unrelated areas
30
- - they rebuild context from scratch every time
31
- - they miss the real dependency chain behind a feature or bug
46
+ `project-context-map-mcp` flips the workflow from `scan everything -> guess -> open random files` to:
32
47
 
33
- `project-context-map-mcp` fixes that by generating a lightweight project memory and exposing it through MCP tools.
34
-
35
- Instead of:
36
-
37
- `scan everything -> guess -> open random files`
38
-
39
- you get:
40
-
41
- `index first -> query topology -> read sparse files -> edit with context`
48
+ > **`index first -> query topology -> read sparse files -> edit with context`**
42
49
 
43
50
  | Without Project Context Map | With Project Context Map |
44
- | --- | --- |
45
- | Agent scans directories & opens 15–30 unrelated files | Calls `get_project_summary` + `query_topology` first |
51
+ | :--- | :--- |
52
+ | Scans directories & opens 15–30 unrelated files | Calls `get_project_summary` + `query_topology` first |
46
53
  | Re-discovers architecture every new session | Reads `.project.md` & `.project-map.json` immediately |
47
- | Misses downstream callers / import edges | Sees `dependencies` and `usedBy` before editing |
48
- | High prompt token usage on medium/large repos | Calls `read_files_sparse` on only 2–5 matched files |
49
-
50
- ---
51
-
52
- ## What This Project Does
53
-
54
- This package gives you:
55
-
56
- - an MCP server for project-aware queries
57
- - a CLI to generate and refresh repository memory
58
- - a readable `.project.md` with topology highlights and change log
59
- - a machine-readable `.project-map.json`
60
- - a human-readable `.project-map.md`
61
- - import/dependency relationships between files
62
- - sparse file access limited to indexed paths
63
- - MCP-assisted writes with automatic logging
64
- - Claude Code setup helpers and skill generation
54
+ | Misses downstream callers and import chains | Inspects `dependencies` and `usedBy` edges before editing |
55
+ | High prompt token usage on large codebases | Calls `read_files_sparse` on only 2–5 matched files |
65
56
 
66
57
  ---
67
58
 
68
- ## At A Glance
69
-
70
- | Part | Purpose |
71
- | --- | --- |
72
- | `.project.md` | Main readable project memory for humans and agents |
73
- | `.project-map.json` | Structured index used by tools |
74
- | `.project-map.md` | Lightweight markdown summary |
75
- | `read_project_context` | Returns `.project.md` |
76
- | `query_topology` | Finds relevant files from natural-language queries |
77
- | `read_files_sparse` | Reads only indexed files |
78
- | `write_and_log` | Writes changes and appends to `.project.md` Change Log |
79
-
80
- ---
59
+ ## Quick Start
81
60
 
82
- ## Installation
61
+ **Requirements:** Node.js `20+` and an MCP-compatible client (Claude Code, Cursor, Claude Desktop, VS Code).
83
62
 
84
- ### Option 0: Zero-install with `npx` (Fastest)
63
+ ### 1. Add to your MCP client (Zero-install via `npx`)
85
64
 
86
- Add this directly to your MCP client config (Claude Code `.mcp.json`, Cursor, Claude Desktop, or VS Code) without installing anything globally:
65
+ Add this to `.mcp.json` (or your client's MCP settings) — no global install or API key required:
87
66
 
88
67
  ```json
89
68
  {
@@ -96,204 +75,39 @@ Add this directly to your MCP client config (Claude Code `.mcp.json`, Cursor, Cl
96
75
  }
97
76
  ```
98
77
 
99
- ### Option 1: Global install
100
-
101
- Best if you want to use it across many repositories.
78
+ ### 2. Generate project memory & Claude Code skill (Optional)
102
79
 
103
80
  ```bash
104
- npm install -g project-context-map-mcp
105
- ```
106
-
107
- ### Option 2: Local install
108
-
109
- Best if you want it only inside one project.
81
+ # Index the repo into .project.md, .project-map.json, and .project-map.md
82
+ npx -y project-context-map-mcp refresh --project-root .
110
83
 
111
- ```bash
112
- npm install project-context-map-mcp
84
+ # Write .mcp.json + .claude/skills/project-context-map/SKILL.md
85
+ npx -y project-context-map-mcp configure-claude --project-root .
113
86
  ```
114
87
 
115
- ### Requirements
116
-
117
- - Node.js `20` or newer
118
- - an MCP-compatible client such as Claude Code
119
-
120
- ---
121
-
122
- ## Quick Start
123
-
124
- ### 1. Generate the project memory
125
-
126
- Run this from the root of the repo you want to index:
127
-
128
- ```bash
129
- project-context-map-mcp refresh --project-root .
130
- ```
131
-
132
- This creates:
133
-
134
- - `.project.md`
135
- - `.project-map.json`
136
- - `.project-map.md`
137
-
138
- ### 2. Configure Claude Code for that repo
139
-
140
- ```bash
141
- project-context-map-mcp configure-claude --project-root .
142
- ```
143
-
144
- This creates or updates:
145
-
146
- - `.mcp.json`
147
- - `.claude/skills/project-context-map/SKILL.md`
148
-
149
- ### 3. Start the MCP server
150
-
151
- If your client starts the server from `.mcp.json`, you usually do not need to run it manually.
152
-
153
- If you want to run it yourself:
154
-
155
- ```bash
156
- project-context-map-mcp serve --project-root .
157
- ```
158
-
159
- ### 4. Use it from your MCP client
160
-
161
- Typical flow:
162
-
163
- 1. read the project context
164
- 2. query topology with a natural-language task
165
- 3. read only the matched files
166
- 4. make changes
167
- 5. refresh the map
168
-
169
- Prompt examples:
170
-
171
- - See [PROMPTS.md](./PROMPTS.md) for tested starter prompts for Claude Code, Cursor, and VS Code Copilot Chat.
172
- - For best results, use prompts that name the feature area, module, or source files you want the agent to inspect.
173
-
174
- ---
175
-
176
- ## MCP Config
177
-
178
- If you want to wire the server manually, add this to your MCP config:
179
-
180
- ```json
181
- {
182
- "mcpServers": {
183
- "project-context-map": {
184
- "command": "project-context-map-mcp",
185
- "args": ["serve", "--project-root", "."],
186
- "env": {}
187
- }
188
- }
189
- }
190
- ```
191
-
192
- ### Generate it automatically
88
+ <details>
89
+ <summary><strong>Alternative installation options (Global / Local / Manual Config)</strong></summary>
193
90
 
91
+ #### Global install
194
92
  ```bash
195
- project-context-map-mcp print-mcp-config --project-root .
93
+ npm install -g project-context-map-mcp
196
94
  ```
197
95
 
198
- ### Write it into the repo
199
-
96
+ #### Local project install
200
97
  ```bash
201
- project-context-map-mcp configure-claude --project-root .
98
+ npm install project-context-map-mcp
202
99
  ```
203
100
 
204
- ---
205
-
206
- ## CLI Commands
207
-
101
+ #### Print MCP config JSON without writing files
208
102
  ```bash
209
- project-context-map-mcp serve --project-root .
210
- project-context-map-mcp refresh --project-root .
211
- project-context-map-mcp install-hooks --project-root .
212
- project-context-map-mcp configure-claude --project-root .
213
- project-context-map-mcp print-mcp-config --project-root .
214
- project-context-map-mcp help
103
+ npx -y project-context-map-mcp print-mcp-config --project-root .
215
104
  ```
216
105
 
217
- <details>
218
- <summary><strong>Command details</strong></summary>
219
-
220
- | Command | What it does |
221
- | --- | --- |
222
- | `serve` | Starts the MCP server over stdio |
223
- | `refresh` | Regenerates `.project.md`, `.project-map.json`, and `.project-map.md` |
224
- | `install-hooks` | Installs git hooks to keep the map refreshed |
225
- | `configure-claude` | Creates repo-local Claude Code skill and `.mcp.json` |
226
- | `print-mcp-config` | Prints the MCP config JSON without writing files |
227
- | `help` | Shows command help |
228
-
229
106
  </details>
230
107
 
231
108
  ---
232
109
 
233
- ## MCP Tools
234
-
235
- These are the main tools exposed by the server.
236
-
237
- ### Core workflow tools
238
-
239
- | Tool | Purpose |
240
- | --- | --- |
241
- | `read_project_context` | Returns `.project.md` content |
242
- | `query_topology` | Takes a natural-language query and returns matched file paths from the query index |
243
- | `read_files_sparse` | Reads file content only for indexed paths |
244
- | `write_and_log` | Writes file changes and appends an entry to `.project.md` Change Log |
245
-
246
- ### Additional tools
247
-
248
- | Tool | Purpose |
249
- | --- | --- |
250
- | `get_project_summary` | Returns summary, stack, modules, hotspots |
251
- | `refresh_project_map` | Regenerates the project memory artifacts |
252
- | `get_module_context` | Returns a focused view of one module |
253
- | `find_relevant_files` | Legacy ranking-oriented file query |
254
- | `get_recent_git_changes` | Summarizes recent git activity |
255
- | `explain_file_role` | Explains a file’s role and recent changes |
256
-
257
- <details>
258
- <summary><strong>What each core tool returns</strong></summary>
259
-
260
- ### `read_project_context`
261
-
262
- Returns:
263
-
264
- - `.project.md` path
265
- - full markdown content
266
-
267
- ### `query_topology`
268
-
269
- Returns:
270
-
271
- - matched file paths
272
- - confidence score
273
- - match reasons
274
- - per-file dependencies
275
- - per-file `usedBy` relationships
276
-
277
- ### `read_files_sparse`
278
-
279
- Returns:
280
-
281
- - file content for indexed files
282
- - safe errors for files outside the repo or outside the known topology
283
-
284
- ### `write_and_log`
285
-
286
- Returns:
287
-
288
- - path written
289
- - bytes written
290
- - appended change log entry
291
-
292
- </details>
293
-
294
- ---
295
-
296
- ## Recommended Workflow
110
+ ## How It Works
297
111
 
298
112
  ```mermaid
299
113
  flowchart LR
@@ -305,232 +119,105 @@ flowchart LR
305
119
  F --> G[Refresh project map]
306
120
  ```
307
121
 
308
- ### Example task flow
309
-
310
- User asks:
311
-
312
- ```text
313
- Fix the login bug where session expires after refresh
314
- ```
315
-
316
- Recommended agent behavior:
317
-
318
- 1. call `read_project_context`
319
- 2. call `query_topology` with the task
320
- 3. call `read_files_sparse` with the matched file paths
321
- 4. inspect only those files first
322
- 5. edit code
323
- 6. call `write_and_log` if using MCP-managed writes
324
- 7. call `refresh_project_map`
325
-
326
- ---
327
-
328
- ## Topology & Visual Graph
329
-
330
- The project map is not only a file list. It also extracts internal relationships such as:
331
-
332
- - JavaScript and TypeScript imports
333
- - CommonJS `require(...)` usage
334
- - basic Python import detection
335
- - reverse usage information with `used_by`
336
-
337
- That data is written into:
338
-
339
- - `.project-map.json`
340
- - `.project.md`
341
-
342
- `.project.md` includes a Mermaid graph so markdown viewers that support Mermaid can render a visual dependency map.
343
-
344
- ---
345
-
346
- ## What It Generates
347
-
348
- ### `.project.md`
349
-
350
- The main working document. It includes:
351
-
352
- - project summary
353
- - key modules
354
- - query index preview
355
- - topology highlights
356
- - Mermaid dependency graph
357
- - running change log
358
-
359
- ### `.project-map.json`
360
-
361
- The structured source of truth. It includes fields such as:
362
-
363
- - `project_summary`
364
- - `tech_stack`
365
- - `modules`
366
- - `files`
367
- - `topology`
368
- - `entrypoints`
369
- - `dependencies`
370
- - `recent_changes`
371
- - `hotspots`
372
-
373
- ### `.project-map.md`
374
-
375
- A shorter human-readable summary.
376
-
377
- ---
378
-
379
- ## Claude Code Setup
380
-
381
- After running:
382
-
383
- ```bash
384
- project-context-map-mcp configure-claude --project-root .
385
- ```
386
-
387
- your repo will contain:
122
+ ### Generated Artifacts
388
123
 
389
- ```text
390
- .mcp.json
391
- .claude/skills/project-context-map/SKILL.md
392
- ```
393
-
394
- The generated skill tells Claude Code to:
395
-
396
- - consult project memory first
397
- - avoid broad repo scans
398
- - query relevant files before opening source
399
- - refresh the project map after edits
400
-
401
- ---
402
-
403
- ## Git Hooks
124
+ | File | Purpose |
125
+ | :--- | :--- |
126
+ | **`.project.md`** | Main human & agent project memory: summary, key modules, query index, topology highlights, Mermaid dependency graph, and `## Change Log` |
127
+ | **`.project-map.json`** | Machine-readable index (`project_summary`, `tech_stack`, `modules`, `files`, `topology`, `entrypoints`, `dependencies`, `recent_changes`, `hotspots`) |
128
+ | **`.project-map.md`** | Lightweight markdown summary of modules, entrypoints, recent commits, and hotspots |
404
129
 
405
- If you want the map to stay fresh automatically:
130
+ ### Topology & Git Hotspots
406
131
 
407
- ```bash
408
- project-context-map-mcp install-hooks --project-root .
409
- ```
410
-
411
- This installs:
412
-
413
- - `post-commit`
414
- - `post-merge`
415
- - `post-push`
416
-
417
- Each hook refreshes the project memory after repository activity.
132
+ - **Import & dependency graph:** Extracts ES `import`/`export ... from`, dynamic `import()`, CommonJS `require(...)`, and Python imports into `dependencies` and reverse `usedBy` edges.
133
+ - **Git history & hotspots:** Reads recent commits via `git log` to surface frequently changed files and boost them when ranking tasks.
134
+ - **Auto-refresh git hooks:** Keep the map current automatically with:
135
+ ```bash
136
+ npx -y project-context-map-mcp install-hooks --project-root .
137
+ ```
138
+ Installs `post-commit`, `post-merge`, and `post-push` hooks (worktree-safe).
418
139
 
419
140
  ---
420
141
 
421
- ## Interactive Setup Guide
422
-
423
- <details open>
424
- <summary><strong>I just installed it. What should I do next?</strong></summary>
425
-
426
- 1. Go to your repo root.
427
- 2. Run `project-context-map-mcp refresh --project-root .`
428
- 3. Run `project-context-map-mcp configure-claude --project-root .`
429
- 4. Open the repo in Claude Code.
430
- 5. Approve the MCP server from `.mcp.json`.
431
- 6. Ask the agent to use `read_project_context` and `query_topology` first.
432
-
433
- </details>
434
-
435
- <details>
436
- <summary><strong>I want to use my own MCP config instead of the generated one</strong></summary>
437
-
438
- Use:
142
+ ## MCP Tools
439
143
 
440
- ```bash
441
- project-context-map-mcp print-mcp-config --project-root .
442
- ```
144
+ ### Core Workflow Tools
443
145
 
444
- Then copy the JSON into your own MCP config file and adjust:
146
+ | Tool | Purpose |
147
+ | :--- | :--- |
148
+ | `read_project_context` | Returns `.project.md` content for the repository |
149
+ | `query_topology` | Matches a natural-language query against the index and returns paths + `dependencies` / `usedBy` topology |
150
+ | `read_files_sparse` | Reads file content only for indexed, in-root paths (rejects outside/symlink escapes) |
151
+ | `write_and_log` | Writes in-root file changes and appends an entry to `.project.md`'s Change Log |
445
152
 
446
- - server name
447
- - command path
448
- - working project root
153
+ ### Additional Discovery & Maintenance Tools
449
154
 
450
- </details>
155
+ | Tool | Purpose |
156
+ | :--- | :--- |
157
+ | `get_project_summary` | Returns project summary, tech stack, entrypoints, top modules, and hotspots |
158
+ | `refresh_project_map` | Regenerates `.project-map.json`, `.project-map.md`, and `.project.md` |
159
+ | `get_module_context` | Returns files, recent commits, and likely impact area for a module |
160
+ | `find_relevant_files` | Ranks relevant files for a task with confidence score and `avoidReading` modules |
161
+ | `get_recent_git_changes` | Summarizes git commits and file hotspots over the last *N* days (default `5`) |
162
+ | `explain_file_role` | Explains a file's inferred role, module, and recent commits |
451
163
 
452
164
  <details>
453
- <summary><strong>I only want the package inside one repo</strong></summary>
454
-
455
- Install locally:
456
-
457
- ```bash
458
- npm install project-context-map-mcp
459
- ```
165
+ <summary><strong>Detailed return payloads for core tools</strong></summary>
460
166
 
461
- Then run through `npx`:
462
-
463
- ```bash
464
- npx project-context-map-mcp refresh --project-root .
465
- npx project-context-map-mcp configure-claude --project-root .
466
- ```
167
+ - **`read_project_context`** → `{ path, content }`
168
+ - **`query_topology`** → `{ query, matchedPaths, confidence, matches, topology: [{ path, module, dependencies, usedBy }] }`
169
+ - **`read_files_sparse`** → `{ files: [{ path, content } | { path, error }] }`
170
+ - **`write_and_log`** → `{ path, bytesWritten, log: { path, entry } }`
467
171
 
468
172
  </details>
469
173
 
470
- <details>
471
- <summary><strong>How do I know it is working?</strong></summary>
472
-
473
- You should see:
474
-
475
- - `.project.md`
476
- - `.project-map.json`
477
- - `.project-map.md`
478
- - `.mcp.json` after Claude setup
479
-
480
- You can also run:
174
+ ---
481
175
 
482
- ```bash
483
- project-context-map-mcp help
484
- project-context-map-mcp refresh --project-root .
485
- ```
176
+ ## CLI Commands
486
177
 
487
- </details>
178
+ | Command | Description |
179
+ | :--- | :--- |
180
+ | `project-context-map-mcp serve --project-root .` | Starts the MCP server over stdio |
181
+ | `project-context-map-mcp refresh --project-root .` | Regenerates `.project.md`, `.project-map.json`, and `.project-map.md` |
182
+ | `project-context-map-mcp install-hooks --project-root .` | Installs `post-commit`, `post-merge`, and `post-push` git hooks |
183
+ | `project-context-map-mcp configure-claude --project-root .` | Writes `.mcp.json` and `.claude/skills/project-context-map/SKILL.md` |
184
+ | `project-context-map-mcp print-mcp-config --project-root .` | Prints the MCP config JSON without modifying files |
185
+ | `project-context-map-mcp help` | Displays CLI usage |
488
186
 
489
187
  ---
490
188
 
491
- ## Example Prompts For Your MCP Client
189
+ ## Example Prompts & Best Fit
492
190
 
493
- Tested prompt templates now live in [PROMPTS.md](./PROMPTS.md).
191
+ Tested starter prompts for **Claude Code**, **Cursor**, and **VS Code Copilot Chat** live in [PROMPTS.md](./PROMPTS.md).
494
192
 
495
193
  Quick examples:
194
+ - *"Use the project context map first, then find the files involved in session refresh logic."*
195
+ - *"Use `query_topology` to locate the files related to npm publishing, package configuration, and release safety checks."*
196
+ - *"Use `get_module_context` for `src` and explain how the CLI and MCP server fit together."*
496
197
 
497
- - `Use the project context map first, then find the files involved in session refresh logic.`
498
- - `Use query_topology to locate the files related to npm publishing, package configuration, and release safety checks.`
499
- - `Use get_module_context for src and explain how the CLI and MCP server fit together.`
500
- - `Find the files that control authentication and prefer source files over docs.`
198
+ **Works best on:** Node.js applications, React / Next.js projects, mixed frontend/backend repos, Python services, and active internal tools where coding agents are used daily.
501
199
 
502
200
  ---
503
201
 
504
- ## Best Fit Repositories
202
+ ## Limitations
505
203
 
506
- - Node.js applications
507
- - React apps
508
- - Next.js projects
509
- - mixed frontend/backend repos
510
- - Python services
511
- - large internal tools where AI agents are used often
204
+ - Topology extraction focuses on JS, TS, CommonJS, and basic Python import patterns.
205
+ - Visual graph output is Mermaid markdown (`.project.md`), not a standalone web UI.
206
+ - Natural-language ranking depends on file paths, inferred tags/roles, summaries, and recent git activity.
512
207
 
513
208
  ---
514
209
 
515
- ## Local Development
210
+ ## Development & Contributing
516
211
 
517
212
  ```bash
518
- npm install
213
+ git clone https://github.com/tamojit-123/project-context-map-mcp.git
214
+ cd project-context-map-mcp
215
+ npm ci
519
216
  npm run check
520
- node src/cli.js refresh --project-root .
521
- node src/cli.js serve --project-root .
522
217
  ```
523
218
 
524
- ---
525
-
526
- ## Current Limitations
527
-
528
- - topology detection is strongest for JS, TS, and simple Python import patterns
529
- - visual graph output is Mermaid markdown, not a full interactive web app
530
- - natural-language ranking quality depends on file names, summaries, tags, and recent changes
531
-
532
- ---
219
+ See [CONTRIBUTING.md](./CONTRIBUTING.md) for pull request guidelines.
533
220
 
534
221
  ## License
535
222
 
536
- MIT
223
+ [MIT](./LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-context-map-mcp",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "MCP server and Claude Code skill for project-aware code changes with low token usage.\nmcprush.com-2ae221dd5221ac77c562f870",
5
5
  "type": "module",
6
6
  "main": "src/cli.js",