Install Nimble MCP Server from the Databricks Marketplace and use it in agents, AI Playground, and notebooks
Nimble MCP Server is available on the Databricks Marketplace as a one-click install. It creates a secure Unity Catalog connection that gives any Databricks agent access to Nimble’s full web data platform — search, extract, map, crawl, and structured data extraction.
DatabricksMCPClient.list_tools() calls asyncio.run() internally. Databricks notebooks already have a running event loop, so nest_asyncio.apply() is required to avoid a RuntimeError.
Databricks model serving rejects tool schemas that contain additionalProperties. The ChatDatabricks.bind_tools() method adds this field via Pydantic serialization. Strip it before creating the agent:
def _strip_additional_properties(obj): if isinstance(obj, dict): obj.pop("additionalProperties", None) for value in obj.values(): _strip_additional_properties(value) elif isinstance(obj, list): for item in obj: _strip_additional_properties(item)clean_tool_defs = [convert_to_openai_tool(t) for t in langchain_tools]for td in clean_tool_defs: _strip_additional_properties(td)object.__setattr__( llm, 'bind_tools', lambda tools, **kw: llm.bind(tools=clean_tool_defs))
Create the agent and run a query:
agent = create_react_agent(llm, langchain_tools)response = await agent.ainvoke({ "messages": [{"role": "user", "content": ( "Search for the latest news about AI agents in enterprise workflows. " "Summarize the top 5 results with their sources." )}]})print(response["messages"][-1].content)
A complete walkthrough with four use cases (web search, page extraction, competitive pricing research, and site mapping) is available in the Nimble cookbook:
Nimble MCP + Databricks Notebook
End-to-end notebook: install packages, verify connection, build a LangGraph agent, and run queries