Skip to main content
Glama
MILLERMARRU

contextflow-mcp

by MILLERMARRU

contextflow-mcp

MCP server for Contextflow β€” semantic code search and AI-powered Q&A over vectorized repositories, directly inside Claude.

πŸš€ What is this?

contextflow-mcp is a Model Context Protocol server that connects Claude to a Contextflow snapshot β€” a vectorized index of your codebase. Once connected, Claude can:

  • πŸ” Semantically search your code

  • πŸ’¬ Answer natural language questions grounded in actual source code

  • πŸ“¦ Inspect snapshot metadata (files indexed, status, branch)


πŸ› οΈ Tools exposed

Tool

Description

get_context_info

Returns metadata about the snapshot: name, branch, status, files and chunks indexed

search_context

Semantic search β€” returns the most relevant code chunks with file paths and line numbers

ask_context

AI Q&A β€” asks a question and gets an answer grounded in real source code


βš™οΈ Setup

1. Install dependencies

npm install

2. Build

npm run build

3. Configure Claude

Add the following to your Claude MCP config (claude_desktop_config.json or equivalent):

{
  "mcpServers": {
    "contextflow": {
      "command": "node",
      "args": ["/absolute/path/to/dist/index.js"],
      "env": {
        "CONTEXTFLOW_TOKEN": "YOUR_SNAPSHOT_PUBLIC_TOKEN",
        "CONTEXTFLOW_API_URL": "http://localhost:3001"
      }
    }
  }
}

See claude-config-example.json for a ready-to-copy template.


🌍 Environment Variables

Variable

Required

Default

Description

CONTEXTFLOW_TOKEN

βœ… Yes

β€”

Public token of the Contextflow snapshot

CONTEXTFLOW_API_URL

No

http://localhost:3001

Base URL of the Contextflow API


πŸ“ Project Structure

contextflow-mcp/
β”œβ”€β”€ src/
β”‚   └── index.ts          # MCP server source (TypeScript)
β”œβ”€β”€ dist/
β”‚   └── index.js          # Compiled output (Node.js)
β”œβ”€β”€ package.json
β”œβ”€β”€ tsconfig.json
└── claude-config-example.json

πŸ§‘β€πŸ’» Development

npm run dev    # watch mode (tsc --watch)
npm run build  # single compile
npm start      # run compiled server

πŸ“„ License

MIT

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MILLERMARRU/mcpContext'

If you have feedback or need assistance with the MCP directory API, please join our Discord server