Strips specific query parameters from URLs while preserving the rest. Call via MCP in Cursor or Windsurf, or hit GET /v1/slug/remove-query-param with your URL and target parameter. Perfect for cleaning tracking parameters or sanitizing URLs before storage. Returns the modified URL with proper encoding maintained.
curl "https://tinyfn.io/v1/slug/remove-query-param" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/slug/remove-query-param', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/slug/remove-query-param',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's url/slug tools:
{
"mcpServers": {
"tinyfn-slug": {
"url": "https://tinyfn.io/mcp/slug",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Make separate calls for each parameter you want to remove, or check if your MCP client supports batch operations for this tool.
The original URL is returned unchanged. No error is thrown for non-existent parameters.
Yes, the tool maintains proper URL encoding for remaining parameters and handles special characters correctly.
Absolutely. MCP-enabled agents in tools like Cline can automatically strip utm_source, fbclid, and other tracking params during data processing.
No, fragments (#section) and the base URL structure remain intact when query parameters are removed.
Get your free API key and start using Remove Query Param in seconds.
Get Free API Key