Statespace
Enables AI agents to interact with DuckDB for high-performance analytical queries.
Provides connectivity for AI agents to access and work with MongoDB databases.
Allows AI agents to explore schemas and execute queries on MySQL databases.
Connects AI agents to PostgreSQL databases for data documentation, schema exploration, and text-to-SQL tasks.
Enables the execution of Python scripts as custom tools within AI agent workflows.
Facilitates interaction with Snowflake data warehouses, allowing AI agents to perform queries and analyze data.
Supports AI-driven data exploration and querying of local SQLite databases.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@StatespaceHow many new users registered this week?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
The simplest way to document and connect AI to your data
Website: https://statespace.com
Documentation: https://docs.statespace.com
AI doesn't know your data. Statespace helps you quickly document your data and connect it to agents through APIs, MCPs, or CLIs. Build RAG, text-to-SQL, knowledge bases, and more, in just a few lines of code. Once you’ve created an app, you can deploy, manage, and share it from our cloud platform.
Example
1. Create it
Create a file README.md with:
---
tools:
- [psql, -d, $DB, -c, { regex: "^SELECT\\b.*" }]
---
# Instructions
- Learn the schema by exploring tables, columns, and relationships
- Translate the user's question into a query that answers it2. Run it
Configure the MCP server on your client:
"statespace": {
"command": "uvx",
"args": [
"statespace-mcp",
"path/to/app/"
],
"env": {
"DB": "postgresql://user:pass@host:port/db"
}
}Alternatively, install the Statespace CLI and agent skill:
npm install -g statespace
# run the app locally
statespace serve path/to/app/ --env DB=postgresql://user:pass@host:port/db --port 80803. Ask it
Ask your MCP-enabled agent directly:
claude "How many users do we have?"Or activate the skill and then ask your agent:
claude "/statespace Use the API at http://127.0.01:8080 to find out how many users we have"4. Update it
Add as much context and tools as your application needs
path/to/app/
├── README.md # from above
├── script.py
└── schema/
├── users.md
└── products.mdThen update README.md with new tools and instructions:
---
tools:
- [grep, -r]
- [python3, script.py]
- [psql, -d, $DB, -c, { regex: "^SELECT\\b.*" }]
---
# Instructions
- Learn the schema by exploring tables, columns, and relationships
- Translate the user's question into a query that answers it
- Search through the database's [[./schema]] files with `grep`
- Run script.py to check the number of active connections5. Deploy it
Optionally, create a Statespace account to deploy your app and get a shareable URL
Then, simply replace your app's path with this URL: path/to/app→https://demo.statespace.app`
More examples
Community & Contributing
Discord: Join our community server for real-time help and discussions
X: Follow us @statespace_tech for updates and news
Issues: Report bugs or request features on GitHub Issues
License
This project is licensed under the terms of the MIT license.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/statespace-tech/ssp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server