Issues Accessing DuckDB Python Extension in Claude.ai Due to Domain Allowlist Restrictions in Anthropic Cloud
Hey team, I have been trying to get python/CLI access to MD from within claude.ai cloud environments working, and am hitting all sorts of issues. See https://github.com/duckdb/community-extensions/issues/1887. I think one of the root causes is that when duckdb tries to load the md extension on first use, it tries to download from a host at *.duckdb.org, which is NOT one the set of allowlisted domains in anthropics cloud environment. I've been trying all sorts of hacks. To reproduce: sign into any account on claude.ai and start a thread with Install the duckdb python package and use it to "SELECT 42" from my motherduck account. My MD_TOKEN is <>. Note that this is very different from trying to connect using claude code, claude cowork, etc. This is only a problem in anthropic's cloud environment. This a problem for me as I am trying to get the rest of my company as addicted to building dives as I am 😈, and I want them to be able to use the claude.ai environment they are used to. I have the MCP working fine for basic exploration and other needs, but I need someone to be able to directly download/upload large datasets eg csv/parquet without that data passing through the LLM's context window, which is what MCP forces the LLM to do. Thank you!!
.png)