Agent♥︎Age
Catalog

io.github.rog0x/file

Official

by rog0x · TypeScript

Dir tree, file stats, duplicates, LOC for AI agents

io.github.rog0x/file MCP Server

A server providing file and directory analysis tools for AI agents to explore, analyze, and search file systems. It enables Claude and other MCP-compatible AIs to understand project structures and contents.

🛠️ Key Features

  • dir_tree: generate a visual directory tree with configurable depth and ignore patterns
  • file_stats: analyze a directory; total files, size by extension, largest/newest/oldest files
  • duplicate_finder: detect duplicates by size and MD5 hash; report wasted space
  • code_counter: count lines of code by programming language

🚀 Use Cases

  • Explore project structures for AI agents
  • Assess repository health via file counts and sizes
  • Identify duplicate files to optimize storage
  • Measure code footprint across languages

⚡ Developer Benefits

  • MCP-compatible tools integration for model-context analysis
  • Structured, observable outputs suitable for downstream tooling
  • Lightweight, focused utilities for filesystem introspection

⚠️ Limitations

  • Refer to readme excerpt for exact tool usage and configuration
  • Behavior depends on provided paths and ignore patterns
  • MD5-based duplication requires file access permissions

Topics

ai-agentsclaudedeveloper-toolsdirectoryfilesmcpmodel-context-protocoltypescriptai-toolsmcp-server
io.github.rog0x/file - agentage MCP Catalog