Skip to main content

@keeb/mongodb

v2026.04.22.3

Query and write MongoDB collections, diagnose connectivity, and walk related records from swamp workflows.

Repository

https://github.com/keeb/swamp-mongodb

Labels

mongodbdatabasenosql

Contents

Quality score

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @keeb/mongodb

Security Notice

This extension includes AI agent skills that can modify AI assistant behavior. Review the skill files before installing.

@keeb/mongodbv2026.04.07.1mongodb_query.ts

Global Arguments

ArgumentTypeDescription
mongodbUristringMongoDB connection URI
diagnoseCheck connectivity and list collections in a specific database. Tries the default DB from URI, plus common alternatives.
queryQuery any collection with a filter, projection, sort, and limit.
ArgumentTypeDescription
collectionstringCollection name
limitnumberMax documents to return
find_userSearch for a user by username or email. Supports exact and case-insensitive regex matching.
ArgumentTypeDescription
querystringSearch term (username or email pattern)
insertInsert one or more documents into a collection.
ArgumentTypeDescription
collectionstringCollection name
find_relatedGiven a user ID, search for related records in account, organization, and member collections.
ArgumentTypeDescription
userIdstringUser ID to search for related records

Resources

queryResults(infinite)— Query results from MongoDB

mongodb1 file