Semantiqv0.5.2
01Home
02Features
03Docs
04Blog
05Changelog
06Support
Get Started

Getting Started

  • Quick StartGet started in 5 minutes

Reference

  • CLI CommandsCommand reference
  • MCP IntegrationAI assistant setup
  • Usage GuideUsage patterns
  • Optimal WorkflowDevelopment workflow
  • Semantiq vs grepvs grep & find
  • ChangelogVersion history

Loading documentation...

Semantiq

One MCP Server for every AI coding tool. Powered by Rust and Tree-sitter.

GitHub

Product

  • Features
  • Documentation
  • Changelog

Resources

  • Quick Start
  • CLI Reference
  • MCP Integration
  • Blog

Connect

  • Support
  • GitHub
// 19 languages supported
Rust
TypeScript
JavaScript
Python
Go
Java
C
C++
PHP
Ruby
C#
Kotlin
Scala
Bash
Elixir
HTML
JSON
YAML
TOML
© 2026 Semantiq.|v0.5.2|connected
MIT·Built with Rust & Tree-sitter
  1. Home
  2. Docs
  3. Semantiq vs grep/find
Comparison
2 min read

Semantiq vs grep/find

Why semantic search beats traditional pattern matching for code understanding.

Semantiq vs grep/find#

grep and find match exact text patterns. Semantiq matches by meaning -- it finds verifyToken when you search for "authentication".


Comparison Table#

Feature comparison between grep/find and Semantiq MCP
Criteriagrep / findSemantiq MCP
SearchExact text matchSemantic (understands context)
SpeedVaries by codebase15-70ms typical
RelevanceNo rankingScored results (0.0-1.0)
ReferencesManual tracingAuto definitions + usages
Dependenciesgrep import onlyBidirectional dependency graph
ContextLine-level onlySymbols, types, signatures
FilteringRegex patternsfile_type, symbol_kind filters
Search
grepExact text match
SemantiqSemantic (understands context)
Speed
grepVaries by codebase
Semantiq15-70ms typical
Relevance
grepNo ranking
SemantiqScored results (0.0-1.0)
References
grepManual tracing
SemantiqAuto definitions + usages
Dependencies
grepgrep import only
SemantiqBidirectional dependency graph
Context
grepLine-level only
SemantiqSymbols, types, signatures
Filtering
grepRegex patterns
Semantiqfile_type, symbol_kind filters

Real-World Examples#

Finding authentication code#

With grep, you search by exact text. With Semantiq, you search by intent -- and get ranked results.

Terminal
grep -r "auth"
# Returns every file containing "auth" (hundreds of results)
# No ranking, no context, overwhelming noise

With Semantiq

Searching for "authentication handler" returns handleLogin, verifyToken, checkAuth -- ranked by relevance, not alphabetical order.

Terminal
1semantiq_search "authentication handler"
2# Returns: handleLogin, verifyToken, checkAuth
3# With relevance scores (0.83, 0.76, 0.71)
4# Understands intent, not just text

Tracing a function#

grep shows you lines containing text. Semantiq shows you structured relationships between definitions and usages.

Terminal
1grep -r "MDXRenderer"
2# Shows text matches in every file
3# No distinction between definition and usage
4# Manual work to understand the flow

With Semantiq

One command gives you 1 definition + 8 usages across 3 files, structured and ready for impact analysis.

Terminal
1semantiq_find_refs MDXRenderer
2# Shows: 1 definition + 8 usages across 3 files
3# Structured output: definitions vs usages
4# Instant impact analysis

Understanding dependencies#

grep gives you raw import lines. Semantiq gives you a complete dependency graph -- both directions.

Terminal
1grep "import"
2# Raw text output of import lines
3# Requires manual parsing
4# No understanding of relationships

With Semantiq

See exactly what a file imports and what depends on it -- bidirectional, structured, instant.

Terminal
1semantiq_deps hero.tsx
2# 14 imports (what this file needs)
3# 3 files that import it (what depends on it)
4# Bidirectional graph, structured output

Recommended workflow#

Semantiq finds code by meaning. Native tools read and modify it. Use both together for the best results:

Recommended workflow combining Semantiq and native tools
StepToolPurpose
1Glob "**/*.tsx"List matching files by pattern
2semantiq_search "feature"Find code by meaning
3semantiq_explain SymbolUnderstand what a symbol does
4semantiq_deps fileMap dependency graph
5Read file.tsxRead the full source code
6Grep "exact pattern"Find exact text matches
7semantiq_find_refs SymbolCheck impact before refactoring
8Edit file.tsxApply code changes
1
Glob "**/*.tsx"List matching files by pattern
2
semantiq_search "feature"Find code by meaning
3
semantiq_explain SymbolUnderstand what a symbol does
4
semantiq_deps fileMap dependency graph
5
Read file.tsxRead the full source code
6
Grep "exact pattern"Find exact text matches
7
semantiq_find_refs SymbolCheck impact before refactoring
8
Edit file.tsxApply code changes

See Also#

  • Usage Guide -- Practical examples for each tool
  • CLI Reference -- Complete command documentation

Was this page helpful? Let us know on GitHub.