Logo di Earth Agent Chrome Extension

Earth Agent Chrome Extension

Community
wybert

Earth Agent is a Cursor-like AI agent for Google Earth Engine. It can be used right in your browser as a Chrome extension or through MCP server support. It helps you do anything related to Google Earth Engine automatically through chatting (write code, run analysis, debug errors, explain maps, and manage your environment). Hatched from sundai.club.

Autorewybert
Repositoryearth-agent-chrome-ext
LinguaTypeScript
Fork
12
Stelle
104
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    Earth Agent Chrome Extension mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    104 stelle e 12 fork nel repository collegato.

Earth Agent Chrome Extension

Earth Agent is a Cursor-like AI agent for Google Earth Engine. It can be used right in your browser as a Chrome extension or through MCP server support. It helps you do anything related to Google Earth Engine automatically through chatting (write code, run analysis, debug errors, explain maps, and manage your environment). Hatched from sundai.club.

Watch the Demo

[!TIP] Quick Start: Install from Chrome Web Store, set up your API key (OpenAI/Anthropic/Google) or MCP server with Claude Code/Cursor/Zed/OpenCode, and say "Help me map NDVI for California".

Features

  • Chat interface for Earth Engine assistance
  • Knows Earth Engine Data Catalog as well as community dataset
  • Knows Earth Engine APIs
  • Help you write code, and run the code
  • Help debug the code
  • Help you explain the map
  • Planning and reasoning
  • Environment management tools (reset map/console, clear code)
  • Comprehensive agent testing framework with automated testing capabilities
  • Custom Instructions: Tailor the AI's behavior and responses to your specific needs. Work like AGENTS.MD.
  • Agent Profiles: Create and switch between different agent configurations for different tasks
  • MCP Server Support: Use Earth Agent tools directly from Claude Code, Cursor, or Zed via the Model Context Protocol.

Installation

Option 1: Install from Chrome Web Store (Easiest & Recommended)

Best for: Standard users who want to use OpenAI, Anthropic, or Google Gemini.

  1. Visit the Earth Agent page on the Chrome Web Store.
  2. Click "Add to Chrome".
  3. The extension will be added to your browser and will appear in your Chrome toolbar.

[!NOTE] The Web Store version does not support local connections (MCP Server or Ollama) due to store policies. For those features, use Option 2.

  1. Go to the Releases page
  2. Download the latest earth-agent-extension.zip
  3. Extract the zip file to a folder on your computer
  4. Open Chrome and navigate to chrome://extensions/
  5. Enable "Developer mode" (toggle in the top right)
  6. Click "Load unpacked" and select the extracted folder
  7. The extension will appear in your Chrome toolbar
  1. Clone the repository
  2. Install dependencies with npm install
  3. Build the extension with npm run build
  4. Load the unpacked extension from the dist directory in Chrome

Configuration

[!TIP] You do not have to do this if you only want to use Earth Agent as MCP server. If you want to use it directly in your browser without external agents tools, you need to do this.

API Keys

  1. Click the Earth Agent extension icon in Chrome
  2. Go to Settings
  3. Configure your AI providers keys. we support OpenAI, Anthropic, Google, Z.AI, and Custom OpenAI-Compatible Providers. You need input at least one of them to use Earth Agent.
  4. Go back to the chat page, select your preferred model
  5. Start chatting with Earth Engine!

Just as software developers use files like CLAUDE.md, GEMINI.md or AGENTS.md to define project-specific rules for their AI coding assistants, Earth Agent allows you to set Custom Instructions to align the AI with your scientific or policy goals. Think of it as giving the agent a "Standard Operating Procedure" for your research. This is powerful for:

  • Scientific Rigor: e.g., "Always use the 'Cloud Score+' dataset for cloud masking in Sentinel-2 images."
  • Policy & Communication: e.g., "Draft all explanations as policy briefs suitable for decision-makers, avoiding jargon."
  • Methodology Standardization: e.g., "Always use median compositing instead of mean for annual composites."
  • Coding Conventions: e.g., "Use functional programming styles in GEE (e.g., map()) over client-side loops."

To configure:

  1. Open Extension Settings
  2. Use Custom Instructions to set global preferences

This allows you to create your own agent with specific system prompts and tool access for specific workflows or use cases. Each agent profile can have its own:

  • Custom System Prompt: Define exactly how the agent should behave
  • Tool Access: Enable or disable specific tools for focused tasks

Example Profiles:

  • "Strict Coder": Focused purely on writing optimized code, with no chit-chat.
  • "Tutor": Explains every step in detail for learning.
  • "Analyst": Specialized in statistical analysis and visualization.

To configure:

  1. Open Extension Settings
  2. Scroll to Profiles to create new agent personas

How to Use the Extension

You can use this extension in two ways: through the MCP Server or inside the Earth Agent side panel. MCP servers expose the same tools as the Earth Agent assistant. Check MCP Server Support for details on using it as an MCP server. The following section will show you how to use it inside the Earth Agent side panel.

Getting Started

After configuration:

  1. Open Google Earth Engine Code Editor in a Chrome tab: https://code.earthengine.google.com/
  2. Click the Earth Agent extension icon in your Chrome toolbar
  3. Start chatting! The agent can see your Earth Engine environment and help with any GEE-related tasks

[!NOTE] The agent can only see the code in temp/new scripts in the Google Earth Engine Code Editor for now. You should save it once you think the script is ready.

The agent operates in two modes that you can switch between:

Ask Mode (Read-Only) 🔍

Analysis and guidance mode - the agent can observe but not modify:

  • ✅ Read current code from the editor
  • ✅ Search documentation (geeDocs)
  • ✅ Take screenshots and inspect the page
  • ✅ Read console output and map state
  • ❌ Cannot insert or modify code
  • ❌ Cannot execute code
  • ❌ Cannot clear or reset the environment

Best for: Learning, understanding code, exploring datasets, getting explanations

Do Mode (Full Access) ⚡

Full execution mode - the agent can take action:

  • ✅ All Ask Mode capabilities
  • ✅ Write and edit code in the editor
  • ✅ Execute code and monitor results
  • ✅ Clear map, console, and inspector
  • ✅ Complete end-to-end workflows

Best for: Building scripts, debugging, automated analysis, multi-step tasks

Tip: Start in Ask Mode when exploring new concepts, switch to Do Mode when ready to implement

Developer & Advanced Usage

🚀 MCP Server Support (Developer Version Only)

npm version

Earth Agent can work as a local Model Context Protocol (MCP) server, allowing you to control Google Earth Engine directly from Claude Code, Cursor, Zed, or other AI editors.

[!WARNING] Availability Note: The Chrome Web Store version of Earth Agent supports Cloud AI only (OpenAI, Anthropic, Google) due to browser security restrictions on localhost connections.

To use the MCP Server (or local Ollama models), you must install the Developer Version from GitHub.

How to Enable MCP Support

  1. Install the Developer Version:

    • Download earth-agent-extension.zip from GitHub Releases.
    • Unzip and install via chrome://extensions/ > "Load unpacked".
  2. Enable in Settings:

    • Open Earth Agent settings.
    • Find "External Integrations" and enable "MCP Server".
  3. Configure your Editor:

    • Add the following to your MCP configuration (e.g., ~/.claude/settings.json):
    json
    {
      "mcpServers": {
        "earth-agent": {
          "command": "npx",
          "args": ["-y", "earth-agent-mcp"]
        }
      }
    }

👉 Full MCP Server Documentation

Usage Examples & Prompts

🌍 Getting Started

Help me create a simple map showing NDVI for California using Landsat data

🛰️ Satellite Data Analysis

Find and display the latest Sentinel-2 image over New York City with less than 10% cloud cover

📊 Data Processing (⚡ Requires Do Mode)

Calculate zonal statistics for land use categories within protected areas and export the results to Drive

🚀 Complex Workflow (⚡ Requires Do Mode)

I want to analyze deforestation in the Brazilian Amazon from 2000 to 2023.
Please create a complete workflow that:
1. Loads appropriate satellite imagery
2. Calculates forest loss over time
3. Creates visualizations showing the changes
4. Generates statistics by state/region
5. Exports the results for further analysis

🔧 Debugging

This code is running slowly, check my code for best practices and suggest improvements

Available Tools & Functions

Earth Agent provides a comprehensive set of tools available both in the Chrome Extension and via MCP.

CategoryAgent Tool NameMCP Tool NameDescription
Code EditingreadCoderead_gee_codeRead current code from editor
editCodeedit_gee_codeEdit code using search & replace
writeCodewrite_gee_codeOverwrite entire editor content
undoEditundo_gee_editRevert last edit
insertAtLineN/AInsert text at specific line
ExecutionrunCurrentCoderun_gee_codeRun the script in editor
waitwaitWait for execution/loading
AnalysisgetConsoleOutputgee_consoleRead console logs & errors
getMapScreenPositiongee_map_positionGet map bounds & zoom
getInspectorOutputgee_inspectorRead inspector panel data
screenshotgee_screenshotTake screenshot of interface
snapshotgee_snapshotGet accessibility DOM tree
KnowledgegeeDocsgee_docsSearch datasets & API docs
weatherweatherGet weather data
dateTimedate_timeGet current date/time
ControlclearMapInspectorAndConsoleclear_geeReset workspace
clickByRefIdclick_elementClick element by ID
clickAtScreenPositionclick_positionClick at coordinates

[!NOTE] Z.AI currently does not support multimodal inputs yet, so screenshot analysis features are unavailable when using Z.AI models. For the best Earth Engine integration experience with visual analysis capabilities, use OpenAI, Anthropic, or Google providers.

Usage Tips

For Maximum Productivity

  1. Use tool-compatible models when you need automated code execution
  2. Be specific in your requests for better results
  3. Ask for explanations to learn Earth Engine concepts
  4. Use workspace management tools to keep your environment clean
  5. Take screenshots to document your work and results

Common Workflows

  1. Exploratory Analysis: Ask questions → Get code → Run and iterate
  2. Data Processing: Define requirements → Generate pipeline → Execute and export
  3. Visualization: Create map → Style layers → Add legends → Capture results
  4. Debugging: Describe problem → Analyze code → Apply fixes → Test solution

Troubleshooting & Help

See Troubleshooting Guide for solutions to common issues (API keys, connectivity, tools, screenshots) and help resources.

Privacy and Security

We take your privacy seriously. Your API keys are stored securely in your browser using Chrome Sync and never share to our serever (even if we have one). Chat history and code remain local, it will sent to the LLM provider you choose. For full details on data handling and security practices, please read our Privacy Policy.

Roadmap

See roadmap.md for our planned features and future development.

Changelog

See CHANGELOG.md for a detailed history of changes.

Contributing

We welcome contributions! Please see our Contributing Guidelines for details on how to set up your development environment, build the project, and submit pull requests.

License

MIT

Thanks

Installazione

TypingMind
{
  "mcpServers": {
    "earth-agent-chrome-ext": {
      "command": "npx",
      "args": [
        "-y",
        "earth-agent-mcp"
      ]
    }
  }
}

Usa MCP Earth Agent Chrome Extension con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso Earth Agent Chrome Extension, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi Earth Agent Chrome Extension come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di Earth Agent Chrome Extension.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "earth-agent-chrome-ext": {
      "command": "npx",
      "args": [
        "-y",
        "earth-agent-ai-sdk"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di Earth Agent Chrome Extension, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di Earth Agent Chrome Extension.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare Earth Agent Chrome Extension per aiutarmi con questa attività?
Earth Agent Chrome Extension
Certo. Ho letto.
Ecco cosa ho trovato con Earth Agent Chrome Extension.

Domande frequenti

A cosa serve il server MCP Earth Agent Chrome Extension?

Earth Agent Chrome Extension è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare Earth Agent Chrome Extension MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare Earth Agent Chrome Extension con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP Earth Agent Chrome Extension con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando Earth Agent Chrome Extension, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego Earth Agent Chrome Extension MCP a TypingMind?

Earth Agent Chrome Extension funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre Earth Agent Chrome Extension MCP in TypingMind?

Earth Agent Chrome Extension mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare Earth Agent Chrome Extension MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se Earth Agent Chrome Extension richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇