MCP.Market

fittok MCP server

by likhithreddy·io.github.likhithreddy/fittok·v0.11.1·3 stars

Retrieve only the relevant code for a codebase question, within a token budget.

A88/100grade A
What users say
No reviews yet
Be the first
Safety scan
A88/100

full report

Adoption
Growing

3 stars111 downloads/wk

Reviews

Write one

Nobody has reviewed fittok yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

fittok tools (20)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • add_pii_pattern_tool

    Add or override a PII detection pattern.

  • cache_stats_tool

    Return cache hit/miss statistics and size.

  • clear_cache_tool

    Clear the cache. Scope: 'all' | 'graph' | 'query'.

  • diff_graph_tool

    Compare two knowledge graphs and return structural differences.

  • get_graph_stats_tool

    Return metadata and stats for a graph.

  • launch_ui_tool

    Launch the web visualization UI for graph exploration.

  • list_pii_patterns_tool

    List all registered PII detection patterns.

  • optimize_context_batch

    One parse, many queries. Builds graph once, runs slurp+select per query.

  • optimize_context_stream

    Streaming pipeline: yields stage-by-stage progress events.

  • optimize_context_structured

    Full pipeline with structured JSON output mode.

  • optimize_context_tool

    Return the most relevant REAL source code for a question — completely.

  • parse_codebase_stream_tool

    Stream parse progress. Parses in batches, returns progress events.

  • parse_codebase_tool

    Parse all code files in a directory into a knowledge graph.

  • query_graph_tool

    Query a knowledge graph for the most relevant subgraph within a token budget.

  • reset_graph_tool

    Force a full re-parse of the codebase, ignoring cache.

  • scrub_file_tool

    Scrub PII from a file.

  • scrub_text_tool

    Scrub PII (secrets, emails, API keys, etc.) from text.

  • show_graph_tool

    Open an INTERACTIVE BROWSER visualization of the codebase knowledge graph.

  • watch_start_tool

    Start watching a codebase for incremental graph updates.

  • watch_stop_tool

    Stop watching a codebase.

Public scan report

scanner v0.1.10 · 2026-10-31 · same rubric, same numbers if you re-run it

no findings
  • Code scan24 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 68 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 88/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How fittok compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
88/100
higher than 75% of 48,255 servers
Tools
20
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
3
more than 80% of 28,688 servers
Downloads a week
111
more than 65% of 12,191 servers with a package

What its tools let an agent do: 19 read · 1 create

Install fittok in Claude Code, Cursor or VS Code

claude mcp add fittok -- uvx fittok
Add to Cursor

What the publisher says

From the fittok repository's README, as published. We do not edit it. Read it on GitHub

fittok

Retrieve only the relevant source code for a question — instead of the model reading whole files — so an LLM answers codebase questions on a small, focused slice of context. Less input = fewer tokens, lower cost, faster answers.

Works three ways from one install: an MCP server, a CLI, and a Python library — plus a Claude Code plugin that injects context automatically.

📖 Full command reference → docs/HANDBOOK.md

<!-- MCP Registry: PyPI ownership verification — do not remove this line --> mcp-name: io.github.likhithreddy/fittok

How it works

codebase ──▶ graphify ──▶ slurp ──▶ readable slice ──▶ LLM answers
             (parse)      (select)   (trim to budget)

functions / classes / methods (Python, JS, JSX, TS, TSX, Java, Go, Rust). Supports multi-language call/import/reference edges.

  1. graphify — parses the repo with tree-sitter into a knowledge graph of
  1. slurp — scores every node against the question using a 4-signal hybrid:
  • Semantic embeddings (all-MiniLM-L6-v2) — meaning-based matching
  • Content-BM25 (with camelCase/snake_case splitting) — keyword matching
  • Summary-BM25 (node name + file + callers + callees) — structural matching
  • PageRank — graph centrality / hub detection

Signals are fused via Reciprocal Rank Fusion (RRF) — rank-based, no score calibration issues. Nodes are selected via round-robin directory interleaving (guarantees facet coverage on multi-aspect queries — one node from each code area before any gets a second) with a per-node token cap (25% of budget, so large components don't crowd out smaller functions). A relevance cliff (semantic OR BM25 OR summary-BM25 threshold) excludes noise.

plus a codebase map (table of contents with docstrings, inspired by Karpathy's LLM Wiki / Google's OKF) so the model can route follow-up calls precisely. The model answers directly from it — no file reads needed.

  1. readable output — returns the actual source code of selected nodes,

As you edit, a file watcher (auto-started on first query) updates the graph incrementally — only changed files are re-parsed and merged, and only changed functions re-embed. Graphs and embeddings are cached on disk (~/.cache/fittok). Set FITTOK_AUTOWATCH=false to disable the watcher, in which case an edit triggers a full re-parse on the next query.

Getting the best results (and known limitations)

Ask focused questions

fittok ranks code against your question using a 4-signal hybrid (semantic + BM25 + structural + PageRank, fused via RRF) with round-robin directory diversity — so multi-facet questions surface code from multiple areas (UI, server, database) instead of clustering in one dominant area. It's most accurate with focused, specific questions — ideally one concern each, and naming the function/component/route when you can. Multi-facet questions are supported via decomposition (the tool description tells the model to call once per aspect) and the codebase map (a table of contents prepended to every response).

  • ✅ "How does runSandboxQuery execute and isolate a SQL query?" → surfaces the exact function + its isolation code.
  • ✅ "How does the querydle client submit a query and render results?" → surfaces the UI component.
  • ✅ "Trace the full lifecycle: UI submission, sandbox execution, data isolation" → decomposition + round-robin diversity covers multiple facets; the codebase map routes the model to any missed files.

Rule of thumb: one concern per question (or 2–3 facets max). For "explain the whole feature," split it into a few focused questions instead of one mega-query.

Known limitations

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

fittok: common questions

Is fittok MCP server safe?
Yes, by our scan: it is graded A (88/100). Read the fittok safety report
How do I install fittok?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does fittok need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is fittok maintained?
The last commit was 71 days ago (2026-08-24). The latest release is v0.11.1.
What can I use instead of fittok?
Servers from other publishers that do the same job: Codebase Memory MCP server.
How does fittok compare with other MCP servers?
safety score 88/100 (higher than 75% of 48,255 servers); tools 20 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to fittok

Same job from other publishers: the closest match first, then the best rated.

  • Codebase Memory
    Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
    C