CogniCode

media MCP Server

AI-powered code intelligence MCP server — 17 tools for code analysis, search, refactoring and call graph visualization across 6 languages

Verified
mediamedia
5 views3 stars0 forks

Why This Matters

Discovered via github-topic:mcp and last synced 4mo ago.

Verified
Source
github-topic:mcp
Stars
3
Last synced
4mo ago
Install
Check source

Install

Install instructions not detected yet

Check the source repository for the latest setup steps.

View source instructions
62
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (62)

build_graph

Build call graph for a project. Persists to disk automatically.

analyze_impact

Analyze impact of changing a symbol. Returns risk level.

find_dead_code

Find unused symbols across the project.

get_outline

Hierarchical symbol outline (tree structure).

go_to_definition

Navigate to symbol definition.

full

Slowest

cognicode

Shared types and utilities

Feature

Default

trace_path

Find execution path between two symbols (BFS).

get_module_dependencies

Analyze module-level dependencies.

find_usages_with_context

Find usages with surrounding context lines.

search_content

Regex search with .gitignore awareness.

Speed

Edges

JavaScript

`.js`, `.jsx`

rcode-debug

Time-travel debugging integration (Chronos MCP)

get_entry_points

Find entry-point symbols (no incoming edges).

build_call_subgraph

Build on-demand subgraph centered on a symbol.

get_complexity

Cyclomatic, cognitive, and nesting complexity metrics.

find_references

Find all references to a symbol.

lightweight

Fastest

Rust

`.rs`

cognicode-mcp

MCP server (`cognicode-mcp`) and test client (`mcp-client`)

rig

disabled

Tool

Description

export_mermaid

Export call graph as Mermaid flowchart or SVG.

get_all_symbols

Get all symbols in the workspace.

structural_search

AST-based structural pattern matching.

list_files

List project files with glob filtering.

Go

`.go`

get_leaf_functions

Find leaf functions (no outgoing edges).

get_per_file_graph

Get call graph for a single file.

semantic_search

Fuzzy symbol search with kind filtering.

extract

inline

Python

`.py`

cognicode-cli

Terminal interface (`cognicode`)

build_lightweight_index

Build fast symbol-only index.

validate_syntax

Validate file syntax using Tree-sitter.

write_file

Create or overwrite files within workspace.

on_demand

Fast

Java

`.java`

RUST_LOG

`info`

check_architecture

Detect cycles and architecture violations (Tarjan SCC).

get_symbol_code

Get full source code of a symbol including docstrings.

hover

references <file:line:col> [path] ``` ## Graph Strategies Choose the right strategy for your use case:

safe_refactor

Safe refactoring with validation and preview (rename, extract, inline, move, change signature).

Language

Extensions

cognicode-core

Domain logic, application services, infrastructure

persistence

enabled

get_call_hierarchy

Traverse callers/callees of a symbol.

query_symbol_index

Case-insensitive symbol lookup.

get_file_symbols

Extract symbols from a file. Supports compressed summaries.

edit_file

Edit files with syntax validation.

per_file

Medium

Crate

Description

OTEL_EXPORTER_OTLP_ENDPOINT

`http://localhost:4317`

get_hot_paths

Find most-called functions by fan-in.

merge_graphs

Merge graphs from multiple files.

find_usages

Find all usages of a symbol across the project.

read_file

Smart file reader with outline/symbols/compressed modes.

TypeScript

`.ts`, `.tsx`

cognicode-sandbox

Automated scenario testing and benchmarking

Variable

Default