open-index/open-npm huggingface dataset:
npm package: @sokyran/location-mcp-server
Description: MCP server for getting location from local app
Author: Your Name
Latest version: 1.1.5

# Location MCP Server

An MCP (Model Context Protocol) server that provides location data from a local macOS app.

## Prerequisites

- macOS (this package launches a macOS app)
- Node.js 16 or higher

## Installation

```bash
npm install -g @sokyran/location-mcp-server
```

Or run it directly with npx:

```bash
npx @sokyran/location-mcp-server
```

## Usage with Claude Desktop

1. Download the location-getter-agent.app and place it in the same directory where you run the command.

2. Edit your Claude Desktop configuration file:

```json
{
  "mcpServers": {
    "location": {
      "command": "npx",
      "args": ["@sokyran/location-mcp-server"]
    }
  }
}
```

3. Restart Claude Desktop.

4. You can now use the `getCurrentLocation` tool in your conversations with Claude.

## How It Works

The server:

1. Launches the location-getter-agent.app (which must be in the current directory)
2. Waits for the app to start its HTTP server on port 8080
3. Exposes a `getCurrentLocation` tool to Claude
4. When invoked, it fetches location data from the local app and returns it

## Troubleshooting

- Make sure the location-getter-agent.app is in the same directory where you're running the command
- If you get permission errors, you may need to allow the app in System Preferences > Security & Privacy
- Check that port 8080 is not being used by another application

## Instructions

1. Use Xcode, build location-getter
2. Inside Xcode, go to Product -> Show build folder in Finder
3. Here, find Products/Debug/location-getter-agent.app and paste in inside this folder, right near index.ts.
4. npm i, npm run build, npm run start
npm package: @sol-demo/source
Description: This project is generated with the [create-solana-dapp](https://github.com/solana-developers/create-solana-dapp) generator.
Latest version: 0.0.0

# sol-demo

This project is generated with the [create-solana-dapp](https://github.com/solana-developers/create-solana-dapp) generator.

## Getting Started

### Prerequisites

- Node v18.18.0 or higher

- Rust v1.77.2 or higher
- Anchor CLI 0.30.0 or higher
- Solana CLI 1.18.9 or higher

### Installation

#### Clone the repo

```shell
git clone <repo-url>
cd <repo-name>
```

#### Install Dependencies

```shell
npm install
```

#### Start the web app

```
npm run dev
```

## Apps

### anchor

This is a Solana program written in Rust using the Anchor framework.

#### Commands

You can use any normal anchor commands. Either move to the `anchor` directory and run the `anchor` command or prefix the command with `npm run`, eg: `npm run anchor`.

#### Sync the program id:

Running this command will create a new keypair in the `anchor/target/deploy` directory and save the address to the Anchor config file and update the `declare_id!` macro in the `./src/lib.rs` file of the program.

You will manually need to update the constant in `anchor/lib/counter-exports.ts` to match the new program id.

```shell
npm run anchor keys sync
```

#### Build the program:

```shell
npm run anchor-build
```

#### Start the test validator with the program deployed:

```shell
npm run anchor-localnet
```

#### Run the tests

```shell
npm run anchor-test
```

#### Deploy to Devnet

```shell
npm run anchor deploy --provider.cluster devnet
```

### web

This is a React app that uses the Anchor generated client to interact with the Solana program.

#### Commands

Start the web app

```shell
npm run dev
```

Build the web app

```shell
npm run build
```
npm package: @sol-synth-engine/pyth-mock-js
Description: Mock SDK for Pyth price feeds on Solana
Author: Sol Synth Team
Latest version: 0.0.2

# Pyth Mock SDK

A mock SDK for Pyth price feeds, designed for testing and development environments on Solana.

## Installation

```bash
npm install @sol-synth-engine/pyth-mock-js
```

## Usage

```typescript
import { PythMock } from "@sol-synth-engine/pyth-mock-js";
import { PublicKey } from "@solana/web3.js";

// Create a PythMock instance
const pythMock = new PythMock();

// Create a price feed
const priceFeed = await pythMock.createPriceFeed(50); // Initial price is 50

// Get price data
const priceData = await pythMock.getPriceData(priceFeed);
console.log(priceData.price); // 50

// Update price
await pythMock.setPrice(priceFeed, 60);

// Update TWAP
await pythMock.setTwap(priceFeed, 55);

// Get Oracle formatted price data
const oracleData = await pythMock.getOraclePriceData(priceFeed);
console.log(oracleData.price.toString()); // 60000000
```

## API Documentation

### PythMock

Main class providing all price feed operations.

#### Methods

- `createPriceFeed(price: number, exponent?: number, confidence?: number): Promise<PublicKey>`

  - Creates a new price feed
  - `price`: Initial price
  - `exponent`: Price exponent (default -7)
  - `confidence`: Confidence value (optional)

- `setPrice(priceFeed: PublicKey, newPrice: number): Promise<void>`

  - Updates the price feed's price
  - `priceFeed`: Price feed's public key
  - `newPrice`: New price value

- `setTwap(priceFeed: PublicKey, newTwap: number): Promise<void>`

  - Updates the price feed's TWAP
  - `priceFeed`: Price feed's public key
  - `newTwap`: New TWAP value

- `getPriceData(priceFeed: PublicKey): Promise<PriceData>`

  - Gets detailed price feed data

- `getOraclePriceData(priceFeed: PublicKey): Promise<OraclePriceData>`
  - Gets Oracle formatted price data

## Development

### Prerequisites

- Node.js >= 16.0.0
- npm >= 7.0.0

### Setup

```bash
# Install dependencies
npm install

# Build the project
npm run build

# Run tests
npm test

# Lint the code
npm run lint
```

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

MIT
npm package: @sol.ac/js-utils
Description: javascript utils
Author: aSH
Latest version: 1.0.1

# js-utils

[![npm version](https://badge.fury.io/js/@sol.ac%2Fjs-utils.svg)](https://badge.fury.io/js/@uncover%2Fjs-utils)
![Last Push](https://github.com/ash-uncover/js-utils/actions/workflows/PUSH-publish.yml/badge.svg)

js-utils is a small JavaScript library with common stuff usefull in many places
npm package: @sol.ac/js-utils-fetch
Description: javascript fetch utils
Author: aSH
Latest version: 1.0.2

# js-utils-fetch

[![npm version](https://badge.fury.io/js/@sol.ac%2Fjs-utils-fetch.svg)](https://badge.fury.io/js/@sol.ac%2Fjs-utils-fetch)
![Last Push](https://github.com/ash-uncover/js-utils-fetch/actions/workflows/PUSH-publish.yml/badge.svg)

js-utils-fetch provides wrapper on fetch function to standardize certain workflows.
npm package: @sol.ac/js-utils-logger
Description: javascript logger
Author: aSH
Latest version: 1.0.3

# js-utils-logger

[![npm version](https://badge.fury.io/js/@sol.ac%2Fjs-utils-logger.svg)](https://badge.fury.io/js/@sol.ac%2Fjs-utils-logger)
![Last Push](https://github.com/ash-uncover/js-utils-logger/actions/workflows/PUSH-publish.yml/badge.svg)

js-utils-logger is a JavaScript logging library
npm package: @sol.ac/ward-dev-tools
Description: Ward Dev Tools
Author: aSH
Latest version: 1.0.1

# ward Dev Tools

[![npm version](https://badge.fury.io/js/@uncover%2Fward-dev-tools.svg)](https://badge.fury.io/js/@uncover%2Fward-dev-tools)
![Last Push](https://github.com/ash-uncover/ward-dev-tools/actions/workflows/publish-npm.yml/badge.svg)

**Ward Dev Tools** provides a web component that you can insert on your application to track events and plugins defined with the [**Ward** framework](https://github.com/ash-uncover/ward).
npm package: @sol.ac/ward-react
Description: Ward - React integration
Author: aSH
Latest version: 1.0.1

# ward-react

[![npm version](https://badge.fury.io/js/@uncover%2Fward-react.svg)](https://badge.fury.io/js/@uncover%2Fward-react)
![Last Push](https://github.com/ash-uncover/ward-react/actions/workflows/publish-npm.yml/badge.svg)
npm package: @sola-hq/jup-api
Description: ## Generate typescript types from swagger schema
Latest version: 6.0.51

# JavaScript API Client for Jupiter V6

## Table of Contents

- [Installation](#installation)
- [Developing](#developing)
- [Usage](#usage)
- [Examples](#examples)
  - Paid Hosted APIs (Deprecated and will not be supported, reach out in Discord for more information)

## Installation

To use the Jupiter API client, you need to have Node.js and npm (Node Package Manager) installed. Then, you can install the package using npm:

```bash
npm install @jup-ag/api
```

## Developing

- pnpm dev-quote
  - Get request a quote based on mints and amount
- pnpm dev-swap
  - Post request with the quote response to receive the swap transaction to sign and send to the network
  - Ensure you have setup `process.env.PRIVATE_KEY` to sign
 
- Please set up `process.env.API_KEY` if you have a Pro plan via https://portal.jup.ag/

Refer to our developer documentation for more information and tips:
- Swap API: https://dev.jup.ag/docs/swap-api
- API Key setup: https://dev.jup.ag/docs/api-setup

## Usage

To start using the API client, you need to require it in your Node.js project:

```typescript
import { createJupiterApiClient } from '@jup-ag/api';

const jupiterQuoteApi = createJupiterApiClient(config); // config is optional such as api key
```

Now, you can call methods provided by the API client to interact with Jupiter's API. For example:

```typescript
jupiterQuoteApi.quoteGet({
    inputMint: "So11111111111111111111111111111111111111112",
    outputMint: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    amount: "100000000",
    slippageBps: 100,
})
```

## Examples

Checkout the [example in the repo](/example/index.ts).
npm package: @solaasan/pirsch-analytics-cloudflare-pages
Description: Cloudflare Pages plugin for Pirsch Analytics
Author: solaasan
Latest version: 1.0.1

# Pirsch Analytics Plugin for Cloudflare Pages

A Cloudflare Pages plugin that automatically handles Pirsch Analytics tracking without injecting a script into your pages. This plugin tracks page views server-side, making it immune to ad blockers and providing more accurate analytics.

## Installation

```bash
npm install @solaasan/pirsch-analytics-cloudflare-pages
```

## Usage

1. First, create a client in your Pirsch dashboard:

   - Go to Settings > Integration
   - Click "Add Client"
   - Select "Client ID/Secret"
   - Save your client ID and secret

2. Create a KV namespace for hit batching:

   ```bash
   # Using wrangler CLI
   npx wrangler kv:namespace create PIRSCH_KV
   ```

   Or through the Cloudflare Dashboard:

   - Go to Workers & Pages
   - Click on "KV"
   - Create a new namespace called "PIRSCH_KV"
   - Copy the namespace ID

   Then add it to your `wrangler.toml`:

   ```toml
   [[kv_namespaces]]
   binding = "PIRSCH_KV"
   id = "your_namespace_id_here"
   ```

3. Configure your Cloudflare Pages project:

   - Go to your project settings
   - Under "Functions", add the following environment variables:
     ```
     pirschClientId=your_client_id_here
     pirschClientSecret=your_client_secret_here
     ```

4. Add the plugin to your project configuration:

   ```js
   // wrangler.toml
   [[plugins]];
   package = "@solaasan/pirsch-analytics-cloudflare-pages";
   ```

   Or if using Next.js:

   ```js
   // next.config.js
   module.exports = {
     cloudflare: {
       plugins: ["@solaasan/pirsch-analytics-cloudflare-pages"],
     },
   };
   ```

## Features

- Server-side tracking (no client-side JavaScript needed)
- Immune to ad blockers
- Efficient hit batching to reduce API calls
- Tracks all important visitor data:
  - Page views
  - Referrers
  - User agents
  - Client hints
  - Geographic information (via Cloudflare headers)
- Automatic token management
- Caches authentication tokens for better performance
- Only tracks HTML pages (ignores assets, APIs, etc.)

## Development

For local development, create a `.dev.vars` file with your credentials:

```env
pirschClientId=your_client_id_here
pirschClientSecret=your_client_secret_here
```

The plugin uses in-memory storage for hit batching during local development, so no KV setup is required for testing.

## License

MIT
npm package: @solace-community/angular-solace-message-client
Description: Message client to communicate with a Solace messaging broker for sending and receiving messages using the native SMF protocol (Solace Message Format) over web socket. The library is designed to be used in Angular applications.
Author: Solace Community contributors
Latest version: 21.0.0

# Solace Message Client

Angular message client to communicate with a Solace messaging broker for sending and receiving messages using the
native [SMF protocol](https://docs.solace.com/PubSub-ConceptMaps/Component-Maps.htm#SMF) (Solace Message Format) over web socket. This library is based on the low-level Solace JavaScript
Messaging API provided by the [solclient](https://docs.solace.com/API-Developer-Online-Ref-Documentation/js/index.html) library.

This library provides fundamental messaging API to exchange messages via topic destinations, queue and topic endpoints. To get the full functionality of the underlying *solclient* library, you can obtain the native Solace session.


***

#### Quickstart

- [**Getting Started**](https://github.com/solacecommunity/angular-solace-message-client/blob/master/docs/site/getting-started.md) \
  Learn how to install and use this library in an Angular application.
  
- [**Features**](https://github.com/solacecommunity/angular-solace-message-client/blob/master/docs/site/features.md) \
  Get an overview of features of this library.

- [**Try Me**](https://solacecommunity.github.io/angular-solace-message-client/tryme) \
  See this library in action. The *Try Me* application lets you connect to your message broker for publishing and receiving messages.

- [**API Documentation**](https://solacecommunity.github.io/angular-solace-message-client/api) \
  Consult our API documentation for a complete overview of the API.
  
* [**GitHub Repo**]( https://github.com/solacecommunity/angular-solace-message-client) \
  Visit our GitHub repository for more information about this library.

***

The sources for this package are in https://github.com/solacecommunity/angular-solace-message-client repo. Please file issues and pull requests against that repo.

License: MIT
npm package: @solace-fi/sdk
Description: The Solace SDK exists to make it easy for developers to integrate Solace into external protocols and custom scripts. It is designed to run in Javascript environments (browsers, frontend, Node.js).
Latest version: 0.5.52

The Solace SDK exists to make it easy for developers to integrate Solace into external protocols and custom scripts. It is designed to run in Javascript environments (browsers, frontend, Node.js). 


This SDK is in alpha testing and may contain bugs or change significantly between patch versions. If you have questions about how to use the SDK, please reach out in the Discord. Pull requests welcome!

### Install npm package

`npm i @solace-fi/sdk`

### Testing

`yarn test`

### Basic Usage

Get active cover limit of Solace Cover Product on Ethereum mainnet
```
import { Coverage } from "@solace-fi/sdk"

// Create new Coverage instance, connected to Ethereum mainnet (chainID = 1)
const coverage = new Coverage(1)

// Makes read-only call to SolaceCoverProduct.sol smart contract
const activeCoverLimit = await coverage.activeCoverLimit()
```

### Documentation

https://docs.solace.fi/docs/dev-docs/sdk/getting-started
npm package: @solace-fi/sdk-nightly
Description: Note - Unstable nightly build, documentation not up-to-date for nightly build
Latest version: 0.5.67

Note - Unstable nightly build, documentation not up-to-date for nightly build


The Solace SDK exists to make it easy for developers to integrate Solace into external protocols and custom scripts. It is designed to run in Javascript environments (browsers, frontend, Node.js). 


This SDK is in alpha testing and may contain bugs or change significantly between patch versions. If you have questions about how to use the SDK, please reach out in the Discord. Pull requests welcome!

### Install npm package

`npm i @solace-fi/sdk-nightly`

### Testing

`yarn test`

### Basic Usage

Get active cover limit of Solace Cover Product on Ethereum mainnet
```
import { Coverage } from "@solace-fi/sdk-nightly"

// Create new Fetcher instance (contains blockchain read-only methods), connected to Ethereum mainnet (chainID = 1)
const coverage = new Coverage(1)

// Makes read-only call to SolaceCoverProduct.sol smart contract
const activeCoverLimit = await coverage.activeCoverLimit()
```

### Documentation

https://docs.solace.fi/docs/dev-docs/sdk/getting-started
npm package: @solace-iot-team/apim-connector-openapi-browser
Description: Solace API-M Connector - OpenAPI Client for Browser (Typescript)
Author: Solace Corporation
Latest version: 0.15.4

# OpenAPI Typescript Client for Solace API Management Connector API

Generated Typescript Open API Client for the [Solace API Management Connector](https://github.com/solace-iot-team/platform-api).

* Target: **Browser**
* Uses: `window.fetch`

## Install

```bash
npm install @solace-iot-team/apim-connector-openapi-browser
```

---
npm package: @solace-iot-team/apim-connector-openapi-node
Description: Solace API-M Connector - OpenAPI Client for Node.js (Typescript)
Author: Solace Corporation
Latest version: 0.15.4

# OpenAPI Typescript Client for Solace API Management Connector API

Generated Typescript Open API Client for the [Solace API Management Connector](https://github.com/solace-iot-team/platform-api).

* Target: **Node**
* Uses: `node.fetch`


## Install

```bash
npm install @solace-iot-team/apim-connector-openapi-node
```

## Usage

See [Example.](https://github.com/solace-iot-team/platform-api/release/platform-api-openapi-client/example)

---
npm package: @solace-iot-team/apim-server-openapi-browser
Description: Async API Management Server - OpenAPI Client for Browser (Typescript)
Author: Solace Corporation
Latest version: 0.4.0

# OpenAPI Browser Client for Solace API Management Server

Generated Typescript Open API Client for the [Solace Async API Management Server](https://github.com/solace-iot-team/async-apim/tree/main/apim-server).

## Install

```bash
npm install @solace-iot-team/apim-server-openapi-browser
```

---
npm package: @solace-iot-team/apim-server-openapi-node
Description: Async API Management Server - OpenAPI Client for NodeJS (Typescript)
Author: Solace Corporation
Latest version: 0.4.0

# OpenAPI NodeJS Client for Solace API Management Server

Generated Typescript Open API Client for the [Solace Async API Management Server](https://github.com/solace-iot-team/async-apim/tree/main/apim-server).

## Install

```bash
npm install @solace-iot-team/apim-server-openapi-node
```

---