← スキル一覧に戻る

mongodb-usage
by vuralserhat86
OS for Agents: 130+ Agentic Skills, Gemini Protocols, and Autonomous Workflows. (Antigravity System)
⭐ 19🍴 9📅 2026年1月23日
SKILL.md
name: mongodb_usage router_kit: FullStackKit description: This skill should be used when user asks to "query MongoDB", "show database collections", "get collection schema", "list MongoDB databases", "search records in MongoDB", or "check database indexes". metadata: skillport: category: auto-healed tags: [aggregation, big data, cleaning, csv, data analysis, data engineering, data science, database, documents, etl pipelines, export, import, json, machine learning basics, migration, mongodb usage, mongoose, nosql, numpy, pandas, python data stack, query optimization, reporting, schema design, sharding, sql, statistics, transformation, visualization]
MongoDB MCP Usage
Use the MongoDB MCP server to integrate database queries into workflows.
Read-Only Access
MongoDB MCP is configured in read-only mode. Only queries and data retrieval are supported. No write, update, or delete operations.
Database Queries
Use mcp__mongodb__* tools for:
- Listing databases
- Viewing collection schemas
- Querying collection data
- Analyzing indexes
Integration Pattern
- List available databases with
mcp__mongodb__list_databases - Explore collections with
mcp__mongodb__list_collections - Get schema information with
mcp__mongodb__get_collection_schema - Query data as needed for analysis
- Format results for user consumption
Environment Variables
MongoDB MCP requires:
MONGODB_URI- Connection string (mongodb://...)
Configure in shell before using the plugin.
Cost Considerations
- Minimize database calls when possible
- Use schema queries before running analysis queries
- Cache results locally if multiple calls needed MongoDB Usage v1.1 - Enhanced
🔄 Workflow
Aşama 1: Discovery & Inspection
- Connection:
mcp__mongodb__list_databasesile erişimi doğrula. - Schema Analysis:
mcp__mongodb__get_collection_schemaile veri tiplerini ve yapıyı anla. - Index Check: Mevcut indeksleri listele (
list_indexesveya benzeri sorgu ile).
Aşama 2: Query Construction
- Filter: Sorguları indeksli alanlar (Prefix) üzerinden filtrele.
- Projection: Sadece gerekli alanları (
{ field: 1 }) seç (Network ve RAM tasarrufu). - Aggregation: Karmaşık analizler için
$match,$group,$projectpipeline'ını kur.
Aşama 3: Performance Check (Explain Plan)
- Explain: Sorgunun
COLLSCAN(Tam tarama) mıIXSCAN(Index tarama) mı yaptığını kontrol et. - Optimization: Yavaş sorgular için bileşik indeks (Compound Index) öner.
Kontrol Noktaları
| Aşama | Doğrulama |
|---|---|
| 1 | Sorgu 100ms'in altında cevap veriyor mu? |
| 2 | "In-memory sort" limiti aşılıyor mu (disk kullanımı var mı)? |
| 3 | Regex sorguları indeksin başlangıcını (anchor ^...) kullanıyor mu? |
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です