Skip to content

160-tool MCP server for real-time global intelligence from free public APIs: markets, liquidity, prediction markets, SEC filings, conflict, military, aircraft-cohort early warning, migration and border flows, cyber, climate, news and more. Dated observation history, 29 research prompts, cited briefs, geofences, SSE dashboard. MIT, no paid API keys.

fix: default Ollama URL to localhost; document OLLAMA_* env vars

Phoenix Agent (Marcs-Mac-Studio)03f0fc4e42af
diff --git a/CLAUDE.md b/CLAUDE.md
index a88007a..a0ec566 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -85,6 +85,7 @@ Only these unlock additional data sources (everything else works unauthenticated
- `CLOUDFLARE_API_TOKEN` — internet outage data
- `FRED_API_KEY` — macro economic data
- `OPENSKY_CLIENT_ID` / `OPENSKY_CLIENT_SECRET` — military flight fallback
+- `OLLAMA_API_URL` / `OLLAMA_MODEL`: Ollama server and model for AI-generated briefs (default `http://localhost:11434` / `llama3.2`)
## Testing
diff --git a/README.md b/README.md
index 9db2cfa..c3ec192 100644
--- a/README.md
+++ b/README.md
@@ -487,6 +487,8 @@ The vector store uses FastEmbed (ONNX-based, BAAI/bge-small-en-v1.5) for embeddi
| `FRED_API_KEY` | No | Macro economic data (also used for yield curve) |
| `OPENSKY_CLIENT_ID` | No | Military flight fallback |
| `OPENSKY_CLIENT_SECRET` | No | Military flight fallback |
+| `OLLAMA_API_URL` | No | Ollama server for AI-generated briefs (default: `http://localhost:11434`) |
+| `OLLAMA_MODEL` | No | Ollama model for AI-generated briefs (default: `llama3.2`) |
| `WORLD_INTEL_LOG_LEVEL` | No | Logging level (default: INFO) |
Everything else uses free, unauthenticated public APIs.
diff --git a/src/world_intel_mcp/analysis/situation.py b/src/world_intel_mcp/analysis/situation.py
index 8ff5a4a..814c14b 100644
--- a/src/world_intel_mcp/analysis/situation.py
+++ b/src/world_intel_mcp/analysis/situation.py
@@ -140,7 +140,7 @@ async def fetch_situation_brief(overview_data: dict) -> dict:
metrics = _extract_metrics(overview_data)
prompt = _build_prompt(metrics)
- ollama_url = os.environ.get("OLLAMA_API_URL", "http://mac-studio.local:11434")
+ ollama_url = os.environ.get("OLLAMA_API_URL", "http://localhost:11434")
model = os.environ.get("OLLAMA_MODEL", "llama3.2")
brief_text = ""