Skip to content

Context7 Platform -- Up-to-date docs for AI agents

docs: fix claude installation guides with correct args location (#1438)

Fahreddin Özcanb5942ddade0f
diff --git a/README.md b/README.md
index 1f893a4b..71da0cf5 100644
--- a/README.md
+++ b/README.md
@@ -96,7 +96,7 @@ claude mcp add context7 -- npx -y @upstash/context7-mcp --api-key YOUR_API_KEY
#### Claude Code Remote Server Connection
```sh
-claude mcp add --transport http context7 https://mcp.context7.com/mcp --header "CONTEXT7_API_KEY: YOUR_API_KEY"
+claude mcp add --header "CONTEXT7_API_KEY: YOUR_API_KEY" --transport http context7 https://mcp.context7.com/mcp
```
</details>
diff --git a/docs/clients/claude-code.mdx b/docs/clients/claude-code.mdx
index 5ad55d51..0a83f0b5 100644
--- a/docs/clients/claude-code.mdx
+++ b/docs/clients/claude-code.mdx
@@ -17,7 +17,7 @@ claude mcp add --transport http context7 https://mcp.context7.com/mcp/oauth
```
```bash With API Key
-claude mcp add --transport http context7 https://mcp.context7.com/mcp --header "CONTEXT7_API_KEY: YOUR_API_KEY"
+claude mcp add --header "CONTEXT7_API_KEY: YOUR_API_KEY" --transport http context7 https://mcp.context7.com/mcp
```
```bash Without API Key
diff --git a/docs/resources/all-clients.mdx b/docs/resources/all-clients.mdx
index dbe0c8c1..2b95c858 100644
--- a/docs/resources/all-clients.mdx
+++ b/docs/resources/all-clients.mdx
@@ -26,7 +26,7 @@ claude mcp add context7 -- npx -y @upstash/context7-mcp --api-key YOUR_API_KEY
#### Remote Server Connection
```sh
-claude mcp add --transport http context7 https://mcp.context7.com/mcp --header "CONTEXT7_API_KEY: YOUR_API_KEY"
+claude mcp add --header "CONTEXT7_API_KEY: YOUR_API_KEY" --transport http context7 https://mcp.context7.com/mcp
```
</Accordion>
diff --git a/i18n/README.ko.md b/i18n/README.ko.md
index 2c7ce510..3fea6d08 100644
--- a/i18n/README.ko.md
+++ b/i18n/README.ko.md
@@ -94,7 +94,7 @@ claude mcp add context7 -- npx -y @upstash/context7-mcp --api-key YOUR_API_KEY
#### Claude Code 원격 서버 연결
```sh
-claude mcp add --transport http context7 https://mcp.context7.com/mcp --header "CONTEXT7_API_KEY: YOUR_API_KEY"
+claude mcp add --header "CONTEXT7_API_KEY: YOUR_API_KEY" --transport http context7 https://mcp.context7.com/mcp
```
</details>
diff --git a/i18n/README.zh-CN.md b/i18n/README.zh-CN.md
index ef41e34f..ea54cac5 100644
--- a/i18n/README.zh-CN.md
+++ b/i18n/README.zh-CN.md
@@ -97,7 +97,7 @@ claude mcp add context7 -- npx -y @upstash/context7-mcp --api-key YOUR_API_KEY
```
#### Claude Code 远程服务器连接
```sh
-claude mcp add --transport http context7 https://mcp.context7.com/mcp --header "CONTEXT7_API_KEY: YOUR_API_KEY"
+claude mcp add --header "CONTEXT7_API_KEY: YOUR_API_KEY" --transport http context7 https://mcp.context7.com/mcp
```
</details>
<details>
diff --git a/packages/mcp/README.md b/packages/mcp/README.md
index 40ff6d55..f37dbec8 100644
--- a/packages/mcp/README.md
+++ b/packages/mcp/README.md
@@ -145,7 +145,7 @@ claude mcp add context7 -- npx -y @upstash/context7-mcp --api-key YOUR_API_KEY
#### Claude Code Remote Server Connection
```sh
-claude mcp add --transport http context7 https://mcp.context7.com/mcp --header "CONTEXT7_API_KEY: YOUR_API_KEY"
+claude mcp add --header "CONTEXT7_API_KEY: YOUR_API_KEY" --transport http context7 https://mcp.context7.com/mcp
```
</details>