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