Skip to main content
Glama

Server Details

Pyth Hermes MCP — real-time price feeds and oracle data for DeFi agents.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

See and control every tool call

Log every tool call with full inputs and outputs
Control which tools are enabled per connector
Manage credentials once, use from any MCP client
Monitor uptime and get alerted when servers go down

Available Tools

7 tools
latest_price_feedsInspect

[DISCOVERY] [Deprecated] Deprecated: use /v2/updates/price/latest insteadDeprecated: use /v2/updates/price/latest instead Get the latest price updates by price feed id. Given a collection of price feed ids, retrieve the latest Pyth price for each price feed.

ParametersJSON Schema
NameRequiredDescriptionDefault
ids[]YesGet the most recent price update for this set of price feed ids. This parameter can be provided multiple times to retrieve multiple price updates, for example see the following query string: ``` ?ids[]=a12...&ids[]=b4c... ```
binaryNoIf true, include the binary price update in the `vaa` field of each returned feed. This binary data can be submitted to Pyth contracts to update the on-chain price.
verboseNoIf true, include the `metadata` field in the response with additional metadata about the price update.
latest_price_updatesInspect

Get the latest price updates by price feed id. — Get the latest price updates by price feed id. Given a collection of price feed ids, retrieve the latest Pyth price for each price feed. Returns: { binary: { data: string[], encoding: "hex" | "base64" }, parsed: { ema_price: { conf: unknown, expo: unknown, price: unknown, publish_time: unknown }, id: string, metadata: { prev_publish_time: unknown, proof_available_time: unknown, slot: unknown }, price: { conf: unknown, expo: unknown, price: unknown, publish_time: unknown } }[] }.

ParametersJSON Schema
NameRequiredDescriptionDefault
ids[]YesGet the most recent price update for this set of price feed ids. This parameter can be provided multiple times to retrieve multiple price updates, for example see the following query string: ``` ?ids[]=a12...&ids[]=b4c... ```
parsedNoIf true, include the parsed price update in the `parsed` field of each returned feed. Default is `true`.
encodingNoOptional encoding type. If true, return the price update in the encoding specified by the encoding parameter. Default is `hex`.
ignore_invalid_price_idsNoIf true, invalid price IDs in the `ids` parameter are ignored. Only applicable to the v2 APIs. Default is `false`.
latest_publisher_stake_capsInspect

Get the most recent publisher stake caps update data. Returns: { binary: { data: string[], encoding: "hex" | "base64" }, parsed: { publisher_stake_caps: unknown[] }[] }.

ParametersJSON Schema
NameRequiredDescriptionDefault
parsedNoIf true, include the parsed update in the `parsed` field of each returned feed. Default is `true`.
encodingNoGet the most recent publisher stake caps update data. Optional encoding type. If true, return the message in the encoding specified by the encoding parameter. Default is `hex`.
price_feed_idsInspect

[DISCOVERY] [Deprecated] Deprecated: use /v2/price_feeds insteadDeprecated: use /v2/price_feeds instead Get the set of price feed IDs. This endpoint fetches all of the price feed IDs for which price updates can be retrieved.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

price_feeds_metadataInspect

Get the set of price feeds. — Get the set of price feeds. This endpoint fetches all price feeds from the Pyth network. It can be filtered by asset type and query string.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryNoOptional query parameter. If provided, the results will be filtered to all price feeds whose symbol contains the query string. Query string is case insensitive.
asset_typeNoOptional query parameter. If provided, the results will be filtered by asset type. Possible values are crypto, equity, fx, metal, rates. Filter string is case insensitive.
price_stream_sse_handlerInspect

SSE route handler for streaming price updates. — SSE route handler for streaming price updates. The connection will automatically close after 24 hours to prevent resource leaks. Clients should implement reconnection logic to maintain continuous price updates. Returns: { binary: { data: string[], encoding: "hex" | "base64" }, parsed: { ema_price: { conf: unknown, expo: unknown, price: unknown, publish_time: unknown }, id: string, metadata: { prev_publish_time: unknown, proof_available_time: unknown, slot: unknown }, price: { conf: unknown, expo: unknown, price: unknown, publish_time: unknown }

ParametersJSON Schema
NameRequiredDescriptionDefault
ids[]YesGet the most recent price update for this set of price feed ids. This parameter can be provided multiple times to retrieve multiple price updates, for example see the following query string: ``` ?ids[]=a12...&ids[]=b4c... ```
parsedNoIf true, include the parsed price update in the `parsed` field of each returned feed. Default is `true`.
encodingNoOptional encoding type. If true, return the price update in the encoding specified by the encoding parameter. Default is `hex`.
allow_unorderedNoIf true, allows unordered price updates to be included in the stream.
benchmarks_onlyNoIf true, only include benchmark prices that are the initial price updates at a given timestamp (i.e., prevPubTime != pubTime).
ignore_invalid_price_idsNoIf true, invalid price IDs in the `ids` parameter are ignored. Only applicable to the v2 APIs. Default is `false`.
timestamp_price_updatesInspect

Get the latest price updates by price feed id. — Get the latest price updates by price feed id. Given a collection of price feed ids, retrieve the latest Pyth price for each price feed. Returns: { binary: { data: string[], encoding: "hex" | "base64" }, parsed: { ema_price: { conf: unknown, expo: unknown, price: unknown, publish_time: unknown }, id: string, metadata: { prev_publish_time: unknown, proof_available_time: unknown, slot: unknown }, price: { conf: unknown, expo: unknown, price: unknown, publish_time: unknown } }[] }.

ParametersJSON Schema
NameRequiredDescriptionDefault
ids[]YesGet the most recent price update for this set of price feed ids. This parameter can be provided multiple times to retrieve multiple price updates, for example see the following query string: ``` ?ids[]=a12...&ids[]=b4c... ```
parsedNoIf true, include the parsed price update in the `parsed` field of each returned feed. Default is `true`.
encodingNoOptional encoding type. If true, return the price update in the encoding specified by the encoding parameter. Default is `hex`.
publish_timeYesThe unix timestamp in seconds. This endpoint will return the first update whose publish_time is >= the provided value.
ignore_invalid_price_idsNoIf true, invalid price IDs in the `ids` parameter are ignored. Only applicable to the v2 APIs. Default is `false`.

Verify Ownership

This connector has been claimed. The /.well-known/glama.json file has been verified and ownership is confirmed.

Glama periodically re-verifies ownership. If the file is removed, the claim will be revoked.

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.