Tushare MCP server integration for AI agents.
Connect AI agents to Tushare through 7 structured actions, including get adjustment factors, get daily basic, and get daily quotes. Review authentication, in…
- ACTION CONTRACTS
- 7
- AUTHENTICATION
- API key
- SOURCE STATUS
- Provider-backed
CATALOG SOURCE REVIEWED AUGUST 23, 2026 / ACTION NAMES AND SCHEMAS DERIVED FROM WORKING MACHINES PROVIDER SOURCE
CAPABILITY PROFILE
What the Tushare integration exposes
The Tushare Agent App exposes 7 provider-backed actions for finance and data work. Its current contract lets an authorized agent get a-share adjustment factor rows through tushare adj_factor, get a-share daily valuation and share indicators through tushare daily_basic, and get a-share daily quote rows through tushare daily with normalized rows. These operations are called through Working Machines as typed capabilities rather than through browser navigation or copied UI steps.
A connection uses API key. Before execution, the agent can inspect the selected action, its required fields, declared scopes, and expected output contract. Provider credentials remain inside the Working Machines runtime; the calling agent receives the capability and its structured result, not the underlying secret.
For reliable operation, start with the narrowest action that satisfies the task, resolve stable provider identifiers before changing state, and validate the returned object or status after execution. Availability still depends on the connected Tushare account, granted provider permissions, workspace policy, region, plan, and upstream API behavior.
VERIFIED ACTION SAMPLE
Real Tushare capabilities.
Showing 7 of 7 actions. Risk labels are conservative signals based on operation names, not substitutes for provider documentation or runtime policy.
get_adjustment_factorsREADGet A-share adjustment factor rows through Tushare adj_factor.
INPUTS: tsCode / tradeDate / startDate / endDate
get_daily_basicREADGet A-share daily valuation and share indicators through Tushare daily_basic.
INPUTS: tsCode / tradeDate / startDate / endDate
get_daily_quotesREADGet A-share daily quote rows through Tushare daily with normalized rows.
INPUTS: tsCode / tradeDate / startDate / endDate
get_shareholder_tradesREADGet A-share important shareholder increases and decreases through Tushare stk_holdertrade.
INPUTS: tsCode / announcementDate / startDate / endDate / tradeType
get_trade_calendarREADGet exchange trading calendar rows through Tushare trade_cal with normalized dates.
INPUTS: exchange / startDate / endDate / isOpen
list_stocksREADList A-share stock basic information through Tushare stock_basic with normalized rows.
INPUTS: exchange / listStatus / isHs
query_dataREADCall a Tushare data API through the official HTTP interface and return normalized table rows.
INPUTS: apiName / params / fields
INPUT CONTRACTS
Know what the action needs before it runs.
get_adjustment_factors
tsCodeOPTIONAL- Tushare security code, such as 000001.SZ.
tradeDateOPTIONAL- Trade date in YYYYMMDD format.
startDateOPTIONAL- Start date in YYYYMMDD format.
endDateOPTIONAL- End date in YYYYMMDD format.
get_daily_basic
tsCodeOPTIONAL- Tushare security code, such as 000001.SZ.
tradeDateOPTIONAL- Trade date in YYYYMMDD format.
startDateOPTIONAL- Start date in YYYYMMDD format.
endDateOPTIONAL- End date in YYYYMMDD format.
get_daily_quotes
tsCodeOPTIONAL- Tushare security code, such as 000001.SZ.
tradeDateOPTIONAL- Trade date in YYYYMMDD format.
startDateOPTIONAL- Start date in YYYYMMDD format.
endDateOPTIONAL- End date in YYYYMMDD format.
get_shareholder_trades
tsCodeOPTIONAL- Tushare security code, such as 000001.SZ.
announcementDateOPTIONAL- Announcement date in YYYYMMDD format.
startDateOPTIONAL- Announcement start date in YYYYMMDD format.
endDateOPTIONAL- Announcement end date in YYYYMMDD format.
tradeTypeOPTIONAL- Share trade type: IN for an increase or DE for a decrease.
PROVIDER-SPECIFIC WORKFLOWS
Jobs this Agent App can support
Inspect Get Adjustment Factors
Get A-share adjustment factor rows through Tushare adj_factor. Use this as a bounded discovery step, retain the returned identifier, and avoid expanding the read beyond the task's stated scope.
get_adjustment_factorsVerify with Get Daily Basic
Get A-share daily valuation and share indicators through Tushare daily_basic. Compare the returned provider state with the intended outcome and preserve stable IDs or canonical links in the run record.
get_daily_basicSAFETY BOUNDARY
Operate Tushare with explicit limits
- Authorize Tushare with API key and grant only the provider access required by the selected actions.
- The current action names appear read-oriented, but returned Tushare data may still be sensitive and should be minimized before it enters model context.
- Do not infer permission from catalog visibility. Workspace policy, connection identity, and upstream authorization still govern execution.
- No provider scope string is declared on the sampled actions. Verify the connected account's actual permissions in Tushare rather than assuming unrestricted access.
- After a call, inspect the structured result and execution record before reporting that the Tushare task completed successfully.
CONNECTION MODEL
API key
Tushare token used as the token field in HTTP API requests. Log in, open Personal Center > Account and TOKEN, then copy it as documented at https://tushare.pro/document/1?doc_id=39.
Working Machines stores provider credentials behind the execution boundary. An agent can use an authorized connection identity, but catalog discovery alone does not reveal OAuth tokens, API keys, or provider secrets.
- READ SIGNALS
- 7
- WRITE SIGNALS
- 0
- HIGH IMPACT
- 0
- REVIEW SIGNALS
- 0
EVIDENCE AND AVAILABILITY
Provider reference
Action names, input fields, authentication types, and counts on this page are generated from the Working Machines provider catalog. Provider behavior, quotas, object semantics, account eligibility, and regional availability remain governed by Tushare.