Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mcp-vs-api-calls/README.md → mcp-vs-api/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MCP vs API Calls: Which Should You Use for Python LLM Apps?

This folder contains the sample code for the Real Python tutorial [MCP vs API Calls: Which Should You Use for Python LLM Apps?](https://realpython.com/mcp-vs-api-calls/).
This folder contains the sample code for the Real Python tutorial [MCP vs API Calls: Which Should You Use for Python LLM Apps?](https://realpython.com/mcp-vs-api/).

## Files

Expand All @@ -16,7 +16,7 @@ Create a virtual environment and install the dependencies:
```console
$ python -m venv tools-venv
$ source tools-venv/bin/activate
(tools-venv) $ python -m pip install anthropic "mcp>=2,<3"
(tools-venv) $ python -m pip install "anthropic>=1,<2" "mcp>=2,<3"
```

The examples use the Anthropic client, which requires an API key. Create a key in the [Anthropic Console](https://console.anthropic.com/), scope it to a single workspace, and export it:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading