{"id":18576161,"url":"https://github.com/jreyesr/steampipe-plugin-mongodb","last_synced_at":"2026-04-27T08:32:15.240Z","repository":{"id":247784629,"uuid":"826835369","full_name":"jreyesr/steampipe-plugin-mongodb","owner":"jreyesr","description":"Use SQL to instantly query MongoDB databases. Open source CLI. No DB required.","archived":false,"fork":false,"pushed_at":"2024-07-16T02:55:22.000Z","size":141,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-16T00:42:20.793Z","etag":null,"topics":["postgresql","postgresql-fdw","sql","steampipe","steampipe-plugin"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jreyesr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-10T13:23:48.000Z","updated_at":"2024-07-16T04:35:08.000Z","dependencies_parsed_at":"2024-07-10T16:14:00.726Z","dependency_job_id":"9f52921a-116a-43ea-96f5-e3537cd93511","html_url":"https://github.com/jreyesr/steampipe-plugin-mongodb","commit_stats":null,"previous_names":["jreyesr/steampipe-plugin-mongodb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jreyesr/steampipe-plugin-mongodb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jreyesr%2Fsteampipe-plugin-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jreyesr%2Fsteampipe-plugin-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jreyesr%2Fsteampipe-plugin-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jreyesr%2Fsteampipe-plugin-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jreyesr","download_url":"https://codeload.github.com/jreyesr/steampipe-plugin-mongodb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jreyesr%2Fsteampipe-plugin-mongodb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32329463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["postgresql","postgresql-fdw","sql","steampipe","steampipe-plugin"],"created_at":"2024-11-06T23:23:49.781Z","updated_at":"2026-04-27T08:32:15.219Z","avatar_url":"https://github.com/jreyesr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MongoDB Atlas Plugin for Steampipe\n\nUse SQL to query data that is stored on collections in MongoDB databases.\n\n- **[Get started →](https://hub.steampipe.io/plugins/jreyesr/mongodb)**\n- Documentation: [Table definitions \u0026 examples](https://hub.steampipe.io/plugins/jreyesr/mongodb/tables)\n- Community: [Join #steampipe on Slack →](https://turbot.com/community/join)\n- Get involved: [Issues](https://github.com/jreyesr/steampipe-plugin-mongodb/issues)\n\n## Quick start\n\nInstall the plugin with [Steampipe](https://steampipe.io):\n\n```shell\nsteampipe plugin install jreyesr/mongodb\n```\n\nSet up a MongoDB database. If you don't have one yet, use [MongoDB Atlas's sample data](https://www.mongodb.com/docs/atlas/sample-data/#std-label-load-sample-data).\n\nRun a query (here we're using [the `sample_analytics` database](https://www.mongodb.com/docs/atlas/sample-data/sample-analytics/#std-label-sample-analytics)):\n\n```sql\nselect\n  *\nfrom\n  mongodb.transactions\nwhere\n  transaction_count \u003c 10 \n```\n\n## Engines\n\nThis plugin is available for the following engines:\n\n| Engine                                 | Description                                                                                                                                                                                                                                                                                                                                                                               |\n|----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Steampipe](https://steampipe.io/docs) | The Steampipe CLI exposes APIs and services as a high-performance relational database, giving you the ability to write SQL-based queries to explore dynamic data. Mods extend Steampipe's capabilities with dashboards, reports, and controls built with simple HCL. The Steampipe CLI is a turnkey solution that includes its own Postgres database, plugin management, and mod support. |\n\n## Developing\n\nPrerequisites:\n\n- [Steampipe](https://steampipe.io/downloads)\n- [Golang](https://golang.org/doc/install)\n\nClone:\n\n```sh\ngit clone https://github.com/jreyesr/steampipe-plugin-mongodb.git\ncd steampipe-plugin-mongodb\n```\n\nBuild, which automatically installs the new version to your `~/.steampipe/plugins` directory:\n\n```\nmake\n```\n\nConfigure the plugin:\n\n```\ncp config/* ~/.steampipe/config\nvi ~/.steampipe/config/mongodb.spc\n```\n\nTry it!\n\n```\nsteampipe query\n\u003e .inspect mongodb\n```\n\nTest:\n\n1. [Install BATS](https://bats-core.readthedocs.io/en/stable/tutorial.html#quick-installation)\n2. Set up this plugin on your local Steampipe instance, pointing to a MongoDB database with [the `sample_analytics` database](https://www.mongodb.com/docs/atlas/sample-data/sample-analytics/#std-label-sample-analytics) loaded\n3. Ensure that you can run `steampipe query \"select * from mongodb.accounts\"`\n\n```bash\n./test/bats/bin/bats test/test.bats\n```\n\nTo test the Mongo schema analyzer in isolation, which is on a separate package `mongodb/analyzer`, run:\n\n```bash\ngo test -v ./mongodb/analyzer\n```\n\nFurther reading:\n\n- [Writing plugins](https://steampipe.io/docs/develop/writing-plugins)\n- [Writing your first table](https://steampipe.io/docs/develop/writing-your-first-table)\n\n## Open Source \u0026 Contributing\n\nThis repository is published under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) (source code) and [CC BY-NC-ND](https://creativecommons.org/licenses/by-nc-nd/2.0/) (docs) licenses. Please see our [code of conduct](https://github.com/turbot/.github/blob/main/CODE_OF_CONDUCT.md). We look forward to collaborating with you!\n\n[Steampipe](https://steampipe.io) is a product produced from this open source software, exclusively by [Turbot HQ, Inc](https://turbot.com). It is distributed under our commercial terms. Others are allowed to make their own distribution of the software, but cannot use any of the Turbot trademarks, cloud services, etc. You can learn more in our [Open Source FAQ](https://turbot.com/open-source).\n\n## Get Involved\n\n**[Join #steampipe on Slack →](https://turbot.com/community/join)**\n\nWant to help but don't know where to start? Pick up one of the `help wanted` issues:\n\n- [Steampipe](https://github.com/turbot/steampipe/labels/help%20wanted)\n- [MongoDB Plugin](https://github.com/jreyesr/steampipe-plugin-mongodb/labels/help%20wanted)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjreyesr%2Fsteampipe-plugin-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjreyesr%2Fsteampipe-plugin-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjreyesr%2Fsteampipe-plugin-mongodb/lists"}