Jinni: Bring Your Project Into Context

by smat-dev

269 stars
233 downloads
Not rated
GitHub

About

A tool to provide Large Language Models with project context by intelligently filtering and concatenating relevant files.

Details

Author
smat-dev
GitHub stars
269
Downloads
233
Categories
Developer Tools, AI, Knowledge Base, Other

- Efficient consolidation of relevant project files.
- Intelligent filtering using gitignore-style patterns.
- Customizable inclusions via .contextfiles.
- Configurable size limit for large contexts.
- File path headers in output.
- List-only mode for file preview.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Jinni: Bring Your Project Into Context
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Configure your MCP client to run the server via uvx jinni-server, or use the CLI directly with jinni [OPTIONS] [<PATH...>]. The MCP server exposes the read_context tool; the CLI outputs concatenated file contents to stdout or clipboard.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "jinni: bring your project into context": {
            "jinni": {
                "command": "uvx",
                "args": [
                    "jinni-server",
                    "[OPTIONS]"
                ]
            }
        }
    }
}

McpServers

{
    "jinni": {
        "command": "uvx",
        "args": [
            "jinni-server",
            "[OPTIONS]"
        ]
    }
}

Jinni: Bring Your Project Into Context

<a href="https://glama.ai/mcp/servers/@smat-dev/jinni">
Jinni: Bring Your Project Into Context MCP server
</a>

Jinni is a tool to efficiently provide Large Language Models the context of your projects. It gives a consolidated view of relevant project files, overcoming the limitations and inefficiencies of reading files one by one. Each file's content is preceded by a simple header indicating its path:

path=src/app.py print("hello") ``

The philosophy behind this tool is that LLM context windows are large, models are smart, and directly seeing your project best equips the model to help with anything you throw at it.

There is an MCP (Model Context Protocol) server for integration with AI tools and a command-line utility (CLI) for manual use that copies project context to the clipboard ready to paste wherever you need it.

These tools are opinionated about what counts as relevant project context to best work out of the box in most use cases, automatically excluding:

Binary files
Dotfiles and hidden directories
* Common naming conventions for logs, build directories, tempfiles, etc

Inclusions/exclusions are customizable with complete granularity if required using .contextfiles – this works like .gitignore except defining inclusions. .gitignore files themselves are also respected automatically, but any rules in .contextfiles` take priority.

The MCP server can provide as much or as little of the project as desired. By default the scope is the whole project, but the model can ask for specific modules / matching patterns / etc.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.