npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@striderlabs/mcp-target

v0.1.2

Published

MCP server connector for Target retail shopping — search products, manage cart, track orders

Readme

@striderlabs/mcp-target

MCP (Model Context Protocol) server connector for Target retail shopping. Enables AI assistants to search products, manage carts, and track orders on Target.com via browser automation.

Installation

npx @striderlabs/mcp-target

Or install globally:

npm install -g @striderlabs/mcp-target

MCP Configuration

Add to your MCP client config (e.g., Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "target": {
      "command": "npx",
      "args": ["@striderlabs/mcp-target"]
    }
  }
}

Tools

status

Check Target authentication status and session info.

Parameters: none


login

Authenticate with your Target account via browser automation.

Parameters: | Name | Type | Required | Description | |------|------|----------|-------------| | email | string | ✅ | Target account email | | password | string | ✅ | Target account password | | headless | boolean | | Run browser headlessly (default: true). Set false to see the browser window. |

Credentials are never stored — only session cookies are persisted to ~/.striderlabs/target/.


logout

Clear session cookies and log out.

Parameters: none


search_products

Search Target products with optional filters and sorting.

Parameters: | Name | Type | Required | Description | |------|------|----------|-------------| | query | string | ✅ | Search term | | category | string | | Category filter (e.g., electronics) | | min_price | number | | Minimum price filter | | max_price | number | | Maximum price filter | | sort_by | string | | Sort order: relevance, price_low, price_high, newest, bestselling | | limit | number | | Max results (default: 10, max: 24) |


get_product

Get detailed product information including price, description, and availability.

Parameters: | Name | Type | Required | Description | |------|------|----------|-------------| | url | string | | Full Target product URL | | tcin | string | | Target product TCIN/item ID |

Provide either url or tcin.


check_store_availability

Check if a product is available for in-store pickup at nearby Target stores.

Parameters: | Name | Type | Required | Description | |------|------|----------|-------------| | tcin | string | | Target product TCIN | | url | string | | Product URL | | zip_code | string | | ZIP code for nearby store search |

Provide either url or tcin.


add_to_cart

Add a product to your Target cart.

Parameters: | Name | Type | Required | Description | |------|------|----------|-------------| | url | string | | Target product URL | | tcin | string | | Target product TCIN | | quantity | number | | Quantity (default: 1) | | fulfillment | string | | pickup, shipping, or delivery (default: shipping) |

Requires login.


view_cart

View current cart contents and totals.

Parameters: none Requires login.


clear_cart

Remove all items from cart.

Parameters: none Requires login.


checkout

Preview or place a Target order.

Parameters: | Name | Type | Required | Description | |------|------|----------|-------------| | confirm | boolean | | Set true to place the order. Default false (preview only). |

Requires login. Always preview first before confirming.


get_orders

Get order history.

Parameters: | Name | Type | Required | Description | |------|------|----------|-------------| | limit | number | | Number of recent orders (default: 10) |

Requires login.


track_order

Track an order's status and delivery information.

Parameters: | Name | Type | Required | Description | |------|------|----------|-------------| | order_id | string | ✅ | Target order ID |

Requires login.


Session Storage

Session cookies are stored at ~/.striderlabs/target/:

  • cookies.json — Browser session cookies
  • auth.json — Account metadata (email, login timestamp)

Credentials (email/password) are never persisted.

Technical Details

  • Transport: stdio (MCP standard)
  • Browser automation: Playwright with Chromium + stealth patches
  • Stealth: Patches navigator.webdriver, plugins, permissions, and other bot-detection vectors
  • Cookie persistence: Survives across sessions; no repeated logins needed

Notes

  • Target.com may prompt for CAPTCHA or additional verification on first login. Use headless: false to handle these interactively.
  • Store availability and cart operations require geolocation; defaults to Chicago, IL.
  • The checkout tool with confirm: true will place a real order. Always preview first.

License

MIT — Strider Labs