EP

ericbrown/project-context-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

6 stars 3 forks 品質 58 トレンド 14MIT

Give Claude Code instant access to your project's institutional knowledge. Drop docs in .context/, mention them with @, and watch Claude become an expert on your codebase.

概要

An MCP server that makes your project documentation instantly accessible in Claude Code through @ mentions. Create a .context/ folder, add your docs, and watch Claude become an expert on your codebase. You're working with Claude Code on a complex project. Claude is smart, but it doesn't know: - Your team's coding conventions - Why you chose that weird architecture - The gotchas in your database schema - Your API design patterns - That one thing that breaks if you don't do it just right You end up copy-pasting the same context into every conversation. Or worse, Claude makes suggestions that violate your project's conventions. Create a .context/ folder in your project. Drop in your documentation. Now when you type @ in Claude Code, your context files appear right alongside your source files: One @api-patterns.md mention and Claude knows exactly how you structure endpoints. That's it. The server is now available in all your Claude Code sessions. Your .

README

以下は原文 README の抜粋です。原文を見る。

project-context-mcp

Give Claude Code instant access to your project’s institutional knowledge.

An MCP server that makes your project documentation instantly accessible in Claude Code through @ mentions. Create a .context/ folder, add your docs, and watch Claude become an expert on your codebase.


The Problem

You’re working with Claude Code on a complex project. Claude is smart, but it doesn’t know:

  • Your team’s coding conventions
  • Why you chose that weird architecture
  • The gotchas in your database schema
  • Your API design patterns
  • That one thing that breaks if you don’t do it just right

You end up copy-pasting the same context into every conversation. Or worse, Claude makes suggestions that violate your project’s conventions.

The Solution

Create a .context/ folder in your project. Drop in your documentation. Now when you type @ in Claude Code, your context files appear right alongside your source files:

┌─────────────────────────────────────────────────────────────┐
│  > Help me add a new API endpoint @                         │
│                                                             │
│  ┌─────────────────────────────────────────────────────┐   │
│  │ Suggestions:                                         │   │
│  │   📄 src/api/routes.py                              │   │
│  │   📄 src/models/user.py                             │   │
│  │   📘 architecture.md          <- Your context!      │   │
│  │   📘 api-patterns.md          <- Your context!      │   │
│  │   📘 conventions.md           <- Your context!      │   │
│  └─────────────────────────────────────────────────────┘   │
└─────────────────────────────────────────────────────────────┘

One @api-patterns.md mention and Claude knows exactly how you structure endpoints.


Quick Start

1. Install the MCP server (one time)

claude mcp add project-context -s user -- uvx project-context-mcp

That’s it. The server is now available in all your Claude Code sessions.

2. Create a .context/ folder in your project

my-project/
├── .context/               <- Create this folder
│   ├── architecture.md
│   ├── conventions.md
│   └── api-patterns.md
├── src/
├── tests/
└── ...

3. Use @ to include context

> Help me refactor this function @conventions.md
> Add a new database table @database-schema.md @naming-conventions.md
> Why is this test failing? @architecture.md @testing-patterns.md

What to Put in .context/

Your .context/ folder is for institutional knowledge — the stuff that isn’t obvious from reading the code.

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →