Use DataStern in Antigravity
- Connection type:
- you add DataStern to Antigravity's MCP configuration yourself. The DataStern plugin isn't in Antigravity's marketplace yet.
- You need:
- Antigravity, and a DataStern account with at least one knowledge base connected.
Step 1: Open Antigravity's MCP configuration.
Open the file mcp_config.json in the .gemini/config folder of your home folder with any text editor; if it doesn't exist yet, create it.
- Antigravity appCustomizations, then Installed; under MCP Servers choose Copy Config File Path.
- Antigravity IDE… at the top of the agent panel, then MCP Servers, Manage MCP Servers, View raw config.
- macOSIn Finder choose Go, then Go to Folder (Shift-Command-G), and paste:
~/.gemini/ config - WindowsPaste into the File Explorer address bar:
%USERPROFILE%\.gemini\ config
Step 2: Add DataStern and save.
Paste the entry below. If the file already lists servers, add only the "datastern" entry inside "mcpServers". No key is needed. Save the file.
mcp_config.json{ "mcpServers": { "datastern": { "serverUrl": "https://www.datastern.eu/mcp" } } }Step 3: Sign in to DataStern.
Under MCP Servers choose Authenticate next to datastern. DataStern opens in your browser: sign in, or create an account if you don't have one yet, then choose Allow. If Antigravity asks for an authorization code, paste the one the browser shows and choose Submit.
Step 4: Ask your first question.
Ask Antigravity's agent your question in a chat; it calls DataStern's tools when the question is about the law.
If something doesn't work
- Antigravity doesn't list DataStern under MCP Servers.
- Check that the file is valid JSON and that "datastern" sits inside "mcpServers", then restart the server from its ⋮ menu or restart Antigravity.
- You'd rather install the plugin with the agy CLI.
- The plugin adds DataStern's answering instructions. agy installs it from a folder, not from a folder inside a repository. In Terminal on macOS or PowerShell on Windows (git needed), run git clone https://github.com/datastern/plugins, then agy plugin install plugins/plugins/antigravity/datastern.
- DataStern says no knowledge bases are connected.
- Connect one in DataStern under Knowledge bases, then ask again.
Check the answer against the source
- Find the citation. Ask your assistant to show the act or document, provision, quoted passage and source URL when available.
- Open the original. Follow the source link. Compare the quotation with the official text and read the surrounding provisions.
- Check the date and scope. For legislation, check which version applies to your question. A retrieved passage is not evidence that all relevant rules or amendments were searched.
DataStern supplies reference material, not legal or tax advice. Your assistant can make mistakes even when it cites a source.
If the source is missing or the result does not fit
Ask for the exact provision and relevant date, or narrow the question to one act. If no source link is available, find the cited provision in the official publisher's system. If the requested date or subject is outside the collection, do not treat an empty result or refusal as proof that no rule exists.
Support
Something not working, or a question about DataStern in Antigravity? Write to support@datastern.eu.