Skip to content

Conversation

ParthSareen
Copy link
Member

@ParthSareen ParthSareen commented Sep 24, 2025

extra NLs in docs due to prettier

Co-authored-by: Jeffrey Morgan <[email protected]>
@ParthSareen ParthSareen force-pushed the parth/mcp-websearch-webcrawl branch from 3a67d27 to 1b393de Compare September 24, 2025 01:45
@ParthSareen ParthSareen force-pushed the parth/mcp-websearch-webcrawl branch from 1b393de to 533e823 Compare September 24, 2025 01:56

- [web-search.py](web-search.py)

#### MCP server
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd add a small note on what this example is for:

For tools that act as MCP clients (e.g. Cursor, example 2, example 3) web search can be accessed via an mcp server:

Copy link
Member

@jmorganca jmorganca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good two small comments

"type": "stdio",
"command": "uv",
"args": ["run", "path/to/ollama-python/examples/web-search-mcp.py"],
"env": { "OLLAMA_API_KEY": "api-key" }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to say this is "your_api_key_here" or similar

@ParthSareen ParthSareen merged commit ab49a66 into main Sep 24, 2025
2 checks passed
@ParthSareen ParthSareen deleted the parth/mcp-websearch-webcrawl branch September 24, 2025 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants