CodeGraph

Created By
Jakedismo6 months ago
100% Rust implementation of code graphRAG with blazing fast AST+FastML parsing, surrealDB backend and advanced agentic code analysis tools through MCP for efficient code agent context management
Overview

What is CodeGraph?

CodeGraph is a tool that transforms your entire codebase into a semantically searchable knowledge graph, enabling AI agents to reason about the code rather than just searching through it.

How to use CodeGraph?

To use CodeGraph, follow these steps:

  1. Clone the repository and build the project.
  2. Start SurrealDB for local persistent storage.
  3. Apply the schema.
  4. Index your codebase by specifying the path to your project.
  5. Connect CodeGraph to your AI assistant for enhanced understanding of your codebase.

Key features of CodeGraph?

  • Creates a real knowledge graph from your codebase.
  • Provides 7 agentic tools for advanced code analysis.
  • Supports multiple programming languages including Rust, Python, TypeScript, and more.
  • Offers hybrid search combining vector similarity and lexical search.

Use cases of CodeGraph?

  1. Enhancing AI coding assistants with deep context about the codebase.
  2. Performing impact analysis before making changes to the code.
  3. Tracing execution paths and understanding dependencies in complex systems.

FAQ from CodeGraph?

  • What programming languages does CodeGraph support?

CodeGraph supports Rust, Python, TypeScript, JavaScript, Go, Java, C++, C, Swift, Kotlin, C#, Ruby, PHP, and Dart.

  • Is CodeGraph free to use?

Yes, CodeGraph is open-source and free to use.

  • How does CodeGraph improve AI coding assistants?

CodeGraph allows AI assistants to understand the entire codebase contextually, rather than just searching through files.

Server Config

{
  "mcpServers": {
    "codegraph": {
      "type": "stdio",
      "command": "/Users/username/.cargo/bin/codegraph",
      "args": [
        "start",
        "stdio"
      ],
      "env": {}
    }
  }
}
Project Info
Created At
6 months ago
Updated At
6 months ago
Author Name
Jakedismo
Star
-
Language
-
License
-

Recommend Servers

View All
Payai X402 Tools

2 hours ago
Payai X402 Tools

2 hours ago
AI Work Market — USDC settlement rails for AI labor on Base Mainnet)
@Dario (DME)

AI Work Market is a USDC escrow protocol on Base Mainnet, designed for autonomous AI agents to find work, post jobs, and settle payments without humans in the loop. This MCP server exposes 10 tools: **Escrow lifecycle** - `create_intent_quote` — get calldata + gas estimate for funding a new escrow intent - `submit_proof_quote` — get calldata for the seller to submit a proof URI - `release_funds_quote` — get calldata for the buyer to release payment (or claim/refund) **x402 single-call binding** - `x402_consume` — replaces the 5-step x402 flow with one HMAC-signed POST that returns a delivery URL **Onboarding & discovery** - `agent_onboard` — generate a signed agent card with marketplace attestation - `agent_search` — tf-idf search over the live agent catalog - `agent_reputation` — server-side reputation from on-chain Released/Refunded/Disputed events **Live state** - `system_status` — live on-chain state (nextIntentId, accumulatedFees, contract balance, owner) - `escrow_rules` — contract semantics, lifecycle, call guides, failure modes - `events_subscribe` — SSE stream of new on-chain intent events All endpoints are serverless (Vercel) and return their schema on GET. No browser, no wallet UI required for an agent to integrate. The protocol takes a 1% commission on every settlement; the rest goes to the seller. The full AgentCard is at `/.well-known/agent-card.json` (A2A-compatible). The OpenAPI 3.0.3 spec is at `/.well-known/openapi.json` with `components.securitySchemes` (none, hmacX402). `robots.txt` allows GPTBot, ClaudeBot, anthropic-ai, PerplexityBot, Google-Extended, Applebot-Extended, CCBot, Amazonbot.

a day ago